hisd3-ui-kit 2.0.4 → 2.0.5

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 (236) hide show
  1. package/dist/_virtual/index.js +1 -1
  2. package/dist/_virtual/index2.js +1 -1
  3. package/dist/_virtual/index3.js +1 -1
  4. package/dist/_virtual/index4.js +1 -1
  5. package/dist/_virtual/index5.js +1 -1
  6. package/dist/_virtual/index6.js +1 -1
  7. package/dist/_virtual/index7.js +1 -1
  8. package/dist/components/Sidebar/index.js +1 -1
  9. package/dist/components/Sidebar/index.js.map +1 -1
  10. package/dist/node_modules/.pnpm/@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIcon.js +1 -1
  11. package/dist/node_modules/.pnpm/@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIcon.js.map +1 -1
  12. package/dist/node_modules/.pnpm/@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/Icon.js +1 -1
  13. package/dist/node_modules/.pnpm/@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/Icon.js.map +1 -1
  14. package/dist/node_modules/.pnpm/@ant-design_icons@6.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIcon.js +1 -1
  15. package/dist/node_modules/.pnpm/@ant-design_icons@6.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/components/AntdIcon.js.map +1 -1
  16. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/ProLayout.js +1 -1
  17. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/ProLayout.js.map +1 -1
  18. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/WrapContent.js +1 -1
  19. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/WrapContent.js.map +1 -1
  20. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/AppsLogoComponents/index.js +1 -1
  21. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/AppsLogoComponents/index.js.map +1 -1
  22. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/CollapsedIcon/index.js +1 -1
  23. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/CollapsedIcon/index.js.map +1 -1
  24. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/GlobalFooter/index.js +1 -1
  25. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/GlobalFooter/index.js.map +1 -1
  26. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/GlobalHeader/ActionsContent.js +1 -1
  27. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/GlobalHeader/ActionsContent.js.map +1 -1
  28. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/GlobalHeader/index.js +1 -1
  29. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/GlobalHeader/index.js.map +1 -1
  30. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/Header/index.js +1 -1
  31. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/Header/index.js.map +1 -1
  32. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/SiderMenu/BaseMenu.js +1 -1
  33. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/SiderMenu/BaseMenu.js.map +1 -1
  34. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/SiderMenu/SiderMenu.js +1 -1
  35. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/SiderMenu/SiderMenu.js.map +1 -1
  36. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/SiderMenu/index.js +1 -1
  37. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/SiderMenu/index.js.map +1 -1
  38. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/TopNavHeader/index.js +1 -1
  39. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/components/TopNavHeader/index.js.map +1 -1
  40. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/getPageTitle.js +1 -1
  41. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/getPageTitle.js.map +1 -1
  42. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/utils/getBreadcrumbProps.js +1 -1
  43. package/dist/node_modules/.pnpm/@ant-design_pro-layout@7.22.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__react-_7zr6vevwebndhdf65pm2ahsqw4/node_modules/@ant-design/pro-layout/es/utils/getBreadcrumbProps.js.map +1 -1
  44. package/dist/node_modules/.pnpm/@ant-design_pro-provider@2.15.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__reac_nxyfqa2nz7epnkoqtlzy75t6nm/node_modules/@ant-design/pro-provider/es/index.js +1 -1
  45. package/dist/node_modules/.pnpm/@ant-design_pro-provider@2.15.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__reac_nxyfqa2nz7epnkoqtlzy75t6nm/node_modules/@ant-design/pro-provider/es/index.js.map +1 -1
  46. package/dist/node_modules/.pnpm/@ant-design_pro-provider@2.15.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__reac_nxyfqa2nz7epnkoqtlzy75t6nm/node_modules/@ant-design/pro-provider/es/useStyle/index.js +1 -1
  47. package/dist/node_modules/.pnpm/@ant-design_pro-provider@2.15.4_antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1__reac_nxyfqa2nz7epnkoqtlzy75t6nm/node_modules/@ant-design/pro-provider/es/useStyle/index.js.map +1 -1
  48. package/dist/node_modules/.pnpm/@rc-component_color-picker@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/color-picker/es/ColorPicker.js +1 -1
  49. package/dist/node_modules/.pnpm/@rc-component_color-picker@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/color-picker/es/ColorPicker.js.map +1 -1
  50. package/dist/node_modules/.pnpm/@rc-component_color-picker@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/color-picker/es/components/ColorBlock.js +1 -1
  51. package/dist/node_modules/.pnpm/@rc-component_color-picker@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/color-picker/es/components/ColorBlock.js.map +1 -1
  52. package/dist/node_modules/.pnpm/@rc-component_color-picker@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/color-picker/es/components/Handler.js +1 -1
  53. package/dist/node_modules/.pnpm/@rc-component_color-picker@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/color-picker/es/components/Handler.js.map +1 -1
  54. package/dist/node_modules/.pnpm/@rc-component_color-picker@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/color-picker/es/components/Slider.js +1 -1
  55. package/dist/node_modules/.pnpm/@rc-component_color-picker@2.0.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/color-picker/es/components/Slider.js.map +1 -1
  56. package/dist/node_modules/.pnpm/@rc-component_trigger@2.2.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/Popup/Arrow.js +1 -1
  57. package/dist/node_modules/.pnpm/@rc-component_trigger@2.2.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/Popup/Arrow.js.map +1 -1
  58. package/dist/node_modules/.pnpm/@rc-component_trigger@2.2.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/Popup/Mask.js +1 -1
  59. package/dist/node_modules/.pnpm/@rc-component_trigger@2.2.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/Popup/Mask.js.map +1 -1
  60. package/dist/node_modules/.pnpm/@rc-component_trigger@2.2.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/Popup/index.js +1 -1
  61. package/dist/node_modules/.pnpm/@rc-component_trigger@2.2.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -1
  62. package/dist/node_modules/.pnpm/@rc-component_trigger@2.2.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/index.js +1 -1
  63. package/dist/node_modules/.pnpm/@rc-component_trigger@2.2.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@rc-component/trigger/es/index.js.map +1 -1
  64. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/statusUtils.js +1 -1
  65. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/statusUtils.js.map +1 -1
  66. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/WaveEffect.js +1 -1
  67. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -1
  68. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/index.js +1 -1
  69. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/_util/wave/index.js.map +1 -1
  70. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/Avatar.js +1 -1
  71. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/Avatar.js.map +1 -1
  72. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/AvatarGroup.js +1 -1
  73. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/avatar/AvatarGroup.js.map +1 -1
  74. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/DefaultLoadingIcon.js +1 -1
  75. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/DefaultLoadingIcon.js.map +1 -1
  76. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/IconWrapper.js +1 -1
  77. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/IconWrapper.js.map +1 -1
  78. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/button-group.js +1 -1
  79. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/button-group.js.map +1 -1
  80. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/button.js +1 -1
  81. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/button/button.js.map +1 -1
  82. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/color-picker/color.js +1 -1
  83. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/color-picker/color.js.map +1 -1
  84. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/color-picker/components/ColorPresets.js +1 -1
  85. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/color-picker/components/ColorPresets.js.map +1 -1
  86. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/drawer/DrawerPanel.js +1 -1
  87. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/drawer/DrawerPanel.js.map +1 -1
  88. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/drawer/index.js +1 -1
  89. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/drawer/index.js.map +1 -1
  90. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/dropdown/dropdown-button.js +1 -1
  91. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/dropdown/dropdown-button.js.map +1 -1
  92. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/dropdown/dropdown.js +1 -1
  93. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/dropdown/dropdown.js.map +1 -1
  94. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/empty/index.js +1 -1
  95. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/empty/index.js.map +1 -1
  96. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/col.js +1 -1
  97. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/col.js.map +1 -1
  98. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/row.js +1 -1
  99. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/row.js.map +1 -1
  100. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/layout/Sider.js +1 -1
  101. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/layout/Sider.js.map +1 -1
  102. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/layout/layout.js +1 -1
  103. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/layout/layout.js.map +1 -1
  104. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/list/Item.js +1 -1
  105. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/list/Item.js.map +1 -1
  106. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/list/index.js +1 -1
  107. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/list/index.js.map +1 -1
  108. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/menu/MenuDivider.js +1 -1
  109. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/menu/MenuDivider.js.map +1 -1
  110. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/menu/MenuItem.js +1 -1
  111. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/menu/MenuItem.js.map +1 -1
  112. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/menu/SubMenu.js +1 -1
  113. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/menu/SubMenu.js.map +1 -1
  114. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/menu/menu.js +1 -1
  115. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/menu/menu.js.map +1 -1
  116. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/modal/ConfirmDialog.js +1 -1
  117. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -1
  118. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/modal/Modal.js +1 -1
  119. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/modal/Modal.js.map +1 -1
  120. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/modal/PurePanel.js +1 -1
  121. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/modal/PurePanel.js.map +1 -1
  122. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/pagination/Pagination.js +1 -1
  123. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/pagination/Pagination.js.map +1 -1
  124. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/PurePanel.js +1 -1
  125. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/PurePanel.js.map +1 -1
  126. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/index.js +1 -1
  127. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/popover/index.js.map +1 -1
  128. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/result/index.js +1 -1
  129. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/result/index.js.map +1 -1
  130. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/select/index.js +1 -1
  131. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/select/index.js.map +1 -1
  132. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Avatar.js +1 -1
  133. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Avatar.js.map +1 -1
  134. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Button.js +1 -1
  135. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Button.js.map +1 -1
  136. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Element.js +1 -1
  137. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Element.js.map +1 -1
  138. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Image.js +1 -1
  139. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Image.js.map +1 -1
  140. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Input.js +1 -1
  141. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Input.js.map +1 -1
  142. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Node.js +1 -1
  143. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Node.js.map +1 -1
  144. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Paragraph.js +1 -1
  145. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Paragraph.js.map +1 -1
  146. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Skeleton.js +1 -1
  147. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Skeleton.js.map +1 -1
  148. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Title.js +1 -1
  149. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/skeleton/Title.js.map +1 -1
  150. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/space/Compact.js +1 -1
  151. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/space/Compact.js.map +1 -1
  152. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/space/index.js +1 -1
  153. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/space/index.js.map +1 -1
  154. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/Indicator/Looper.js +1 -1
  155. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/Indicator/Looper.js.map +1 -1
  156. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/Indicator/Progress.js +1 -1
  157. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/Indicator/Progress.js.map +1 -1
  158. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/Indicator/index.js +1 -1
  159. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/Indicator/index.js.map +1 -1
  160. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/index.js +1 -1
  161. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/spin/index.js.map +1 -1
  162. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/PurePanel.js +1 -1
  163. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/PurePanel.js.map +1 -1
  164. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/index.js +1 -1
  165. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/index.js.map +1 -1
  166. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/util.js +1 -1
  167. package/dist/node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/tooltip/util.js.map +1 -1
  168. package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +1 -1
  169. package/dist/node_modules/.pnpm/path-to-regexp@8.2.0/node_modules/path-to-regexp/dist/index.js +1 -1
  170. package/dist/node_modules/.pnpm/rc-dialog@9.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dialog/es/Dialog/Content/Panel.js +1 -1
  171. package/dist/node_modules/.pnpm/rc-dialog@9.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dialog/es/Dialog/Content/Panel.js.map +1 -1
  172. package/dist/node_modules/.pnpm/rc-dialog@9.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dialog/es/Dialog/Content/index.js +1 -1
  173. package/dist/node_modules/.pnpm/rc-dialog@9.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dialog/es/Dialog/Content/index.js.map +1 -1
  174. package/dist/node_modules/.pnpm/rc-dialog@9.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dialog/es/Dialog/Mask.js +1 -1
  175. package/dist/node_modules/.pnpm/rc-dialog@9.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dialog/es/Dialog/Mask.js.map +1 -1
  176. package/dist/node_modules/.pnpm/rc-dialog@9.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dialog/es/Dialog/index.js +1 -1
  177. package/dist/node_modules/.pnpm/rc-dialog@9.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dialog/es/Dialog/index.js.map +1 -1
  178. package/dist/node_modules/.pnpm/rc-drawer@7.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-drawer/es/DrawerPanel.js +1 -1
  179. package/dist/node_modules/.pnpm/rc-drawer@7.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-drawer/es/DrawerPanel.js.map +1 -1
  180. package/dist/node_modules/.pnpm/rc-drawer@7.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-drawer/es/DrawerPopup.js +1 -1
  181. package/dist/node_modules/.pnpm/rc-drawer@7.2.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-drawer/es/DrawerPopup.js.map +1 -1
  182. package/dist/node_modules/.pnpm/rc-dropdown@4.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dropdown/es/Dropdown.js +1 -1
  183. package/dist/node_modules/.pnpm/rc-dropdown@4.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-dropdown/es/Dropdown.js.map +1 -1
  184. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/Divider.js +1 -1
  185. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/Divider.js.map +1 -1
  186. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/Menu.js +1 -1
  187. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/Menu.js.map +1 -1
  188. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/MenuItem.js +1 -1
  189. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/MenuItem.js.map +1 -1
  190. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/MenuItemGroup.js +1 -1
  191. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/MenuItemGroup.js.map +1 -1
  192. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/SubMenu/PopupTrigger.js +1 -1
  193. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/SubMenu/PopupTrigger.js.map +1 -1
  194. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/SubMenu/SubMenuList.js +1 -1
  195. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/SubMenu/SubMenuList.js.map +1 -1
  196. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/SubMenu/index.js +1 -1
  197. package/dist/node_modules/.pnpm/rc-menu@9.16.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-menu/es/SubMenu/index.js.map +1 -1
  198. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-motion/es/CSSMotion.js +1 -1
  199. package/dist/node_modules/.pnpm/rc-motion@2.9.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-motion/es/CSSMotion.js.map +1 -1
  200. package/dist/node_modules/.pnpm/rc-overflow@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-overflow/es/Item.js +1 -1
  201. package/dist/node_modules/.pnpm/rc-overflow@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-overflow/es/Item.js.map +1 -1
  202. package/dist/node_modules/.pnpm/rc-overflow@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-overflow/es/Overflow.js +1 -1
  203. package/dist/node_modules/.pnpm/rc-overflow@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-overflow/es/Overflow.js.map +1 -1
  204. package/dist/node_modules/.pnpm/rc-overflow@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-overflow/es/RawItem.js +1 -1
  205. package/dist/node_modules/.pnpm/rc-overflow@1.4.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-overflow/es/RawItem.js.map +1 -1
  206. package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/es/Pager.js +1 -1
  207. package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/es/Pager.js.map +1 -1
  208. package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/es/Pagination.js +1 -1
  209. package/dist/node_modules/.pnpm/rc-pagination@5.1.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-pagination/es/Pagination.js.map +1 -1
  210. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/BaseSelect/index.js +1 -1
  211. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/BaseSelect/index.js.map +1 -1
  212. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/OptionList.js +1 -1
  213. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/OptionList.js.map +1 -1
  214. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/SelectTrigger.js +1 -1
  215. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/SelectTrigger.js.map +1 -1
  216. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/Selector/Input.js +1 -1
  217. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/Selector/Input.js.map +1 -1
  218. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/Selector/MultipleSelector.js +1 -1
  219. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/Selector/MultipleSelector.js.map +1 -1
  220. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/TransBtn.js +1 -1
  221. package/dist/node_modules/.pnpm/rc-select@14.16.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-select/es/TransBtn.js.map +1 -1
  222. package/dist/node_modules/.pnpm/rc-tooltip@6.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-tooltip/es/Popup.js +1 -1
  223. package/dist/node_modules/.pnpm/rc-tooltip@6.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-tooltip/es/Popup.js.map +1 -1
  224. package/dist/node_modules/.pnpm/rc-tooltip@6.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-tooltip/es/Tooltip.js +1 -1
  225. package/dist/node_modules/.pnpm/rc-tooltip@6.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-tooltip/es/Tooltip.js.map +1 -1
  226. package/dist/node_modules/.pnpm/rc-tooltip@6.4.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-tooltip/es/index.js +1 -1
  227. package/dist/node_modules/.pnpm/rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/ref.js +1 -1
  228. package/dist/node_modules/.pnpm/rc-virtual-list@3.18.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-virtual-list/es/Filler.js +1 -1
  229. package/dist/node_modules/.pnpm/rc-virtual-list@3.18.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-virtual-list/es/Filler.js.map +1 -1
  230. package/dist/node_modules/.pnpm/rc-virtual-list@3.18.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-virtual-list/es/List.js +1 -1
  231. package/dist/node_modules/.pnpm/rc-virtual-list@3.18.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-virtual-list/es/List.js.map +1 -1
  232. package/dist/node_modules/.pnpm/rc-virtual-list@3.18.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-virtual-list/es/ScrollBar.js +1 -1
  233. package/dist/node_modules/.pnpm/rc-virtual-list@3.18.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-virtual-list/es/ScrollBar.js.map +1 -1
  234. package/dist/node_modules/.pnpm/swr@2.3.3_react@18.3.1/node_modules/swr/dist/index/index.js +1 -1
  235. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@18.3.1/node_modules/use-sync-external-store/shim/index.js +1 -1
  236. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/dropdown/dropdown.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcDropdown from 'rc-dropdown';\nimport useEvent from \"rc-util/es/hooks/useEvent\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport omit from \"rc-util/es/omit\";\nimport { useZIndex } from '../_util/hooks/useZIndex';\nimport isPrimitive from '../_util/isPrimitive';\nimport getPlacements from '../_util/placements';\nimport genPurePanel from '../_util/PurePanel';\nimport { cloneElement } from '../_util/reactNode';\nimport { devUseWarning } from '../_util/warning';\nimport zIndexContext from '../_util/zindexContext';\nimport { ConfigContext } from '../config-provider';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport Menu from '../menu';\nimport { OverrideProvider } from '../menu/OverrideContext';\nimport { useToken } from '../theme/internal';\nimport useStyle from './style';\nconst _Placements = ['topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight', 'top', 'bottom'];\nconst Dropdown = props => {\n var _a;\n const {\n menu,\n arrow,\n prefixCls: customizePrefixCls,\n children,\n trigger,\n disabled,\n dropdownRender,\n getPopupContainer,\n overlayClassName,\n rootClassName,\n overlayStyle,\n open,\n onOpenChange,\n // Deprecated\n visible,\n onVisibleChange,\n mouseEnterDelay = 0.15,\n mouseLeaveDelay = 0.1,\n autoAdjustOverflow = true,\n placement = '',\n overlay,\n transitionName\n } = props;\n const {\n getPopupContainer: getContextPopupContainer,\n getPrefixCls,\n direction,\n dropdown\n } = React.useContext(ConfigContext);\n // Warning for deprecated usage\n const warning = devUseWarning('Dropdown');\n if (process.env.NODE_ENV !== 'production') {\n [['visible', 'open'], ['onVisibleChange', 'onOpenChange']].forEach(_ref => {\n let [deprecatedName, newName] = _ref;\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n warning.deprecated(!('overlay' in props), 'overlay', 'menu');\n }\n const memoTransitionName = React.useMemo(() => {\n const rootPrefixCls = getPrefixCls();\n if (transitionName !== undefined) {\n return transitionName;\n }\n if (placement.includes('top')) {\n return `${rootPrefixCls}-slide-down`;\n }\n return `${rootPrefixCls}-slide-up`;\n }, [getPrefixCls, placement, transitionName]);\n const memoPlacement = React.useMemo(() => {\n if (!placement) {\n return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n }\n if (placement.includes('Center')) {\n return placement.slice(0, placement.indexOf('Center'));\n }\n return placement;\n }, [placement, direction]);\n if (process.env.NODE_ENV !== 'production') {\n if (placement.includes('Center')) {\n const newPlacement = placement.slice(0, placement.indexOf('Center'));\n process.env.NODE_ENV !== \"production\" ? warning(!placement.includes('Center'), 'deprecated', `You are using '${placement}' placement in Dropdown, which is deprecated. Try to use '${newPlacement}' instead.`) : void 0;\n }\n [['visible', 'open'], ['onVisibleChange', 'onOpenChange']].forEach(_ref2 => {\n let [deprecatedName, newName] = _ref2;\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n }\n const prefixCls = getPrefixCls('dropdown', customizePrefixCls);\n const rootCls = useCSSVarCls(prefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const [, token] = useToken();\n const child = React.Children.only(isPrimitive(children) ? /*#__PURE__*/React.createElement(\"span\", null, children) : children);\n const dropdownTrigger = cloneElement(child, {\n className: classNames(`${prefixCls}-trigger`, {\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, child.props.className),\n disabled: (_a = child.props.disabled) !== null && _a !== void 0 ? _a : disabled\n });\n const triggerActions = disabled ? [] : trigger;\n const alignPoint = !!(triggerActions === null || triggerActions === void 0 ? void 0 : triggerActions.includes('contextMenu'));\n // =========================== Open ============================\n const [mergedOpen, setOpen] = useMergedState(false, {\n value: open !== null && open !== void 0 ? open : visible\n });\n const onInnerOpenChange = useEvent(nextOpen => {\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(nextOpen, {\n source: 'trigger'\n });\n onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(nextOpen);\n setOpen(nextOpen);\n });\n // =========================== Overlay ============================\n const overlayClassNameCustomized = classNames(overlayClassName, rootClassName, hashId, cssVarCls, rootCls, dropdown === null || dropdown === void 0 ? void 0 : dropdown.className, {\n [`${prefixCls}-rtl`]: direction === 'rtl'\n });\n const builtinPlacements = getPlacements({\n arrowPointAtCenter: typeof arrow === 'object' && arrow.pointAtCenter,\n autoAdjustOverflow,\n offset: token.marginXXS,\n arrowWidth: arrow ? token.sizePopupArrow : 0,\n borderRadius: token.borderRadius\n });\n const onMenuClick = React.useCallback(() => {\n if ((menu === null || menu === void 0 ? void 0 : menu.selectable) && (menu === null || menu === void 0 ? void 0 : menu.multiple)) {\n return;\n }\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(false, {\n source: 'menu'\n });\n setOpen(false);\n }, [menu === null || menu === void 0 ? void 0 : menu.selectable, menu === null || menu === void 0 ? void 0 : menu.multiple]);\n const renderOverlay = () => {\n // rc-dropdown already can process the function of overlay, but we have check logic here.\n // So we need render the element to check and pass back to rc-dropdown.\n let overlayNode;\n if (menu === null || menu === void 0 ? void 0 : menu.items) {\n overlayNode = /*#__PURE__*/React.createElement(Menu, Object.assign({}, menu));\n } else if (typeof overlay === 'function') {\n overlayNode = overlay();\n } else {\n overlayNode = overlay;\n }\n if (dropdownRender) {\n overlayNode = dropdownRender(overlayNode);\n }\n overlayNode = React.Children.only(typeof overlayNode === 'string' ? /*#__PURE__*/React.createElement(\"span\", null, overlayNode) : overlayNode);\n return /*#__PURE__*/React.createElement(OverrideProvider, {\n prefixCls: `${prefixCls}-menu`,\n rootClassName: classNames(cssVarCls, rootCls),\n expandIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-menu-submenu-arrow`\n }, direction === 'rtl' ? (/*#__PURE__*/React.createElement(LeftOutlined, {\n className: `${prefixCls}-menu-submenu-arrow-icon`\n })) : (/*#__PURE__*/React.createElement(RightOutlined, {\n className: `${prefixCls}-menu-submenu-arrow-icon`\n }))),\n mode: \"vertical\",\n selectable: false,\n onClick: onMenuClick,\n validator: _ref3 => {\n let {\n mode\n } = _ref3;\n // Warning if use other mode\n process.env.NODE_ENV !== \"production\" ? warning(!mode || mode === 'vertical', 'usage', `mode=\"${mode}\" is not supported for Dropdown's Menu.`) : void 0;\n }\n }, overlayNode);\n };\n // =========================== zIndex ============================\n const [zIndex, contextZIndex] = useZIndex('Dropdown', overlayStyle === null || overlayStyle === void 0 ? void 0 : overlayStyle.zIndex);\n // ============================ Render ============================\n let renderNode = /*#__PURE__*/React.createElement(RcDropdown, Object.assign({\n alignPoint: alignPoint\n }, omit(props, ['rootClassName']), {\n mouseEnterDelay: mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay,\n visible: mergedOpen,\n builtinPlacements: builtinPlacements,\n arrow: !!arrow,\n overlayClassName: overlayClassNameCustomized,\n prefixCls: prefixCls,\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n transitionName: memoTransitionName,\n trigger: triggerActions,\n overlay: renderOverlay,\n placement: memoPlacement,\n onVisibleChange: onInnerOpenChange,\n overlayStyle: Object.assign(Object.assign(Object.assign({}, dropdown === null || dropdown === void 0 ? void 0 : dropdown.style), overlayStyle), {\n zIndex\n })\n }), dropdownTrigger);\n if (zIndex) {\n renderNode = /*#__PURE__*/React.createElement(zIndexContext.Provider, {\n value: contextZIndex\n }, renderNode);\n }\n return wrapCSSVar(renderNode);\n};\n// We don't care debug panel\nconst PurePanel = genPurePanel(Dropdown, 'align', undefined, 'dropdown', prefixCls => prefixCls);\n/* istanbul ignore next */\nconst WrapPurePanel = props => (/*#__PURE__*/React.createElement(PurePanel, Object.assign({}, props), /*#__PURE__*/React.createElement(\"span\", null)));\nDropdown._InternalPanelDoNotUseOrYouWillBeFired = WrapPurePanel;\nif (process.env.NODE_ENV !== 'production') {\n Dropdown.displayName = 'Dropdown';\n}\nexport default Dropdown;"],"names":["Dropdown","props","_a","menu","arrow","prefixCls","customizePrefixCls","children","trigger","disabled","dropdownRender","getPopupContainer","overlayClassName","rootClassName","overlayStyle","open","onOpenChange","visible","onVisibleChange","mouseEnterDelay","mouseLeaveDelay","autoAdjustOverflow","placement","overlay","transitionName","getContextPopupContainer","getPrefixCls","direction","dropdown","React","useContext","ConfigContext","warning","devUseWarning","process","env","NODE_ENV","forEach","_ref","deprecatedName","newName","deprecated","memoTransitionName","useMemo","rootPrefixCls","undefined","includes","memoPlacement","slice","indexOf","newPlacement","_ref2","rootCls","useCSSVarCls","wrapCSSVar","hashId","cssVarCls","useStyle","token","useToken","child","Children","only","isPrimitive","createElement","dropdownTrigger","cloneElement","className","classNames","triggerActions","alignPoint","mergedOpen","setOpen","useMergedState","value","onInnerOpenChange","useEvent","nextOpen","source","overlayClassNameCustomized","builtinPlacements","getPlacements","arrowPointAtCenter","pointAtCenter","offset","marginXXS","arrowWidth","sizePopupArrow","borderRadius","onMenuClick","useCallback","selectable","multiple","zIndex","contextZIndex","useZIndex","renderNode","RcDropdown","Object","assign","omit","overlayNode","items","Menu","OverrideProvider","expandIcon","LeftOutlined","RightOutlined","mode","onClick","validator","_ref3","style","zIndexContext","Provider","PurePanel","genPurePanel","_InternalPanelDoNotUseOrYouWillBeFired","displayName"],"mappings":"q6GAwBK,MAACA,EAAWC,IACf,IAAIC,EACJ,MAAMC,KACJA,EAAIC,MACJA,EACAC,UAAWC,EAAkBC,SAC7BA,EAAQC,QACRA,EAAOC,SACPA,EAAQC,eACRA,EAAcC,kBACdA,EAAiBC,iBACjBA,EAAgBC,cAChBA,EAAaC,aACbA,EAAYC,KACZA,EAAIC,aACJA,EAAYC,QAEZA,EAAOC,gBACPA,EAAeC,gBACfA,EAAkB,IAAIC,gBACtBA,EAAkB,GAAGC,mBACrBA,GAAqB,EAAIC,UACzBA,EAAY,GAAEC,QACdA,EAAOC,eACPA,GACEvB,GAEFU,kBAAmBc,EAAwBC,aAC3CA,EAAYC,UACZA,EAASC,SACTA,GACEC,EAAMC,WAAWC,GAEfC,EAAUC,EAAc,YACD,eAAzBC,QAAQC,IAAIC,WACd,CAAC,CAAC,UAAW,QAAS,CAAC,kBAAmB,iBAAiBC,SAAQC,IACjE,IAAKC,EAAgBC,GAAWF,EAChCN,EAAQS,aAAaF,KAAkBtC,GAAQsC,EAAgBC,EAAQ,IAEzER,EAAQS,aAAa,YAAaxC,GAAQ,UAAW,SAEvD,MAAMyC,EAAqBb,EAAMc,SAAQ,KACvC,MAAMC,EAAgBlB,IACtB,YAAuBmB,IAAnBrB,EACKA,EAELF,EAAUwB,SAAS,OACd,GAAGF,eAEL,GAAGA,YAAwB,GACjC,CA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GA,SACdQ,cAAeuD,EAAWZ,GAAWJ,GACrCqD,WAAyB5E,EAAMmC,cAAc,OAAQ,CACnDG,UAAW,GAAG9D,wBACC,QAAdsB,EAAoCE,EAAMmC,cAAc0C,EAAc,CACvEvC,UAAW,GAAG9D,8BACIwB,EAAMmC,cAAc2C,EAAe,CACrDxC,UAAW,GAAG9D,+BAEhBuG,KAAM,WACNjB,YAAY,EACZkB,QAASpB,GACTqB,UAAWC,IACT,IAAIH,KACFA,GACEG,EAEqB,eAAzB7E,QAAQC,IAAIC,UAA4BJ,GAAS4E,GAAiB,aAATA,EAAqB,QAAS,SAASA,2CAAuD,GAExJP,EAAY,EAmBf/E,UAAWyB,EACX7B,gBAAiByD,GACjB7D,aAAcoF,OAAOC,OAAOD,OAAOC,OAAOD,OAAOC,OAAO,CAAE,EAAEvE,aAA2C,EAASA,EAASoF,OAAQlG,GAAe,CAC9I+E,cAEA5B,IAMJ,OALI4B,KACFG,GAA0BnE,EAAMmC,cAAciD,EAAcC,SAAU,CACpExC,MAAOoB,IACNE,KAEE1C,EAAW0C,GAAW,EAGzBmB,EAAYC,EAAapH,EAAU,aAAS6C,EAAW,YAAYxC,GAAaA,IAGtFL,EAASqH,uCADapH,GAAuB4B,EAAMmC,cAAcmD,EAAWjB,OAAOC,OAAO,CAAE,EAAElG,GAAqB4B,EAAMmC,cAAc,OAAQ,OAElH,eAAzB9B,QAAQC,IAAIC,WACdpC,EAASsH,YAAc","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"dropdown.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/dropdown/dropdown.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport RcDropdown from 'rc-dropdown';\nimport useEvent from \"rc-util/es/hooks/useEvent\";\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport omit from \"rc-util/es/omit\";\nimport { useZIndex } from '../_util/hooks/useZIndex';\nimport isPrimitive from '../_util/isPrimitive';\nimport getPlacements from '../_util/placements';\nimport genPurePanel from '../_util/PurePanel';\nimport { cloneElement } from '../_util/reactNode';\nimport { devUseWarning } from '../_util/warning';\nimport zIndexContext from '../_util/zindexContext';\nimport { ConfigContext } from '../config-provider';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport Menu from '../menu';\nimport { OverrideProvider } from '../menu/OverrideContext';\nimport { useToken } from '../theme/internal';\nimport useStyle from './style';\nconst _Placements = ['topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight', 'top', 'bottom'];\nconst Dropdown = props => {\n var _a;\n const {\n menu,\n arrow,\n prefixCls: customizePrefixCls,\n children,\n trigger,\n disabled,\n dropdownRender,\n getPopupContainer,\n overlayClassName,\n rootClassName,\n overlayStyle,\n open,\n onOpenChange,\n // Deprecated\n visible,\n onVisibleChange,\n mouseEnterDelay = 0.15,\n mouseLeaveDelay = 0.1,\n autoAdjustOverflow = true,\n placement = '',\n overlay,\n transitionName\n } = props;\n const {\n getPopupContainer: getContextPopupContainer,\n getPrefixCls,\n direction,\n dropdown\n } = React.useContext(ConfigContext);\n // Warning for deprecated usage\n const warning = devUseWarning('Dropdown');\n if (process.env.NODE_ENV !== 'production') {\n [['visible', 'open'], ['onVisibleChange', 'onOpenChange']].forEach(_ref => {\n let [deprecatedName, newName] = _ref;\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n warning.deprecated(!('overlay' in props), 'overlay', 'menu');\n }\n const memoTransitionName = React.useMemo(() => {\n const rootPrefixCls = getPrefixCls();\n if (transitionName !== undefined) {\n return transitionName;\n }\n if (placement.includes('top')) {\n return `${rootPrefixCls}-slide-down`;\n }\n return `${rootPrefixCls}-slide-up`;\n }, [getPrefixCls, placement, transitionName]);\n const memoPlacement = React.useMemo(() => {\n if (!placement) {\n return direction === 'rtl' ? 'bottomRight' : 'bottomLeft';\n }\n if (placement.includes('Center')) {\n return placement.slice(0, placement.indexOf('Center'));\n }\n return placement;\n }, [placement, direction]);\n if (process.env.NODE_ENV !== 'production') {\n if (placement.includes('Center')) {\n const newPlacement = placement.slice(0, placement.indexOf('Center'));\n process.env.NODE_ENV !== \"production\" ? warning(!placement.includes('Center'), 'deprecated', `You are using '${placement}' placement in Dropdown, which is deprecated. Try to use '${newPlacement}' instead.`) : void 0;\n }\n [['visible', 'open'], ['onVisibleChange', 'onOpenChange']].forEach(_ref2 => {\n let [deprecatedName, newName] = _ref2;\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n }\n const prefixCls = getPrefixCls('dropdown', customizePrefixCls);\n const rootCls = useCSSVarCls(prefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const [, token] = useToken();\n const child = React.Children.only(isPrimitive(children) ? /*#__PURE__*/React.createElement(\"span\", null, children) : children);\n const dropdownTrigger = cloneElement(child, {\n className: classNames(`${prefixCls}-trigger`, {\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, child.props.className),\n disabled: (_a = child.props.disabled) !== null && _a !== void 0 ? _a : disabled\n });\n const triggerActions = disabled ? [] : trigger;\n const alignPoint = !!(triggerActions === null || triggerActions === void 0 ? void 0 : triggerActions.includes('contextMenu'));\n // =========================== Open ============================\n const [mergedOpen, setOpen] = useMergedState(false, {\n value: open !== null && open !== void 0 ? open : visible\n });\n const onInnerOpenChange = useEvent(nextOpen => {\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(nextOpen, {\n source: 'trigger'\n });\n onVisibleChange === null || onVisibleChange === void 0 ? void 0 : onVisibleChange(nextOpen);\n setOpen(nextOpen);\n });\n // =========================== Overlay ============================\n const overlayClassNameCustomized = classNames(overlayClassName, rootClassName, hashId, cssVarCls, rootCls, dropdown === null || dropdown === void 0 ? void 0 : dropdown.className, {\n [`${prefixCls}-rtl`]: direction === 'rtl'\n });\n const builtinPlacements = getPlacements({\n arrowPointAtCenter: typeof arrow === 'object' && arrow.pointAtCenter,\n autoAdjustOverflow,\n offset: token.marginXXS,\n arrowWidth: arrow ? token.sizePopupArrow : 0,\n borderRadius: token.borderRadius\n });\n const onMenuClick = React.useCallback(() => {\n if ((menu === null || menu === void 0 ? void 0 : menu.selectable) && (menu === null || menu === void 0 ? void 0 : menu.multiple)) {\n return;\n }\n onOpenChange === null || onOpenChange === void 0 ? void 0 : onOpenChange(false, {\n source: 'menu'\n });\n setOpen(false);\n }, [menu === null || menu === void 0 ? void 0 : menu.selectable, menu === null || menu === void 0 ? void 0 : menu.multiple]);\n const renderOverlay = () => {\n // rc-dropdown already can process the function of overlay, but we have check logic here.\n // So we need render the element to check and pass back to rc-dropdown.\n let overlayNode;\n if (menu === null || menu === void 0 ? void 0 : menu.items) {\n overlayNode = /*#__PURE__*/React.createElement(Menu, Object.assign({}, menu));\n } else if (typeof overlay === 'function') {\n overlayNode = overlay();\n } else {\n overlayNode = overlay;\n }\n if (dropdownRender) {\n overlayNode = dropdownRender(overlayNode);\n }\n overlayNode = React.Children.only(typeof overlayNode === 'string' ? /*#__PURE__*/React.createElement(\"span\", null, overlayNode) : overlayNode);\n return /*#__PURE__*/React.createElement(OverrideProvider, {\n prefixCls: `${prefixCls}-menu`,\n rootClassName: classNames(cssVarCls, rootCls),\n expandIcon: /*#__PURE__*/React.createElement(\"span\", {\n className: `${prefixCls}-menu-submenu-arrow`\n }, direction === 'rtl' ? (/*#__PURE__*/React.createElement(LeftOutlined, {\n className: `${prefixCls}-menu-submenu-arrow-icon`\n })) : (/*#__PURE__*/React.createElement(RightOutlined, {\n className: `${prefixCls}-menu-submenu-arrow-icon`\n }))),\n mode: \"vertical\",\n selectable: false,\n onClick: onMenuClick,\n validator: _ref3 => {\n let {\n mode\n } = _ref3;\n // Warning if use other mode\n process.env.NODE_ENV !== \"production\" ? warning(!mode || mode === 'vertical', 'usage', `mode=\"${mode}\" is not supported for Dropdown's Menu.`) : void 0;\n }\n }, overlayNode);\n };\n // =========================== zIndex ============================\n const [zIndex, contextZIndex] = useZIndex('Dropdown', overlayStyle === null || overlayStyle === void 0 ? void 0 : overlayStyle.zIndex);\n // ============================ Render ============================\n let renderNode = /*#__PURE__*/React.createElement(RcDropdown, Object.assign({\n alignPoint: alignPoint\n }, omit(props, ['rootClassName']), {\n mouseEnterDelay: mouseEnterDelay,\n mouseLeaveDelay: mouseLeaveDelay,\n visible: mergedOpen,\n builtinPlacements: builtinPlacements,\n arrow: !!arrow,\n overlayClassName: overlayClassNameCustomized,\n prefixCls: prefixCls,\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n transitionName: memoTransitionName,\n trigger: triggerActions,\n overlay: renderOverlay,\n placement: memoPlacement,\n onVisibleChange: onInnerOpenChange,\n overlayStyle: Object.assign(Object.assign(Object.assign({}, dropdown === null || dropdown === void 0 ? void 0 : dropdown.style), overlayStyle), {\n zIndex\n })\n }), dropdownTrigger);\n if (zIndex) {\n renderNode = /*#__PURE__*/React.createElement(zIndexContext.Provider, {\n value: contextZIndex\n }, renderNode);\n }\n return wrapCSSVar(renderNode);\n};\n// We don't care debug panel\nconst PurePanel = genPurePanel(Dropdown, 'align', undefined, 'dropdown', prefixCls => prefixCls);\n/* istanbul ignore next */\nconst WrapPurePanel = props => (/*#__PURE__*/React.createElement(PurePanel, Object.assign({}, props), /*#__PURE__*/React.createElement(\"span\", null)));\nDropdown._InternalPanelDoNotUseOrYouWillBeFired = WrapPurePanel;\nif (process.env.NODE_ENV !== 'production') {\n Dropdown.displayName = 'Dropdown';\n}\nexport default Dropdown;"],"names":["Dropdown","props","_a","menu","arrow","prefixCls","customizePrefixCls","children","trigger","disabled","dropdownRender","getPopupContainer","overlayClassName","rootClassName","overlayStyle","open","onOpenChange","visible","onVisibleChange","mouseEnterDelay","mouseLeaveDelay","autoAdjustOverflow","placement","overlay","transitionName","getContextPopupContainer","getPrefixCls","direction","dropdown","React","useContext","ConfigContext","warning","devUseWarning","process","env","NODE_ENV","forEach","_ref","deprecatedName","newName","deprecated","memoTransitionName","useMemo","rootPrefixCls","undefined","includes","memoPlacement","slice","indexOf","newPlacement","_ref2","rootCls","useCSSVarCls","wrapCSSVar","hashId","cssVarCls","useStyle","token","useToken","child","Children","only","isPrimitive","createElement","dropdownTrigger","cloneElement","className","classNames","triggerActions","alignPoint","mergedOpen","setOpen","useMergedState","value","onInnerOpenChange","useEvent","nextOpen","source","overlayClassNameCustomized","builtinPlacements","getPlacements","arrowPointAtCenter","pointAtCenter","offset","marginXXS","arrowWidth","sizePopupArrow","borderRadius","onMenuClick","useCallback","selectable","multiple","zIndex","contextZIndex","useZIndex","renderNode","RcDropdown","Object","assign","omit","overlayNode","items","Menu","OverrideProvider","expandIcon","LeftOutlined","RightOutlined","mode","onClick","validator","_ref3","style","zIndexContext","Provider","PurePanel","genPurePanel","_InternalPanelDoNotUseOrYouWillBeFired","displayName"],"mappings":"s6GAwBK,MAACA,EAAWC,IACf,IAAIC,EACJ,MAAMC,KACJA,EAAIC,MACJA,EACAC,UAAWC,EAAkBC,SAC7BA,EAAQC,QACRA,EAAOC,SACPA,EAAQC,eACRA,EAAcC,kBACdA,EAAiBC,iBACjBA,EAAgBC,cAChBA,EAAaC,aACbA,EAAYC,KACZA,EAAIC,aACJA,EAAYC,QAEZA,EAAOC,gBACPA,EAAeC,gBACfA,EAAkB,IAAIC,gBACtBA,EAAkB,GAAGC,mBACrBA,GAAqB,EAAIC,UACzBA,EAAY,GAAEC,QACdA,EAAOC,eACPA,GACEvB,GAEFU,kBAAmBc,EAAwBC,aAC3CA,EAAYC,UACZA,EAASC,SACTA,GACEC,EAAMC,WAAWC,GAEfC,EAAUC,EAAc,YACD,eAAzBC,QAAQC,IAAIC,WACd,CAAC,CAAC,UAAW,QAAS,CAAC,kBAAmB,iBAAiBC,SAAQC,IACjE,IAAKC,EAAgBC,GAAWF,EAChCN,EAAQS,aAAaF,KAAk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,CAAA,EAAIhG,IAC3C,mBAAZoB,EACFA,IAEAA,EAEZb,IACF2F,EAAc3F,EAAe2F,IAE/BA,EAAcxE,EAAMgC,SAASC,KAA4B,iBAAhBuC,EAAwCxE,EAAMmC,cAAc,OAAQ,KAAMqC,GAAeA,GAC9GxE,EAAMmC,cAAcwC,EAAkB,CACxDnG,UAAW,GAAGA,SACdQ,cAAeuD,EAAWZ,GAAWJ,GACrCqD,WAAyB5E,EAAMmC,cAAc,OAAQ,CACnDG,UAAW,GAAG9D,wBACC,QAAdsB,EAAoCE,EAAMmC,cAAc0C,EAAc,CACvEvC,UAAW,GAAG9D,8BACIwB,EAAMmC,cAAc2C,EAAe,CACrDxC,UAAW,GAAG9D,+BAEhBuG,KAAM,WACNjB,YAAY,EACZkB,QAASpB,GACTqB,UAAWC,IACT,IAAIH,KACFA,GACEG,EAEqB,eAAzB7E,QAAQC,IAAIC,UAA4BJ,GAAS4E,GAAiB,aAATA,EAAqB,QAAS,SAASA,2CAAuD,GAExJP,EAAY,EAmBf/E,UAAWyB,EACX7B,gBAAiByD,GACjB7D,aAAcoF,OAAOC,OAAOD,OAAOC,OAAOD,OAAOC,OAAO,CAAE,EAAEvE,aAA2C,EAASA,EAASoF,OAAQlG,GAAe,CAC9I+E,cAEA5B,IAMJ,OALI4B,KACFG,GAA0BnE,EAAMmC,cAAciD,EAAcC,SAAU,CACpExC,MAAOoB,IACNE,KAEE1C,EAAW0C,GAAW,EAGzBmB,EAAYC,EAAapH,EAAU,aAAS6C,EAAW,YAAYxC,GAAaA,IAGtFL,EAASqH,uCADapH,GAAuB4B,EAAMmC,cAAcmD,EAAWjB,OAAOC,OAAO,CAAE,EAAElG,GAAqB4B,EAAMmC,cAAc,OAAQ,OAElH,eAAzB9B,QAAQC,IAAIC,WACdpC,EAASsH,YAAc","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import t from"../../../../../../../_virtual/index.js";import{devUseWarning as s}from"../_util/warning.js";import o from"./empty.js";import i from"./simple.js";import l from"./style/index.js";import{useComponentConfig as r}from"../config-provider/context.js";import a from"../locale/useLocale.js";var n=function(e,t){var s={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(s[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(s[o[i]]=e[o[i]])}return s};const c=e.createElement(o,null),m=e.createElement(i,null),p=o=>{const{className:i,rootClassName:p,prefixCls:d,image:y=c,description:g,children:f,imageStyle:E,style:u,classNames:j,styles:O}=o,v=n(o,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:b,direction:N,className:x,style:S,classNames:_,styles:P}=r("empty"),h=b("empty",d),[C,D,$]=l(h),[w]=a("Empty"),I=void 0!==g?g:null==w?void 0:w.description,A="string"==typeof I?I:"empty";let L=null;if(L="string"==typeof y?e.createElement("img",{alt:A,src:y}):y,"production"!==process.env.NODE_ENV){const e=s("Empty");[["imageStyle","styles: { image: {} }"]].forEach((t=>{let[s,i]=t;e.deprecated(!(s in o),s,i)}))}return C(e.createElement("div",Object.assign({className:t(D,$,h,x,{[`${h}-normal`]:y===m,[`${h}-rtl`]:"rtl"===N},i,p,_.root,null==j?void 0:j.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},P.root),S),null==O?void 0:O.root),u)},v),e.createElement("div",{className:t(`${h}-image`,_.image,null==j?void 0:j.image),style:Object.assign(Object.assign(Object.assign({},E),P.image),null==O?void 0:O.image)},L),I&&e.createElement("div",{className:t(`${h}-description`,_.description,null==j?void 0:j.description),style:Object.assign(Object.assign({},P.description),null==O?void 0:O.description)},I),f&&e.createElement("div",{className:t(`${h}-footer`,_.footer,null==j?void 0:j.footer),style:Object.assign(Object.assign({},P.footer),null==O?void 0:O.footer)},f)))};p.PRESENTED_IMAGE_DEFAULT=c,p.PRESENTED_IMAGE_SIMPLE=m,"production"!==process.env.NODE_ENV&&(p.displayName="Empty");export{p as default};
1
+ import*as e from"react";import t from"../../../../../../../_virtual/index2.js";import{devUseWarning as s}from"../_util/warning.js";import o from"./empty.js";import i from"./simple.js";import l from"./style/index.js";import{useComponentConfig as r}from"../config-provider/context.js";import a from"../locale/useLocale.js";var n=function(e,t){var s={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(s[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(s[o[i]]=e[o[i]])}return s};const c=e.createElement(o,null),m=e.createElement(i,null),p=o=>{const{className:i,rootClassName:p,prefixCls:d,image:y=c,description:g,children:f,imageStyle:E,style:u,classNames:j,styles:O}=o,v=n(o,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:b,direction:N,className:x,style:S,classNames:_,styles:P}=r("empty"),h=b("empty",d),[C,D,$]=l(h),[w]=a("Empty"),I=void 0!==g?g:null==w?void 0:w.description,A="string"==typeof I?I:"empty";let L=null;if(L="string"==typeof y?e.createElement("img",{alt:A,src:y}):y,"production"!==process.env.NODE_ENV){const e=s("Empty");[["imageStyle","styles: { image: {} }"]].forEach((t=>{let[s,i]=t;e.deprecated(!(s in o),s,i)}))}return C(e.createElement("div",Object.assign({className:t(D,$,h,x,{[`${h}-normal`]:y===m,[`${h}-rtl`]:"rtl"===N},i,p,_.root,null==j?void 0:j.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},P.root),S),null==O?void 0:O.root),u)},v),e.createElement("div",{className:t(`${h}-image`,_.image,null==j?void 0:j.image),style:Object.assign(Object.assign(Object.assign({},E),P.image),null==O?void 0:O.image)},L),I&&e.createElement("div",{className:t(`${h}-description`,_.description,null==j?void 0:j.description),style:Object.assign(Object.assign({},P.description),null==O?void 0:O.description)},I),f&&e.createElement("div",{className:t(`${h}-footer`,_.footer,null==j?void 0:j.footer),style:Object.assign(Object.assign({},P.footer),null==O?void 0:O.footer)},f)))};p.PRESENTED_IMAGE_DEFAULT=c,p.PRESENTED_IMAGE_SIMPLE=m,"production"!==process.env.NODE_ENV&&(p.displayName="Empty");export{p as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/empty/index.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { devUseWarning } from '../_util/warning';\nimport { useLocale } from '../locale';\nimport DefaultEmptyImg from './empty';\nimport SimpleEmptyImg from './simple';\nimport useStyle from './style';\nimport { useComponentConfig } from '../config-provider/context';\nconst defaultEmptyImg = /*#__PURE__*/React.createElement(DefaultEmptyImg, null);\nconst simpleEmptyImg = /*#__PURE__*/React.createElement(SimpleEmptyImg, null);\nconst Empty = props => {\n const {\n className,\n rootClassName,\n prefixCls: customizePrefixCls,\n image = defaultEmptyImg,\n description,\n children,\n imageStyle,\n style,\n classNames: emptyClassNames,\n styles\n } = props,\n restProps = __rest(props, [\"className\", \"rootClassName\", \"prefixCls\", \"image\", \"description\", \"children\", \"imageStyle\", \"style\", \"classNames\", \"styles\"]);\n const {\n getPrefixCls,\n direction,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles\n } = useComponentConfig('empty');\n const prefixCls = getPrefixCls('empty', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const [locale] = useLocale('Empty');\n const des = typeof description !== 'undefined' ? description : locale === null || locale === void 0 ? void 0 : locale.description;\n const alt = typeof des === 'string' ? des : 'empty';\n let imageNode = null;\n if (typeof image === 'string') {\n imageNode = /*#__PURE__*/React.createElement(\"img\", {\n alt: alt,\n src: image\n });\n } else {\n imageNode = image;\n }\n // ============================= Warning ==============================\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Empty');\n [['imageStyle', 'styles: { image: {} }']].forEach(_ref => {\n let [deprecatedName, newName] = _ref;\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n }\n return wrapCSSVar(/*#__PURE__*/React.createElement(\"div\", Object.assign({\n className: classNames(hashId, cssVarCls, prefixCls, contextClassName, {\n [`${prefixCls}-normal`]: image === simpleEmptyImg,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, rootClassName, contextClassNames.root, emptyClassNames === null || emptyClassNames === void 0 ? void 0 : emptyClassNames.root),\n style: Object.assign(Object.assign(Object.assign(Object.assign({}, contextStyles.root), contextStyle), styles === null || styles === void 0 ? void 0 : styles.root), style)\n }, restProps), /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-image`, contextClassNames.image, emptyClassNames === null || emptyClassNames === void 0 ? void 0 : emptyClassNames.image),\n style: Object.assign(Object.assign(Object.assign({}, imageStyle), contextStyles.image), styles === null || styles === void 0 ? void 0 : styles.image)\n }, imageNode), des && (/*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-description`, contextClassNames.description, emptyClassNames === null || emptyClassNames === void 0 ? void 0 : emptyClassNames.description),\n style: Object.assign(Object.assign({}, contextStyles.description), styles === null || styles === void 0 ? void 0 : styles.description)\n }, des)), children && (/*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-footer`, contextClassNames.footer, emptyClassNames === null || emptyClassNames === void 0 ? void 0 : emptyClassNames.footer),\n style: Object.assign(Object.assign({}, contextStyles.footer), styles === null || styles === void 0 ? void 0 : styles.footer)\n }, children))));\n};\nEmpty.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;\nEmpty.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;\nif (process.env.NODE_ENV !== 'production') {\n Empty.displayName = 'Empty';\n}\nexport default Empty;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","defaultEmptyImg","React","createElement","DefaultEmptyImg","simpleEmptyImg","SimpleEmptyImg","Empty","props","className","rootClassName","prefixCls","customizePrefixCls","image","description","children","imageStyle","style","classNames","emptyClassNames","styles","restProps","getPrefixCls","direction","contextClassName","contextStyle","contextClassNames","contextStyles","useComponentConfig","wrapCSSVar","hashId","cssVarCls","useStyle","locale","useLocale","des","alt","imageNode","src","process","env","NODE_ENV","warning","devUseWarning","forEach","_ref","deprecatedName","newName","deprecated","assign","root","footer","PRESENTED_IMAGE_DEFAULT","PRESENTED_IMAGE_SIMPLE","displayName"],"mappings":"gUAEA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EASA,MAAMW,EAA+BC,EAAMC,cAAcC,EAAiB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cuB,MAAOzB,GAAeL,aAAuC,EAASA,EAAO8B,MAAOjC,IACpKI,GAAyBnB,EAAMC,cAAc,MAAO,CACrDM,UAAWS,EAAW,GAAGP,UAAmBe,EAAkBb,MAAOM,aAAyD,EAASA,EAAgBN,OACvJI,MAAOzB,OAAOyD,OAAOzD,OAAOyD,OAAOzD,OAAOyD,OAAO,CAAA,EAAIjC,GAAaW,EAAcd,OAAQO,aAAuC,EAASA,EAAOP,QAC9IwB,GAAYF,GAAqBjC,EAAMC,cAAc,MAAO,CAC7DM,UAAWS,EAAW,GAAGP,gBAAyBe,EAAkBZ,YAAaK,aAAyD,EAASA,EAAgBL,aACnKG,MAAOzB,OAAOyD,OAAOzD,OAAOyD,OAAO,CAAE,EAAEtB,EAAcb,aAAcM,aAAuC,EAASA,EAAON,cACzHqB,GAAOpB,GAA0Bb,EAAMC,cAAc,MAAO,CAC7DM,UAAWS,EAAW,GAAGP,WAAoBe,EAAkByB,OAAQhC,aAAyD,EAASA,EAAgBgC,QACzJlC,MAAOzB,OAAOyD,OAAOzD,OAAOyD,OAAO,CAAE,EAAEtB,EAAcwB,QAAS/B,aAAuC,EAASA,EAAO+B,SACpHpC,IAAY,EAEjBR,EAAM6C,wBAA0BnD,EAChCM,EAAM8C,uBAAyBhD,EACF,eAAzBkC,QAAQC,IAAIC,WACdlC,EAAM+C,YAAc","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/empty/index.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { devUseWarning } from '../_util/warning';\nimport { useLocale } from '../locale';\nimport DefaultEmptyImg from './empty';\nimport SimpleEmptyImg from './simple';\nimport useStyle from './style';\nimport { useComponentConfig } from '../config-provider/context';\nconst defaultEmptyImg = /*#__PURE__*/React.createElement(DefaultEmptyImg, null);\nconst simpleEmptyImg = /*#__PURE__*/React.createElement(SimpleEmptyImg, null);\nconst Empty = props => {\n const {\n className,\n rootClassName,\n prefixCls: customizePrefixCls,\n image = defaultEmptyImg,\n description,\n children,\n imageStyle,\n style,\n classNames: emptyClassNames,\n styles\n } = props,\n restProps = __rest(props, [\"className\", \"rootClassName\", \"prefixCls\", \"image\", \"description\", \"children\", \"imageStyle\", \"style\", \"classNames\", \"styles\"]);\n const {\n getPrefixCls,\n direction,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles\n } = useComponentConfig('empty');\n const prefixCls = getPrefixCls('empty', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const [locale] = useLocale('Empty');\n const des = typeof description !== 'undefined' ? description : locale === null || locale === void 0 ? void 0 : locale.description;\n const alt = typeof des === 'string' ? des : 'empty';\n let imageNode = null;\n if (typeof image === 'string') {\n imageNode = /*#__PURE__*/React.createElement(\"img\", {\n alt: alt,\n src: image\n });\n } else {\n imageNode = image;\n }\n // ============================= Warning ==============================\n if (process.env.NODE_ENV !== 'production') {\n const warning = devUseWarning('Empty');\n [['imageStyle', 'styles: { image: {} }']].forEach(_ref => {\n let [deprecatedName, newName] = _ref;\n warning.deprecated(!(deprecatedName in props), deprecatedName, newName);\n });\n }\n return wrapCSSVar(/*#__PURE__*/React.createElement(\"div\", Object.assign({\n className: classNames(hashId, cssVarCls, prefixCls, contextClassName, {\n [`${prefixCls}-normal`]: image === simpleEmptyImg,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, rootClassName, contextClassNames.root, emptyClassNames === null || emptyClassNames === void 0 ? void 0 : emptyClassNames.root),\n style: Object.assign(Object.assign(Object.assign(Object.assign({}, contextStyles.root), contextStyle), styles === null || styles === void 0 ? void 0 : styles.root), style)\n }, restProps), /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-image`, contextClassNames.image, emptyClassNames === null || emptyClassNames === void 0 ? void 0 : emptyClassNames.image),\n style: Object.assign(Object.assign(Object.assign({}, imageStyle), contextStyles.image), styles === null || styles === void 0 ? void 0 : styles.image)\n }, imageNode), des && (/*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-description`, contextClassNames.description, emptyClassNames === null || emptyClassNames === void 0 ? void 0 : emptyClassNames.description),\n style: Object.assign(Object.assign({}, contextStyles.description), styles === null || styles === void 0 ? void 0 : styles.description)\n }, des)), children && (/*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-footer`, contextClassNames.footer, emptyClassNames === null || emptyClassNames === void 0 ? void 0 : emptyClassNames.footer),\n style: Object.assign(Object.assign({}, contextStyles.footer), styles === null || styles === void 0 ? void 0 : styles.footer)\n }, children))));\n};\nEmpty.PRESENTED_IMAGE_DEFAULT = defaultEmptyImg;\nEmpty.PRESENTED_IMAGE_SIMPLE = simpleEmptyImg;\nif (process.env.NODE_ENV !== 'production') {\n Empty.displayName = 'Empty';\n}\nexport default Empty;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","defaultEmptyImg","React","createElement","DefaultEmptyImg","simpleEmptyImg","SimpleEmptyImg","Empty","props","className","rootClassName","prefixCls","customizePrefixCls","image","description","children","imageStyle","style","classNames","emptyClassNames","styles","restProps","getPrefixCls","direction","contextClassName","contextStyle","contextClassNames","contextStyles","useComponentConfig","wrapCSSVar","hashId","cssVarCls","useStyle","locale","useLocale","des","alt","imageNode","src","process","env","NODE_ENV","warning","devUseWarning","forEach","_ref","deprecat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MAAOzB,OAAOyD,OAAOzD,OAAOyD,OAAO,CAAE,EAAEtB,EAAcwB,QAAS/B,aAAuC,EAASA,EAAO+B,SACpHpC,IAAY,EAEjBR,EAAM6C,wBAA0BnD,EAChCM,EAAM8C,uBAAyBhD,EACF,eAAzBkC,QAAQC,IAAIC,WACdlC,EAAM+C,YAAc","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import t from"../../../../../../../_virtual/index.js";import"../config-provider/index.js";import r from"./RowContext.js";import{useColStyle as o}from"./style/index.js";import{ConfigContext as s}from"../config-provider/context.js";var l=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)t.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(r[o[s]]=e[o[s]])}return r};function n(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const f=["xs","sm","md","lg","xl","xxl"],p=e.forwardRef(((p,i)=>{const{getPrefixCls:a,direction:c}=e.useContext(s),{gutter:d,wrap:$}=e.useContext(r),{prefixCls:u,span:m,order:x,offset:g,push:y,pull:b,className:j,children:O,flex:h,style:v}=p,C=l(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),w=a("col",u),[N,E,P]=o(w),R={};let S={};f.forEach((e=>{let t={};const r=p[e];"number"==typeof r?t.span=r:"object"==typeof r&&(t=r||{}),delete C[e],S=Object.assign(Object.assign({},S),{[`${w}-${e}-${t.span}`]:void 0!==t.span,[`${w}-${e}-order-${t.order}`]:t.order||0===t.order,[`${w}-${e}-offset-${t.offset}`]:t.offset||0===t.offset,[`${w}-${e}-push-${t.push}`]:t.push||0===t.push,[`${w}-${e}-pull-${t.pull}`]:t.pull||0===t.pull,[`${w}-rtl`]:"rtl"===c}),t.flex&&(S[`${w}-${e}-flex`]=!0,R[`--${w}-${e}-flex`]=n(t.flex))}));const W=t(w,{[`${w}-${m}`]:void 0!==m,[`${w}-order-${x}`]:x,[`${w}-offset-${g}`]:g,[`${w}-push-${y}`]:y,[`${w}-pull-${b}`]:b},j,S,E,P),_={};if(d&&d[0]>0){const e=d[0]/2;_.paddingLeft=e,_.paddingRight=e}return h&&(_.flex=n(h),!1!==$||_.minWidth||(_.minWidth=0)),N(e.createElement("div",Object.assign({},C,{style:Object.assign(Object.assign(Object.assign({},_),v),R),className:W,ref:i}),O))}));"production"!==process.env.NODE_ENV&&(p.displayName="Col");export{p as default};
1
+ import*as e from"react";import t from"../../../../../../../_virtual/index2.js";import"../config-provider/index.js";import r from"./RowContext.js";import{useColStyle as o}from"./style/index.js";import{ConfigContext as s}from"../config-provider/context.js";var l=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var s=0;for(o=Object.getOwnPropertySymbols(e);s<o.length;s++)t.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(r[o[s]]=e[o[s]])}return r};function n(e){return"number"==typeof e?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}const f=["xs","sm","md","lg","xl","xxl"],p=e.forwardRef(((p,i)=>{const{getPrefixCls:a,direction:c}=e.useContext(s),{gutter:d,wrap:$}=e.useContext(r),{prefixCls:u,span:m,order:x,offset:g,push:y,pull:b,className:j,children:O,flex:h,style:v}=p,C=l(p,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),w=a("col",u),[N,E,P]=o(w),R={};let S={};f.forEach((e=>{let t={};const r=p[e];"number"==typeof r?t.span=r:"object"==typeof r&&(t=r||{}),delete C[e],S=Object.assign(Object.assign({},S),{[`${w}-${e}-${t.span}`]:void 0!==t.span,[`${w}-${e}-order-${t.order}`]:t.order||0===t.order,[`${w}-${e}-offset-${t.offset}`]:t.offset||0===t.offset,[`${w}-${e}-push-${t.push}`]:t.push||0===t.push,[`${w}-${e}-pull-${t.pull}`]:t.pull||0===t.pull,[`${w}-rtl`]:"rtl"===c}),t.flex&&(S[`${w}-${e}-flex`]=!0,R[`--${w}-${e}-flex`]=n(t.flex))}));const W=t(w,{[`${w}-${m}`]:void 0!==m,[`${w}-order-${x}`]:x,[`${w}-offset-${g}`]:g,[`${w}-push-${y}`]:y,[`${w}-pull-${b}`]:b},j,S,E,P),_={};if(d&&d[0]>0){const e=d[0]/2;_.paddingLeft=e,_.paddingRight=e}return h&&(_.flex=n(h),!1!==$||_.minWidth||(_.minWidth=0)),N(e.createElement("div",Object.assign({},C,{style:Object.assign(Object.assign(Object.assign({},_),v),R),className:W,ref:i}),O))}));"production"!==process.env.NODE_ENV&&(p.displayName="Col");export{p as default};
2
2
  //# sourceMappingURL=col.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"col.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/col.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nimport { useColStyle } from './style';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return `${flex} ${flex} auto`;\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return `0 0 ${flex}`;\n }\n return flex;\n}\nconst sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nconst Col = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n getPrefixCls,\n direction\n } = React.useContext(ConfigContext);\n const {\n gutter,\n wrap\n } = React.useContext(RowContext);\n const {\n prefixCls: customizePrefixCls,\n span,\n order,\n offset,\n push,\n pull,\n className,\n children,\n flex,\n style\n } = props,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n const prefixCls = getPrefixCls('col', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useColStyle(prefixCls);\n // ===================== Size ======================\n const sizeStyle = {};\n let sizeClassObj = {};\n sizes.forEach(size => {\n let sizeProps = {};\n const propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (typeof propSize === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = Object.assign(Object.assign({}, sizeClassObj), {\n [`${prefixCls}-${size}-${sizeProps.span}`]: sizeProps.span !== undefined,\n [`${prefixCls}-${size}-order-${sizeProps.order}`]: sizeProps.order || sizeProps.order === 0,\n [`${prefixCls}-${size}-offset-${sizeProps.offset}`]: sizeProps.offset || sizeProps.offset === 0,\n [`${prefixCls}-${size}-push-${sizeProps.push}`]: sizeProps.push || sizeProps.push === 0,\n [`${prefixCls}-${size}-pull-${sizeProps.pull}`]: sizeProps.pull || sizeProps.pull === 0,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n });\n // Responsive flex layout\n if (sizeProps.flex) {\n sizeClassObj[`${prefixCls}-${size}-flex`] = true;\n sizeStyle[`--${prefixCls}-${size}-flex`] = parseFlex(sizeProps.flex);\n }\n });\n // ==================== Normal =====================\n const classes = classNames(prefixCls, {\n [`${prefixCls}-${span}`]: span !== undefined,\n [`${prefixCls}-order-${order}`]: order,\n [`${prefixCls}-offset-${offset}`]: offset,\n [`${prefixCls}-push-${push}`]: push,\n [`${prefixCls}-pull-${pull}`]: pull\n }, className, sizeClassObj, hashId, cssVarCls);\n const mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n const horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n // ==================== Render =====================\n return wrapCSSVar(/*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n style: Object.assign(Object.assign(Object.assign({}, mergedStyle), style), sizeStyle),\n className: classes,\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","parseFlex","flex","test","sizes","Col","React","forwardRef","props","ref","getPrefixCls","direction","useContext","ConfigContext","gutter","wrap","RowContext","prefixCls","customizePrefixCls","span","order","offset","push","pull","className","children","style","others","wrapCSSVar","hashId","cssVarCls","useColStyle","sizeStyle","sizeClassObj","forEach","size","sizeProps","propSize","assign","undefined","classes","classNames","mergedStyle","horizontalGutter","paddingLeft","paddingRight","minWidth","createElement","process","env","NODE_ENV","displayName"],"mappings":"8PAEA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,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B,YAAeC,EAAUf,UAAWe,EAAUf,QAA+B,IAArBe,EAAUf,OACnF,CAAC,GAAGJ,KAAakB,UAAaC,EAAUd,QAASc,EAAUd,MAA2B,IAAnBc,EAAUd,KAC7E,CAAC,GAAGL,KAAakB,UAAaC,EAAUb,QAASa,EAAUb,MAA2B,IAAnBa,EAAUb,KAC7E,CAAC,GAAGN,SAAgC,QAAdN,IAGpByB,EAAUlC,OACZ+B,EAAa,GAAGhB,KAAakB,WAAe,EAC5CH,EAAU,KAAKf,KAAakB,UAAelC,EAAUmC,EAAUlC,MACrE,IAGE,MAAMsC,EAAUC,EAAWxB,EAAW,CACpC,CAAC,GAAGA,KAAaE,UAAkBoB,IAATpB,EAC1B,CAAC,GAAGF,WAAmBG,KAAUA,EACjC,CAAC,GAAGH,YAAoBI,KAAWA,EACnC,CAAC,GAAGJ,UAAkBK,KAASA,EAC/B,CAAC,GAAGL,UAAkBM,KAASA,GAC9BC,EAAWS,EAAcJ,EAAQC,GAC9BY,EAAc,CAAE,EAEtB,GAAI5B,GAAUA,EAAO,GAAK,EAAG,CAC3B,MAAM6B,EAAmB7B,EAAO,GAAK,EACrC4B,EAAYE,YAAcD,EAC1BD,EAAYG,aAAeF,CAC/B,CAUE,OATIzC,IACFwC,EAAYxC,KAAOD,EAAUC,IAGhB,IAATa,GAAmB2B,EAAYI,WACjCJ,EAAYI,SAAW,IAIpBlB,EAAwBtB,EAAMyC,cAAc,MAAOvD,OAAO8C,OAAO,CAAE,EAAEX,EAAQ,CAClFD,MAAOlC,OAAO8C,OAAO9C,OAAO8C,OAAO9C,OAAO8C,OAAO,CAAE,EAAEI,GAAchB,GAAQM,GAC3ER,UAAWgB,EACX/B,IAAKA,IACHgB,GAAU,IAEa,eAAzBuB,QAAQC,IAAIC,WACd7C,EAAI8C,YAAc","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"col.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/col.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { ConfigContext } from '../config-provider';\nimport RowContext from './RowContext';\nimport { useColStyle } from './style';\nfunction parseFlex(flex) {\n if (typeof flex === 'number') {\n return `${flex} ${flex} auto`;\n }\n if (/^\\d+(\\.\\d+)?(px|em|rem|%)$/.test(flex)) {\n return `0 0 ${flex}`;\n }\n return flex;\n}\nconst sizes = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];\nconst Col = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n getPrefixCls,\n direction\n } = React.useContext(ConfigContext);\n const {\n gutter,\n wrap\n } = React.useContext(RowContext);\n const {\n prefixCls: customizePrefixCls,\n span,\n order,\n offset,\n push,\n pull,\n className,\n children,\n flex,\n style\n } = props,\n others = __rest(props, [\"prefixCls\", \"span\", \"order\", \"offset\", \"push\", \"pull\", \"className\", \"children\", \"flex\", \"style\"]);\n const prefixCls = getPrefixCls('col', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useColStyle(prefixCls);\n // ===================== Size ======================\n const sizeStyle = {};\n let sizeClassObj = {};\n sizes.forEach(size => {\n let sizeProps = {};\n const propSize = props[size];\n if (typeof propSize === 'number') {\n sizeProps.span = propSize;\n } else if (typeof propSize === 'object') {\n sizeProps = propSize || {};\n }\n delete others[size];\n sizeClassObj = Object.assign(Object.assign({}, sizeClassObj), {\n [`${prefixCls}-${size}-${sizeProps.span}`]: sizeProps.span !== undefined,\n [`${prefixCls}-${size}-order-${sizeProps.order}`]: sizeProps.order || sizeProps.order === 0,\n [`${prefixCls}-${size}-offset-${sizeProps.offset}`]: sizeProps.offset || sizeProps.offset === 0,\n [`${prefixCls}-${size}-push-${sizeProps.push}`]: sizeProps.push || sizeProps.push === 0,\n [`${prefixCls}-${size}-pull-${sizeProps.pull}`]: sizeProps.pull || sizeProps.pull === 0,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n });\n // Responsive flex layout\n if (sizeProps.flex) {\n sizeClassObj[`${prefixCls}-${size}-flex`] = true;\n sizeStyle[`--${prefixCls}-${size}-flex`] = parseFlex(sizeProps.flex);\n }\n });\n // ==================== Normal =====================\n const classes = classNames(prefixCls, {\n [`${prefixCls}-${span}`]: span !== undefined,\n [`${prefixCls}-order-${order}`]: order,\n [`${prefixCls}-offset-${offset}`]: offset,\n [`${prefixCls}-push-${push}`]: push,\n [`${prefixCls}-pull-${pull}`]: pull\n }, className, sizeClassObj, hashId, cssVarCls);\n const mergedStyle = {};\n // Horizontal gutter use padding\n if (gutter && gutter[0] > 0) {\n const horizontalGutter = gutter[0] / 2;\n mergedStyle.paddingLeft = horizontalGutter;\n mergedStyle.paddingRight = horizontalGutter;\n }\n if (flex) {\n mergedStyle.flex = parseFlex(flex);\n // Hack for Firefox to avoid size issue\n // https://github.com/ant-design/ant-design/pull/20023#issuecomment-564389553\n if (wrap === false && !mergedStyle.minWidth) {\n mergedStyle.minWidth = 0;\n }\n }\n // ==================== Render =====================\n return wrapCSSVar(/*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n style: Object.assign(Object.assign(Object.assign({}, mergedStyle), style), sizeStyle),\n className: classes,\n ref: ref\n }), children));\n});\nif (process.env.NODE_ENV !== 'production') {\n Col.displayName = 'Col';\n}\nexport default Col;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","parseFlex","flex","test","sizes","Col","React","forwardRef","props","ref","getPrefixCls","direction","useContext","ConfigContext","gutter","wrap","RowContext","prefixCls","customizePrefixCls","span","order","offset","push","pull","className","children","style","others","wrapCSSVar","hashId","cssVarCls","useColStyle","sizeStyle","sizeClassObj","forEach","size","sizeProps","propSize","assign","undefined","classes","classNames","mergedStyle","horizontalGutter","paddingLeft","paddingRight","minWidth","createElement","process","env","NODE_ENV","displayName"],"mappings":"+PAEA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAMA,SAASW,EAAUC,GACjB,MAAoB,iBAATA,EACF,GAAGA,KAAQA,SAEhB,6BAA6BC,KAAKD,GAC7B,OAAOA,IAETA,CACT,CACA,MAAME,EAAQ,CAAC,KAAM,KAAM,KAAM,KAAM,KAAM,OACvCC,EAAmBC,EAAMC,YAAW,CAACC,EAAOC,KAChD,MAAMC,aACJA,EAAYC,UACZA,GACEL,EAAMM,WAAWC,IACfC,OACJA,EAAMC,KACNA,GACET,EAAMM,WAAWI,IAEjBC,UAAWC,EAAkBC,KAC7BA,EAAIC,MACJA,EAAKC,OACLA,EAAMC,KACNA,EAAIC,KACJA,EAAIC,UACJA,EAASC,SACTA,EAAQvB,KACRA,EAAIwB,MACJA,GACElB,EACJmB,EAASxC,EAAOqB,EAAO,CAAC,YAAa,OAAQ,QAAS,SAAU,OAAQ,OAAQ,YAAa,WAAY,O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,GAAK,EACrC4B,EAAYE,YAAcD,EAC1BD,EAAYG,aAAeF,CAC/B,CAUE,OATIzC,IACFwC,EAAYxC,KAAOD,EAAUC,IAGhB,IAATa,GAAmB2B,EAAYI,WACjCJ,EAAYI,SAAW,IAIpBlB,EAAwBtB,EAAMyC,cAAc,MAAOvD,OAAO8C,OAAO,CAAE,EAAEX,EAAQ,CAClFD,MAAOlC,OAAO8C,OAAO9C,OAAO8C,OAAO9C,OAAO8C,OAAO,CAAE,EAAEI,GAAchB,GAAQM,GAC3ER,UAAWgB,EACX/B,IAAKA,IACHgB,GAAU,IAEa,eAAzBuB,QAAQC,IAAIC,WACd7C,EAAI8C,YAAc","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import*as t from"react";import e from"../../../../../../../_virtual/index.js";import{responsiveArray as r}from"../_util/responsiveObserver.js";import"../config-provider/index.js";import o from"./hooks/useBreakpoint.js";import i from"./hooks/useGutter.js";import n from"./RowContext.js";import{useRowStyle as s}from"./style/index.js";import{ConfigContext as a}from"../config-provider/context.js";var f=function(t,e){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(r[o[i]]=t[o[i]])}return r};function l(e,o){const[i,n]=t.useState("string"==typeof e?e:"");return t.useEffect((()=>{(()=>{if("string"==typeof e&&n(e),"object"==typeof e)for(let t=0;t<r.length;t++){const i=r[t];if(!o||!o[i])continue;const s=e[i];if(void 0!==s)return void n(s)}})()}),[JSON.stringify(e),o]),i}const p=t.forwardRef(((r,p)=>{const{prefixCls:c,justify:m,align:u,className:g,style:y,children:d,gutter:j=0,wrap:v}=r,O=f(r,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:b,direction:w}=t.useContext(a),x=o(!0,null),h=l(u,x),N=l(m,x),E=b("row",c),[$,C,P]=s(E),R=i(j,x),S=e(E,{[`${E}-no-wrap`]:!1===v,[`${E}-${N}`]:N,[`${E}-${h}`]:h,[`${E}-rtl`]:"rtl"===w},g,C,P),k={},_=null!=R[0]&&R[0]>0?R[0]/-2:void 0;_&&(k.marginLeft=_,k.marginRight=_);const[G,B]=R;k.rowGap=B;const D=t.useMemo((()=>({gutter:[G,B],wrap:v})),[G,B,v]);return $(t.createElement(n.Provider,{value:D},t.createElement("div",Object.assign({},O,{className:S,style:Object.assign(Object.assign({},k),y),ref:p}),d)))}));"production"!==process.env.NODE_ENV&&(p.displayName="Row");export{p as default};
1
+ import*as t from"react";import e from"../../../../../../../_virtual/index2.js";import{responsiveArray as r}from"../_util/responsiveObserver.js";import"../config-provider/index.js";import o from"./hooks/useBreakpoint.js";import i from"./hooks/useGutter.js";import n from"./RowContext.js";import{useRowStyle as s}from"./style/index.js";import{ConfigContext as a}from"../config-provider/context.js";var f=function(t,e){var r={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(t);i<o.length;i++)e.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(t,o[i])&&(r[o[i]]=t[o[i]])}return r};function l(e,o){const[i,n]=t.useState("string"==typeof e?e:"");return t.useEffect((()=>{(()=>{if("string"==typeof e&&n(e),"object"==typeof e)for(let t=0;t<r.length;t++){const i=r[t];if(!o||!o[i])continue;const s=e[i];if(void 0!==s)return void n(s)}})()}),[JSON.stringify(e),o]),i}const p=t.forwardRef(((r,p)=>{const{prefixCls:c,justify:m,align:u,className:g,style:y,children:d,gutter:j=0,wrap:v}=r,O=f(r,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:b,direction:w}=t.useContext(a),x=o(!0,null),h=l(u,x),N=l(m,x),E=b("row",c),[$,C,P]=s(E),R=i(j,x),S=e(E,{[`${E}-no-wrap`]:!1===v,[`${E}-${N}`]:N,[`${E}-${h}`]:h,[`${E}-rtl`]:"rtl"===w},g,C,P),k={},_=null!=R[0]&&R[0]>0?R[0]/-2:void 0;_&&(k.marginLeft=_,k.marginRight=_);const[G,B]=R;k.rowGap=B;const D=t.useMemo((()=>({gutter:[G,B],wrap:v})),[G,B,v]);return $(t.createElement(n.Provider,{value:D},t.createElement("div",Object.assign({},O,{className:S,style:Object.assign(Object.assign({},k),y),ref:p}),d)))}));"production"!==process.env.NODE_ENV&&(p.displayName="Row");export{p as default};
2
2
  //# sourceMappingURL=row.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"row.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/row.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { responsiveArray } from '../_util/responsiveObserver';\nimport { ConfigContext } from '../config-provider';\nimport useBreakpoint from './hooks/useBreakpoint';\nimport useGutter from './hooks/useGutter';\nimport RowContext from './RowContext';\nimport { useRowStyle } from './style';\nconst _RowAligns = ['top', 'middle', 'bottom', 'stretch'];\nconst _RowJustify = ['start', 'end', 'center', 'space-around', 'space-between', 'space-evenly'];\nfunction useMergedPropByScreen(oriProp, screen) {\n const [prop, setProp] = React.useState(typeof oriProp === 'string' ? oriProp : '');\n const calcMergedAlignOrJustify = () => {\n if (typeof oriProp === 'string') {\n setProp(oriProp);\n }\n if (typeof oriProp !== 'object') {\n return;\n }\n for (let i = 0; i < responsiveArray.length; i++) {\n const breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen || !screen[breakpoint]) {\n continue;\n }\n const curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(() => {\n calcMergedAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nconst Row = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n justify,\n align,\n className,\n style,\n children,\n gutter = 0,\n wrap\n } = props,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n const {\n getPrefixCls,\n direction\n } = React.useContext(ConfigContext);\n const screens = useBreakpoint(true, null);\n const mergedAlign = useMergedPropByScreen(align, screens);\n const mergedJustify = useMergedPropByScreen(justify, screens);\n const prefixCls = getPrefixCls('row', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useRowStyle(prefixCls);\n const gutters = useGutter(gutter, screens);\n const classes = classNames(prefixCls, {\n [`${prefixCls}-no-wrap`]: wrap === false,\n [`${prefixCls}-${mergedJustify}`]: mergedJustify,\n [`${prefixCls}-${mergedAlign}`]: mergedAlign,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, hashId, cssVarCls);\n // Add gutter related style\n const rowStyle = {};\n const horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n const [gutterH, gutterV] = gutters;\n rowStyle.rowGap = gutterV;\n const rowContext = React.useMemo(() => ({\n gutter: [gutterH, gutterV],\n wrap\n }), [gutterH, gutterV, wrap]);\n return wrapCSSVar(/*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n className: classes,\n style: Object.assign(Object.assign({}, rowStyle), style),\n ref: ref\n }), children)));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","useMergedPropByScreen","oriProp","screen","prop","setProp","React","useState","useEffect","responsiveArray","breakpoint","curVal","undefined","calcMergedAlignOrJustify","JSON","stringify","Row","forwardRef","props","ref","prefixCls","customizePrefixCls","justify","align","className","style","children","gutter","wrap","others","getPrefixCls","direction","useContext","ConfigContext","screens","useBreakpoint","mergedAlign","mergedJustify","wrapCSSVar","hashId","cssVarCls","useRowStyle","gutters","useGutter","classes","classNames","rowStyle","horizontalGutter","marginLeft","marginRight","gutterH","gutterV","rowGap","rowContext","useMemo","createElement","RowContext","Provider","value","assign","process","env","NODE_ENV","displayName"],"mappings":"2YAEA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAWA,SAASW,EAAsBC,EAASC,GACtC,MAAOC,EAAMC,GAAWC,EAAMC,SAA4B,iBAAZL,EAAuBA,EAAU,IAwB/E,OAHAI,EAAME,WAAU,KApB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,KAAO,CACtC3B,OAAQ,CAACuB,EAASC,GAClBvB,UACE,CAACsB,EAASC,EAASvB,IACvB,OAAOU,EAAwBhC,EAAMiD,cAAcC,EAAWC,SAAU,CACtEC,MAAOL,GACO/C,EAAMiD,cAAc,MAAO/D,OAAOmE,OAAO,CAAE,EAAE9B,EAAQ,CACnEL,UAAWoB,EACXnB,MAAOjC,OAAOmE,OAAOnE,OAAOmE,OAAO,GAAIb,GAAWrB,GAClDN,IAAKA,IACHO,IAAW,IAEY,eAAzBkC,QAAQC,IAAIC,WACd9C,EAAI+C,YAAc","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"row.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/grid/row.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport { responsiveArray } from '../_util/responsiveObserver';\nimport { ConfigContext } from '../config-provider';\nimport useBreakpoint from './hooks/useBreakpoint';\nimport useGutter from './hooks/useGutter';\nimport RowContext from './RowContext';\nimport { useRowStyle } from './style';\nconst _RowAligns = ['top', 'middle', 'bottom', 'stretch'];\nconst _RowJustify = ['start', 'end', 'center', 'space-around', 'space-between', 'space-evenly'];\nfunction useMergedPropByScreen(oriProp, screen) {\n const [prop, setProp] = React.useState(typeof oriProp === 'string' ? oriProp : '');\n const calcMergedAlignOrJustify = () => {\n if (typeof oriProp === 'string') {\n setProp(oriProp);\n }\n if (typeof oriProp !== 'object') {\n return;\n }\n for (let i = 0; i < responsiveArray.length; i++) {\n const breakpoint = responsiveArray[i];\n // if do not match, do nothing\n if (!screen || !screen[breakpoint]) {\n continue;\n }\n const curVal = oriProp[breakpoint];\n if (curVal !== undefined) {\n setProp(curVal);\n return;\n }\n }\n };\n React.useEffect(() => {\n calcMergedAlignOrJustify();\n }, [JSON.stringify(oriProp), screen]);\n return prop;\n}\nconst Row = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n justify,\n align,\n className,\n style,\n children,\n gutter = 0,\n wrap\n } = props,\n others = __rest(props, [\"prefixCls\", \"justify\", \"align\", \"className\", \"style\", \"children\", \"gutter\", \"wrap\"]);\n const {\n getPrefixCls,\n direction\n } = React.useContext(ConfigContext);\n const screens = useBreakpoint(true, null);\n const mergedAlign = useMergedPropByScreen(align, screens);\n const mergedJustify = useMergedPropByScreen(justify, screens);\n const prefixCls = getPrefixCls('row', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useRowStyle(prefixCls);\n const gutters = useGutter(gutter, screens);\n const classes = classNames(prefixCls, {\n [`${prefixCls}-no-wrap`]: wrap === false,\n [`${prefixCls}-${mergedJustify}`]: mergedJustify,\n [`${prefixCls}-${mergedAlign}`]: mergedAlign,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, className, hashId, cssVarCls);\n // Add gutter related style\n const rowStyle = {};\n const horizontalGutter = gutters[0] != null && gutters[0] > 0 ? gutters[0] / -2 : undefined;\n if (horizontalGutter) {\n rowStyle.marginLeft = horizontalGutter;\n rowStyle.marginRight = horizontalGutter;\n }\n // \"gutters\" is a new array in each rendering phase, it'll make 'React.useMemo' effectless.\n // So we deconstruct \"gutters\" variable here.\n const [gutterH, gutterV] = gutters;\n rowStyle.rowGap = gutterV;\n const rowContext = React.useMemo(() => ({\n gutter: [gutterH, gutterV],\n wrap\n }), [gutterH, gutterV, wrap]);\n return wrapCSSVar(/*#__PURE__*/React.createElement(RowContext.Provider, {\n value: rowContext\n }, /*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n className: classes,\n style: Object.assign(Object.assign({}, rowStyle), style),\n ref: ref\n }), children)));\n});\nif (process.env.NODE_ENV !== 'production') {\n Row.displayName = 'Row';\n}\nexport default Row;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","useMergedPropByScreen","oriProp","screen","prop","setProp","React","useState","useEffect","responsiveArray","breakpoint","curVal","undefined","calcMergedAlignOrJustify","JSON","stringify","Row","forwardRef","props","ref","prefixCls","customizePrefixCls","justify","align","className","style","children","gutter","wrap","others","getPrefixCls","direction","useContext","ConfigContext","screens","useBreakpoint","mergedAlign","mergedJustify","wrapCSSVar","hashId","cssVarCls","useRowStyle","gutters","useGutter","classes","classNames","rowStyle","horizontalGutter","marginLeft","marginRight","gutterH","gutterV","rowGap","rowContext","useMemo","createElement","RowContext","Provider","value","assign","process","env","NODE_ENV","displayName"],"mappings":"4YAEA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAWA,SAASW,EAAsBC,EAASC,GACtC,MAAOC,EAAMC,GAAWC,EAAMC,SAA4B,iBAAZL,EAAuBA,EAAU,IAwB/E,OAHAI,EAAME,WAAU,KApBiB,MAI/B,GAHuB,iBAAZN,GAC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,EAASC,GAClBvB,UACE,CAACsB,EAASC,EAASvB,IACvB,OAAOU,EAAwBhC,EAAMiD,cAAcC,EAAWC,SAAU,CACtEC,MAAOL,GACO/C,EAAMiD,cAAc,MAAO/D,OAAOmE,OAAO,CAAE,EAAE9B,EAAQ,CACnEL,UAAWoB,EACXnB,MAAOjC,OAAOmE,OAAOnE,OAAOmE,OAAO,GAAIb,GAAWrB,GAClDN,IAAKA,IACHO,IAAW,IAEY,eAAzBkC,QAAQC,IAAIC,WACd9C,EAAI+C,YAAc","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import*as e from"react";import{useContext as t,useState as r,useEffect as l,useRef as n}from"react";import o from"../../../../../@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/BarsOutlined.js";import i from"../../../../../@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/LeftOutlined.js";import s from"../../../../../@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RightOutlined.js";import a from"../../../../../../../_virtual/index.js";import c from"../../../../../rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/omit.js";import"../config-provider/index.js";import{LayoutContext as d}from"./context.js";import m from"./style/sider.js";import{ConfigContext as p}from"../config-provider/context.js";var u=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(l=Object.getOwnPropertySymbols(e);n<l.length;n++)t.indexOf(l[n])<0&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(r[l[n]]=e[l[n]])}return r};const g={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},f=e.createContext({}),h=(()=>{let e=0;return function(){return e+=1,`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:""}${e}`}})(),x=e.forwardRef(((x,_)=>{const{prefixCls:v,className:y,trigger:w,children:b,defaultCollapsed:j=!1,theme:O="dark",style:$={},collapsible:E=!1,reverseArrow:N=!1,width:C=200,collapsedWidth:k=80,zeroWidthTriggerStyle:S,breakpoint:W,onCollapse:z,onBreakpoint:L}=x,P=u(x,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:F}=t(d),[B,T]=r("collapsed"in x?x.collapsed:j),[A,M]=r(!1);l((()=>{"collapsed"in x&&T(x.collapsed)}),[x.collapsed]);const R=(e,t)=>{"collapsed"in x||T(e),null==z||z(e,t)},{getPrefixCls:D,direction:H}=t(p),I=D("layout-sider",v),[V,q,G]=m(I),J=n(null);J.current=e=>{M(e.matches),null==L||L(e.matches),B!==e.matches&&R(e.matches,"responsive")},l((()=>{function e(e){return J.current(e)}let t;if("undefined"!=typeof window){const{matchMedia:r}=window;if(r&&W&&W in g){t=r(`screen and (max-width: ${g[W]})`);try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return()=>{try{null==t||t.removeEventListener("change",e)}catch(r){null==t||t.removeListener(e)}}}),[W]),l((()=>{const e=h("ant-sider-");return F.addSider(e),()=>F.removeSider(e)}),[]);const K=()=>{R(!B,"clickTrigger")},Q=c(P,["collapsed"]),U=B?k:C,X=(Y=U,!Number.isNaN(Number.parseFloat(Y))&&isFinite(Y)?`${U}px`:String(U));var Y;const Z=0===parseFloat(String(k||0))?e.createElement("span",{onClick:K,className:a(`${I}-zero-width-trigger`,`${I}-zero-width-trigger-${N?"right":"left"}`),style:S},w||e.createElement(o,null)):null,ee="rtl"===H==!N,te={expanded:ee?e.createElement(s,null):e.createElement(i,null),collapsed:ee?e.createElement(i,null):e.createElement(s,null)}[B?"collapsed":"expanded"],re=null!==w?Z||e.createElement("div",{className:`${I}-trigger`,onClick:K,style:{width:X}},w||te):null,le=Object.assign(Object.assign({},$),{flex:`0 0 ${X}`,maxWidth:X,minWidth:X,width:X}),ne=a(I,`${I}-${O}`,{[`${I}-collapsed`]:!!B,[`${I}-has-trigger`]:E&&null!==w&&!Z,[`${I}-below`]:!!A,[`${I}-zero-width`]:0===parseFloat(X)},y,q,G),oe=e.useMemo((()=>({siderCollapsed:B})),[B]);return V(e.createElement(f.Provider,{value:oe},e.createElement("aside",Object.assign({className:ne},Q,{style:le,ref:_}),e.createElement("div",{className:`${I}-children`},b),E||A&&Z?re:null)))}));"production"!==process.env.NODE_ENV&&(x.displayName="Sider");export{f as SiderContext,x as default};
1
+ import*as e from"react";import{useContext as t,useState as r,useEffect as l,useRef as n}from"react";import o from"../../../../../@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/BarsOutlined.js";import i from"../../../../../@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/LeftOutlined.js";import s from"../../../../../@ant-design_icons@5.6.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@ant-design/icons/es/icons/RightOutlined.js";import a from"../../../../../../../_virtual/index2.js";import c from"../../../../../rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/omit.js";import"../config-provider/index.js";import{LayoutContext as d}from"./context.js";import m from"./style/sider.js";import{ConfigContext as p}from"../config-provider/context.js";var u=function(e,t){var r={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&t.indexOf(l)<0&&(r[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(l=Object.getOwnPropertySymbols(e);n<l.length;n++)t.indexOf(l[n])<0&&Object.prototype.propertyIsEnumerable.call(e,l[n])&&(r[l[n]]=e[l[n]])}return r};const g={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},f=e.createContext({}),h=(()=>{let e=0;return function(){return e+=1,`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:""}${e}`}})(),x=e.forwardRef(((x,_)=>{const{prefixCls:v,className:y,trigger:w,children:b,defaultCollapsed:j=!1,theme:O="dark",style:$={},collapsible:E=!1,reverseArrow:N=!1,width:C=200,collapsedWidth:k=80,zeroWidthTriggerStyle:S,breakpoint:W,onCollapse:z,onBreakpoint:L}=x,P=u(x,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:F}=t(d),[B,T]=r("collapsed"in x?x.collapsed:j),[A,M]=r(!1);l((()=>{"collapsed"in x&&T(x.collapsed)}),[x.collapsed]);const R=(e,t)=>{"collapsed"in x||T(e),null==z||z(e,t)},{getPrefixCls:D,direction:H}=t(p),I=D("layout-sider",v),[V,q,G]=m(I),J=n(null);J.current=e=>{M(e.matches),null==L||L(e.matches),B!==e.matches&&R(e.matches,"responsive")},l((()=>{function e(e){return J.current(e)}let t;if("undefined"!=typeof window){const{matchMedia:r}=window;if(r&&W&&W in g){t=r(`screen and (max-width: ${g[W]})`);try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return()=>{try{null==t||t.removeEventListener("change",e)}catch(r){null==t||t.removeListener(e)}}}),[W]),l((()=>{const e=h("ant-sider-");return F.addSider(e),()=>F.removeSider(e)}),[]);const K=()=>{R(!B,"clickTrigger")},Q=c(P,["collapsed"]),U=B?k:C,X=(Y=U,!Number.isNaN(Number.parseFloat(Y))&&isFinite(Y)?`${U}px`:String(U));var Y;const Z=0===parseFloat(String(k||0))?e.createElement("span",{onClick:K,className:a(`${I}-zero-width-trigger`,`${I}-zero-width-trigger-${N?"right":"left"}`),style:S},w||e.createElement(o,null)):null,ee="rtl"===H==!N,te={expanded:ee?e.createElement(s,null):e.createElement(i,null),collapsed:ee?e.createElement(i,null):e.createElement(s,null)}[B?"collapsed":"expanded"],re=null!==w?Z||e.createElement("div",{className:`${I}-trigger`,onClick:K,style:{width:X}},w||te):null,le=Object.assign(Object.assign({},$),{flex:`0 0 ${X}`,maxWidth:X,minWidth:X,width:X}),ne=a(I,`${I}-${O}`,{[`${I}-collapsed`]:!!B,[`${I}-has-trigger`]:E&&null!==w&&!Z,[`${I}-below`]:!!A,[`${I}-zero-width`]:0===parseFloat(X)},y,q,G),oe=e.useMemo((()=>({siderCollapsed:B})),[B]);return V(e.createElement(f.Provider,{value:oe},e.createElement("aside",Object.assign({className:ne},Q,{style:le,ref:_}),e.createElement("div",{className:`${I}-children`},b),E||A&&Z?re:null)))}));"production"!==process.env.NODE_ENV&&(x.displayName="Sider");export{f as SiderContext,x as default};
2
2
  //# sourceMappingURL=Sider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Sider.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/layout/Sider.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport BarsOutlined from \"@ant-design/icons/es/icons/BarsOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport { LayoutContext } from './context';\nimport useStyle from './style/sider';\nconst dimensionMaxMap = {\n xs: '479.98px',\n sm: '575.98px',\n md: '767.98px',\n lg: '991.98px',\n xl: '1199.98px',\n xxl: '1599.98px'\n};\nconst isNumeric = value => !Number.isNaN(Number.parseFloat(value)) && isFinite(value);\nexport const SiderContext = /*#__PURE__*/React.createContext({});\nconst generateId = (() => {\n let i = 0;\n return function () {\n let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n i += 1;\n return `${prefix}${i}`;\n };\n})();\nconst Sider = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n className,\n trigger,\n children,\n defaultCollapsed = false,\n theme = 'dark',\n style = {},\n collapsible = false,\n reverseArrow = false,\n width = 200,\n collapsedWidth = 80,\n zeroWidthTriggerStyle,\n breakpoint,\n onCollapse,\n onBreakpoint\n } = props,\n otherProps = __rest(props, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n const {\n siderHook\n } = useContext(LayoutContext);\n const [collapsed, setCollapsed] = useState('collapsed' in props ? props.collapsed : defaultCollapsed);\n const [below, setBelow] = useState(false);\n useEffect(() => {\n if ('collapsed' in props) {\n setCollapsed(props.collapsed);\n }\n }, [props.collapsed]);\n const handleSetCollapsed = (value, type) => {\n if (!('collapsed' in props)) {\n setCollapsed(value);\n }\n onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n };\n // =========================== Prefix ===========================\n const {\n getPrefixCls,\n direction\n } = useContext(ConfigContext);\n const prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n // ========================= Responsive =========================\n const responsiveHandlerRef = useRef(null);\n responsiveHandlerRef.current = mql => {\n setBelow(mql.matches);\n onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n if (collapsed !== mql.matches) {\n handleSetCollapsed(mql.matches, 'responsive');\n }\n };\n useEffect(() => {\n function responsiveHandler(mql) {\n return responsiveHandlerRef.current(mql);\n }\n let mql;\n if (typeof window !== 'undefined') {\n const {\n matchMedia\n } = window;\n if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n mql = matchMedia(`screen and (max-width: ${dimensionMaxMap[breakpoint]})`);\n try {\n mql.addEventListener('change', responsiveHandler);\n } catch (_a) {\n mql.addListener(responsiveHandler);\n }\n responsiveHandler(mql);\n }\n }\n return () => {\n try {\n mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n } catch (_a) {\n mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n }\n };\n }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n useEffect(() => {\n const uniqueId = generateId('ant-sider-');\n siderHook.addSider(uniqueId);\n return () => siderHook.removeSider(uniqueId);\n }, []);\n const toggle = () => {\n handleSetCollapsed(!collapsed, 'clickTrigger');\n };\n const divProps = omit(otherProps, ['collapsed']);\n const rawWidth = collapsed ? collapsedWidth : width;\n // use \"px\" as fallback unit for width\n const siderWidth = isNumeric(rawWidth) ? `${rawWidth}px` : String(rawWidth);\n // special trigger when collapsedWidth == 0\n const zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? (/*#__PURE__*/React.createElement(\"span\", {\n onClick: toggle,\n className: classNames(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`),\n style: zeroWidthTriggerStyle\n }, trigger || /*#__PURE__*/React.createElement(BarsOutlined, null))) : null;\n const reverseIcon = direction === 'rtl' === !reverseArrow;\n const iconObj = {\n expanded: reverseIcon ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null),\n collapsed: reverseIcon ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n };\n const status = collapsed ? 'collapsed' : 'expanded';\n const defaultTrigger = iconObj[status];\n const triggerDom = trigger !== null ? zeroWidthTrigger || (/*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-trigger`,\n onClick: toggle,\n style: {\n width: siderWidth\n }\n }, trigger || defaultTrigger)) : null;\n const divStyle = Object.assign(Object.assign({}, style), {\n flex: `0 0 ${siderWidth}`,\n maxWidth: siderWidth,\n minWidth: siderWidth,\n width: siderWidth\n });\n const siderCls = classNames(prefixCls, `${prefixCls}-${theme}`, {\n [`${prefixCls}-collapsed`]: !!collapsed,\n [`${prefixCls}-has-trigger`]: collapsible && trigger !== null && !zeroWidthTrigger,\n [`${prefixCls}-below`]: !!below,\n [`${prefixCls}-zero-width`]: parseFloat(siderWidth) === 0\n }, className, hashId, cssVarCls);\n const contextValue = React.useMemo(() => ({\n siderCollapsed: collapsed\n }), [collapsed]);\n return wrapCSSVar(/*#__PURE__*/React.createElement(SiderContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(\"aside\", Object.assign({\n className: siderCls\n }, divProps, {\n style: divStyle,\n ref: ref\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-children`\n }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null)));\n});\nif (process.env.NODE_ENV !== 'production') {\n Sider.displayName = 'Sider';\n}\nexport default Sider;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","dimensionMaxMap","xs","sm","md","lg","xl","xxl","SiderContext","React","createContext","generateId","arguments","undefined","Sider","forwardRef","props","ref","prefixCls","customizePrefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","otherProps","siderHook","useContext","LayoutContext","collapsed","setCollapsed","useState","below","setBelow","useEffect","handleSetCollapsed","value","type","getPrefixCls","direction","ConfigContext","wrapCSSVar","hashId","cssVarCls","useStyle","responsiveHandlerRef","useRef","current","mql","matches","responsiveHandler","window","matchMedia","addEventListener","_a","addListener","removeEventListener","removeListener","uniqueId","addSider","removeSider","toggle","divProps","omit","rawWidth","siderWidth","Number","isNaN","parseFloat","isFinite","String","zeroWidthTrigger","createElement","onClick","classNames","BarsOutlined","reverseIcon","defaultTrigger","expanded","RightOutlined","LeftOutlined","triggerDom","divStyle","assign","flex","maxWidth","minWidth","siderCls","contextValue","useMemo","siderCollapsed","Provider","process","env","NODE_ENV","displayName"],"mappings":"i5BAEA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAWA,MAAMW,EAAkB,CACtBC,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,GAAI,YACJC,IAAK,aAGMC,EAA4BC,EAAMC,cAAc,CAAE,GACzDC,EAAa,MACjB,IAAIb,EAAI,EACR,OAAO,WAGL,OADAA,GAAK,EACE,GAFMc,UAAUb,OAAS,QAAsBc,IAAjBD,UAAU,GAAmBA,UAAU,GAAK,KAE9Dd,GACpB,CACF,EAPkB,GAQbgB,EAAqBL,EAAMM,YAAW,CAACC,EAAOC,KAClD,MACIC,UAAWC,EAAkBC,UAC7BA,EAASC,QACTA,EAAOC,SACPA,EAAQC,iBACRA,G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,EAAWjE,EAAW,GAAGA,KAAaM,IAAS,CAC9D,CAAC,GAAGN,iBAA0BoB,EAC9B,CAAC,GAAGpB,iBAA0BQ,GAA2B,OAAZL,IAAqB2D,EAClE,CAAC,GAAG9D,aAAsBuB,EAC1B,CAAC,GAAGvB,gBAAoD,IAA3B2D,WAAWH,IACvCtD,EAAW+B,EAAQC,GAChB6C,GAAexF,EAAMyF,SAAQ,KAAO,CACxCC,eAAgB7D,KACd,CAACA,IACL,OAAOY,EAAwBzC,EAAMwE,cAAczE,EAAa4F,SAAU,CACxEvD,MAAOoD,IACOxF,EAAMwE,cAAc,QAASzF,OAAOoG,OAAO,CACzDxE,UAAW4E,IACVzB,EAAU,CACX9C,MAAOkE,GACP1E,IAAKA,IACUR,EAAMwE,cAAc,MAAO,CAC1C7D,UAAW,GAAGF,cACbI,GAAWI,GAAee,GAASuC,EAAmBU,GAAa,OAAO,IAElD,eAAzBW,QAAQC,IAAIC,WACdzF,EAAM0F,YAAc","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Sider.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/layout/Sider.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport BarsOutlined from \"@ant-design/icons/es/icons/BarsOutlined\";\nimport LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport { LayoutContext } from './context';\nimport useStyle from './style/sider';\nconst dimensionMaxMap = {\n xs: '479.98px',\n sm: '575.98px',\n md: '767.98px',\n lg: '991.98px',\n xl: '1199.98px',\n xxl: '1599.98px'\n};\nconst isNumeric = value => !Number.isNaN(Number.parseFloat(value)) && isFinite(value);\nexport const SiderContext = /*#__PURE__*/React.createContext({});\nconst generateId = (() => {\n let i = 0;\n return function () {\n let prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';\n i += 1;\n return `${prefix}${i}`;\n };\n})();\nconst Sider = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n className,\n trigger,\n children,\n defaultCollapsed = false,\n theme = 'dark',\n style = {},\n collapsible = false,\n reverseArrow = false,\n width = 200,\n collapsedWidth = 80,\n zeroWidthTriggerStyle,\n breakpoint,\n onCollapse,\n onBreakpoint\n } = props,\n otherProps = __rest(props, [\"prefixCls\", \"className\", \"trigger\", \"children\", \"defaultCollapsed\", \"theme\", \"style\", \"collapsible\", \"reverseArrow\", \"width\", \"collapsedWidth\", \"zeroWidthTriggerStyle\", \"breakpoint\", \"onCollapse\", \"onBreakpoint\"]);\n const {\n siderHook\n } = useContext(LayoutContext);\n const [collapsed, setCollapsed] = useState('collapsed' in props ? props.collapsed : defaultCollapsed);\n const [below, setBelow] = useState(false);\n useEffect(() => {\n if ('collapsed' in props) {\n setCollapsed(props.collapsed);\n }\n }, [props.collapsed]);\n const handleSetCollapsed = (value, type) => {\n if (!('collapsed' in props)) {\n setCollapsed(value);\n }\n onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse(value, type);\n };\n // =========================== Prefix ===========================\n const {\n getPrefixCls,\n direction\n } = useContext(ConfigContext);\n const prefixCls = getPrefixCls('layout-sider', customizePrefixCls);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n // ========================= Responsive =========================\n const responsiveHandlerRef = useRef(null);\n responsiveHandlerRef.current = mql => {\n setBelow(mql.matches);\n onBreakpoint === null || onBreakpoint === void 0 ? void 0 : onBreakpoint(mql.matches);\n if (collapsed !== mql.matches) {\n handleSetCollapsed(mql.matches, 'responsive');\n }\n };\n useEffect(() => {\n function responsiveHandler(mql) {\n return responsiveHandlerRef.current(mql);\n }\n let mql;\n if (typeof window !== 'undefined') {\n const {\n matchMedia\n } = window;\n if (matchMedia && breakpoint && breakpoint in dimensionMaxMap) {\n mql = matchMedia(`screen and (max-width: ${dimensionMaxMap[breakpoint]})`);\n try {\n mql.addEventListener('change', responsiveHandler);\n } catch (_a) {\n mql.addListener(responsiveHandler);\n }\n responsiveHandler(mql);\n }\n }\n return () => {\n try {\n mql === null || mql === void 0 ? void 0 : mql.removeEventListener('change', responsiveHandler);\n } catch (_a) {\n mql === null || mql === void 0 ? void 0 : mql.removeListener(responsiveHandler);\n }\n };\n }, [breakpoint]); // in order to accept dynamic 'breakpoint' property, we need to add 'breakpoint' into dependency array.\n useEffect(() => {\n const uniqueId = generateId('ant-sider-');\n siderHook.addSider(uniqueId);\n return () => siderHook.removeSider(uniqueId);\n }, []);\n const toggle = () => {\n handleSetCollapsed(!collapsed, 'clickTrigger');\n };\n const divProps = omit(otherProps, ['collapsed']);\n const rawWidth = collapsed ? collapsedWidth : width;\n // use \"px\" as fallback unit for width\n const siderWidth = isNumeric(rawWidth) ? `${rawWidth}px` : String(rawWidth);\n // special trigger when collapsedWidth == 0\n const zeroWidthTrigger = parseFloat(String(collapsedWidth || 0)) === 0 ? (/*#__PURE__*/React.createElement(\"span\", {\n onClick: toggle,\n className: classNames(`${prefixCls}-zero-width-trigger`, `${prefixCls}-zero-width-trigger-${reverseArrow ? 'right' : 'left'}`),\n style: zeroWidthTriggerStyle\n }, trigger || /*#__PURE__*/React.createElement(BarsOutlined, null))) : null;\n const reverseIcon = direction === 'rtl' === !reverseArrow;\n const iconObj = {\n expanded: reverseIcon ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null),\n collapsed: reverseIcon ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n };\n const status = collapsed ? 'collapsed' : 'expanded';\n const defaultTrigger = iconObj[status];\n const triggerDom = trigger !== null ? zeroWidthTrigger || (/*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-trigger`,\n onClick: toggle,\n style: {\n width: siderWidth\n }\n }, trigger || defaultTrigger)) : null;\n const divStyle = Object.assign(Object.assign({}, style), {\n flex: `0 0 ${siderWidth}`,\n maxWidth: siderWidth,\n minWidth: siderWidth,\n width: siderWidth\n });\n const siderCls = classNames(prefixCls, `${prefixCls}-${theme}`, {\n [`${prefixCls}-collapsed`]: !!collapsed,\n [`${prefixCls}-has-trigger`]: collapsible && trigger !== null && !zeroWidthTrigger,\n [`${prefixCls}-below`]: !!below,\n [`${prefixCls}-zero-width`]: parseFloat(siderWidth) === 0\n }, className, hashId, cssVarCls);\n const contextValue = React.useMemo(() => ({\n siderCollapsed: collapsed\n }), [collapsed]);\n return wrapCSSVar(/*#__PURE__*/React.createElement(SiderContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(\"aside\", Object.assign({\n className: siderCls\n }, divProps, {\n style: divStyle,\n ref: ref\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-children`\n }, children), collapsible || below && zeroWidthTrigger ? triggerDom : null)));\n});\nif (process.env.NODE_ENV !== 'production') {\n Sider.displayName = 'Sider';\n}\nexport default Sider;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","dimensionMaxMap","xs","sm","md","lg","xl","xxl","SiderContext","React","createContext","generateId","arguments","undefined","Sider","forwardRef","props","ref","prefixCls","customizePrefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint","otherProps","siderHook","useContext","LayoutContext","collapsed","setCollapsed","useState","below","setBelow","useEffect","handleSetCollapsed","value","type","getPrefixCls","direction","ConfigContext","wrapCSSVar","hashId","cssVarCls","useStyle","responsiveHandlerRef","useRef","current","mql","matches","responsiveHandler","window","matchMedia","addEventListener","_a","addListener","removeEventListener","removeListener","uniqueId","addSider","removeSider","toggle","divProps","omit","rawWidth","siderWidth","Number","isNaN","parseFloat","isFinite","String","zeroWidthTrigger","createElement","onClick","classNames","BarsOutlined","reverseIcon","defaultTrigger","expanded","RightOutlined","LeftOutlined","triggerDom","divStyle","assign","flex","maxWidth","minWidth","siderCls","contextValue","useMemo","siderCollapsed","Provider","process","env","NODE_ENV","displayName"],"mappings":"k5BAEA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAWA,MAAMW,EAAkB,CACtBC,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,GAAI,WACJC,GAAI,YACJC,IAAK,aAGMC,EAA4BC,EAAMC,cAAc,CAAE,GACzDC,EAAa,MACjB,IAAIb,EAAI,EACR,OAAO,WAGL,OADAA,GAAK,EACE,GAFMc,UAAUb,OAAS,QAAsBc,IAAjBD,UAAU,GAAmBA,UAAU,GAAK,KAE9Dd,GACpB,CACF,EAPkB,GAQbgB,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G,OAAO,CAAA,EAAInE,GAAQ,CACvDoE,KAAM,OAAOnB,IACboB,SAAUpB,EACVqB,SAAUrB,EACV9C,MAAO8C,IAEHsB,GAAWb,EAAWjE,EAAW,GAAGA,KAAaM,IAAS,CAC9D,CAAC,GAAGN,iBAA0BoB,EAC9B,CAAC,GAAGpB,iBAA0BQ,GAA2B,OAAZL,IAAqB2D,EAClE,CAAC,GAAG9D,aAAsBuB,EAC1B,CAAC,GAAGvB,gBAAoD,IAA3B2D,WAAWH,IACvCtD,EAAW+B,EAAQC,GAChB6C,GAAexF,EAAMyF,SAAQ,KAAO,CACxCC,eAAgB7D,KACd,CAACA,IACL,OAAOY,EAAwBzC,EAAMwE,cAAczE,EAAa4F,SAAU,CACxEvD,MAAOoD,IACOxF,EAAMwE,cAAc,QAASzF,OAAOoG,OAAO,CACzDxE,UAAW4E,IACVzB,EAAU,CACX9C,MAAOkE,GACP1E,IAAKA,IACUR,EAAMwE,cAAc,MAAO,CAC1C7D,UAAW,GAAGF,cACbI,GAAWI,GAAee,GAASuC,EAAmBU,GAAa,OAAO,IAElD,eAAzBW,QAAQC,IAAIC,WACdzF,EAAM0F,YAAc","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import e from"../../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js";import*as t from"react";import r from"../../../../../../../_virtual/index.js";import s from"../../../../../rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/omit.js";import"../config-provider/index.js";import{ConfigContext as a,useComponentConfig as o}from"../config-provider/context.js";import{LayoutContext as i}from"./context.js";import l from"./hooks/useHasSider.js";import m from"./style/index.js";var n=function(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(s=Object.getOwnPropertySymbols(e);a<s.length;a++)t.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(e,s[a])&&(r[s[a]]=e[s[a]])}return r};function f(e){let{suffixCls:r,tagName:s,displayName:a}=e;return e=>{const o=t.forwardRef(((a,o)=>t.createElement(e,Object.assign({ref:o,suffixCls:r,tagName:s},a))));return"production"!==process.env.NODE_ENV&&(o.displayName=a),o}}const c=t.forwardRef(((e,s)=>{const{prefixCls:o,suffixCls:i,className:l,tagName:f}=e,c=n(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:d}=t.useContext(a),u=d("layout",o),[p,N,y]=m(u),x=i?`${u}-${i}`:u;return p(t.createElement(f,Object.assign({className:r(o||x,l,N,y),ref:s},c)))})),d=t.forwardRef(((f,c)=>{const{direction:d}=t.useContext(a),[u,p]=t.useState([]),{prefixCls:N,className:y,rootClassName:x,children:g,hasSider:C,tagName:b,style:j}=f,O=n(f,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),v=s(O,["suffixCls"]),{getPrefixCls:h,className:_,style:S}=o("layout"),E=h("layout",N),w=l(u,g,C),[P,$,H]=m(E),R=r(E,{[`${E}-has-sider`]:w,[`${E}-rtl`]:"rtl"===d},_,y,x,$,H),k=t.useMemo((()=>({siderHook:{addSider:t=>{p((r=>[].concat(e(r),[t])))},removeSider:e=>{p((t=>t.filter((t=>t!==e))))}}})),[]);return P(t.createElement(i.Provider,{value:k},t.createElement(b,Object.assign({ref:c,className:R,style:Object.assign(Object.assign({},S),j)},v),g)))})),u=f({tagName:"div",displayName:"Layout"})(d),p=f({suffixCls:"header",tagName:"header",displayName:"Header"})(c),N=f({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(c),y=f({suffixCls:"content",tagName:"main",displayName:"Content"})(c);export{y as Content,N as Footer,p as Header,u as default};
1
+ import e from"../../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js";import*as t from"react";import r from"../../../../../../../_virtual/index2.js";import s from"../../../../../rc-util@5.44.4_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/rc-util/es/omit.js";import"../config-provider/index.js";import{ConfigContext as a,useComponentConfig as o}from"../config-provider/context.js";import{LayoutContext as i}from"./context.js";import l from"./hooks/useHasSider.js";import m from"./style/index.js";var n=function(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(s=Object.getOwnPropertySymbols(e);a<s.length;a++)t.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(e,s[a])&&(r[s[a]]=e[s[a]])}return r};function f(e){let{suffixCls:r,tagName:s,displayName:a}=e;return e=>{const o=t.forwardRef(((a,o)=>t.createElement(e,Object.assign({ref:o,suffixCls:r,tagName:s},a))));return"production"!==process.env.NODE_ENV&&(o.displayName=a),o}}const c=t.forwardRef(((e,s)=>{const{prefixCls:o,suffixCls:i,className:l,tagName:f}=e,c=n(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:d}=t.useContext(a),u=d("layout",o),[p,N,y]=m(u),x=i?`${u}-${i}`:u;return p(t.createElement(f,Object.assign({className:r(o||x,l,N,y),ref:s},c)))})),d=t.forwardRef(((f,c)=>{const{direction:d}=t.useContext(a),[u,p]=t.useState([]),{prefixCls:N,className:y,rootClassName:x,children:g,hasSider:C,tagName:b,style:j}=f,O=n(f,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),v=s(O,["suffixCls"]),{getPrefixCls:h,className:_,style:S}=o("layout"),E=h("layout",N),w=l(u,g,C),[P,$,H]=m(E),R=r(E,{[`${E}-has-sider`]:w,[`${E}-rtl`]:"rtl"===d},_,y,x,$,H),k=t.useMemo((()=>({siderHook:{addSider:t=>{p((r=>[].concat(e(r),[t])))},removeSider:e=>{p((t=>t.filter((t=>t!==e))))}}})),[]);return P(t.createElement(i.Provider,{value:k},t.createElement(b,Object.assign({ref:c,className:R,style:Object.assign(Object.assign({},S),j)},v),g)))})),u=f({tagName:"div",displayName:"Layout"})(d),p=f({suffixCls:"header",tagName:"header",displayName:"Header"})(c),N=f({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(c),y=f({suffixCls:"content",tagName:"main",displayName:"Content"})(c);export{y as Content,N as Footer,p as Header,u as default};
2
2
  //# sourceMappingURL=layout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"layout.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/layout/layout.js"],"sourcesContent":["\"use client\";\n\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport { useComponentConfig } from '../config-provider/context';\nimport { LayoutContext } from './context';\nimport useHasSider from './hooks/useHasSider';\nimport useStyle from './style';\nfunction generator(_ref) {\n let {\n suffixCls,\n tagName,\n displayName\n } = _ref;\n return BasicComponent => {\n const Adapter = /*#__PURE__*/React.forwardRef((props, ref) => (/*#__PURE__*/React.createElement(BasicComponent, Object.assign({\n ref: ref,\n suffixCls: suffixCls,\n tagName: tagName\n }, props))));\n if (process.env.NODE_ENV !== 'production') {\n Adapter.displayName = displayName;\n }\n return Adapter;\n };\n}\nconst Basic = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n suffixCls,\n className,\n tagName: TagName\n } = props,\n others = __rest(props, [\"prefixCls\", \"suffixCls\", \"className\", \"tagName\"]);\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('layout', customizePrefixCls);\n const [wrapSSR, hashId, cssVarCls] = useStyle(prefixCls);\n const prefixWithSuffixCls = suffixCls ? `${prefixCls}-${suffixCls}` : prefixCls;\n return wrapSSR(/*#__PURE__*/React.createElement(TagName, Object.assign({\n className: classNames(customizePrefixCls || prefixWithSuffixCls, className, hashId, cssVarCls),\n ref: ref\n }, others)));\n});\nconst BasicLayout = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n direction\n } = React.useContext(ConfigContext);\n const [siders, setSiders] = React.useState([]);\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n children,\n hasSider,\n tagName: Tag,\n style\n } = props,\n others = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"children\", \"hasSider\", \"tagName\", \"style\"]);\n const passedProps = omit(others, ['suffixCls']);\n const {\n getPrefixCls,\n className: contextClassName,\n style: contextStyle\n } = useComponentConfig('layout');\n const prefixCls = getPrefixCls('layout', customizePrefixCls);\n const mergedHasSider = useHasSider(siders, children, hasSider);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const classString = classNames(prefixCls, {\n [`${prefixCls}-has-sider`]: mergedHasSider,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, contextClassName, className, rootClassName, hashId, cssVarCls);\n const contextValue = React.useMemo(() => ({\n siderHook: {\n addSider: id => {\n setSiders(prev => [].concat(_toConsumableArray(prev), [id]));\n },\n removeSider: id => {\n setSiders(prev => prev.filter(currentId => currentId !== id));\n }\n }\n }), []);\n return wrapCSSVar(/*#__PURE__*/React.createElement(LayoutContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Tag, Object.assign({\n ref: ref,\n className: classString,\n style: Object.assign(Object.assign({}, contextStyle), style)\n }, passedProps), children)));\n});\nconst Layout = generator({\n tagName: 'div',\n displayName: 'Layout'\n})(BasicLayout);\nconst Header = generator({\n suffixCls: 'header',\n tagName: 'header',\n displayName: 'Header'\n})(Basic);\nconst Footer = generator({\n suffixCls: 'footer',\n tagName: 'footer',\n displayName: 'Footer'\n})(Basic);\nconst Content = generator({\n suffixCls: 'content',\n tagName: 'main',\n displayName: 'Content'\n})(Basic);\nexport { Content, Footer, Header };\nexport default Layout;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","generator","_ref","suffixCls","tagName","displayName","BasicComponent","Adapter","React","forwardRef","props","ref","createElement","assign","process","env","NODE_ENV","Basic","prefixCls","customizePrefixCls","className","TagName","others","getPrefixCls","useContext","ConfigContext","wrapSSR","hashId","cssVarCls","useStyle","prefixWithSuffixCls","classNames","BasicLayout","direction","siders","setSiders","useState","rootClassName","children","hasSider","Tag","style","passedProps","omit","contextClassName","contextStyle","useComponentConfig","mergedHasSider","useHasSider","wrapCSSVar","classString","contextValue","useMemo","siderHook","addSider","id","prev","concat","_toConsumableArray","removeSider","filter","currentId","LayoutContext","Provider","value","Layout","Header","Footer","Content"],"mappings":"qiBAGA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EASA,SAASW,EAAUC,GACjB,IAAIC,UACFA,EAASC,QACTA,EAAOC,YACPA,GACEH,EACJ,OAAOI,IACL,MAAMC,EAAuBC,EAAMC,YAAW,C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rBW,EAAkBxB,EAAWiB,EAAeV,EAAQC,GACjDuB,EAAe3C,EAAM4C,SAAQ,KAAO,CACxCC,UAAW,CACTC,SAAUC,IACRpB,GAAUqB,GAAQ,GAAGC,OAAOC,EAAmBF,GAAO,CAACD,KAAK,EAE9DI,YAAaJ,IACXpB,GAAUqB,GAAQA,EAAKI,QAAOC,GAAaA,IAAcN,KAAI,MAG/D,IACJ,OAAON,EAAwBzC,EAAMI,cAAckD,EAAcC,SAAU,CACzEC,MAAOb,GACO3C,EAAMI,cAAc4B,EAAKhD,OAAOqB,OAAO,CACrDF,IAAKA,EACLS,UAAW8B,EACXT,MAAOjD,OAAOqB,OAAOrB,OAAOqB,OAAO,CAAE,EAAEgC,GAAeJ,IACrDC,GAAcJ,IAAW,IAExB2B,EAAShE,EAAU,CACvBG,QAAS,MACTC,YAAa,UAFAJ,CAGZ+B,GACGkC,EAASjE,EAAU,CACvBE,UAAW,SACXC,QAAS,SACTC,YAAa,UAHAJ,CAIZgB,GACGkD,EAASlE,EAAU,CACvBE,UAAW,SACXC,QAAS,SACTC,YAAa,UAHAJ,CAIZgB,GACGmD,EAAUnE,EAAU,CACxBE,UAAW,UACXC,QAAS,OACTC,YAAa,WAHCJ,CAIbgB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"layout.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/layout/layout.js"],"sourcesContent":["\"use client\";\n\nimport _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport * as React from 'react';\nimport classNames from 'classnames';\nimport omit from \"rc-util/es/omit\";\nimport { ConfigContext } from '../config-provider';\nimport { useComponentConfig } from '../config-provider/context';\nimport { LayoutContext } from './context';\nimport useHasSider from './hooks/useHasSider';\nimport useStyle from './style';\nfunction generator(_ref) {\n let {\n suffixCls,\n tagName,\n displayName\n } = _ref;\n return BasicComponent => {\n const Adapter = /*#__PURE__*/React.forwardRef((props, ref) => (/*#__PURE__*/React.createElement(BasicComponent, Object.assign({\n ref: ref,\n suffixCls: suffixCls,\n tagName: tagName\n }, props))));\n if (process.env.NODE_ENV !== 'production') {\n Adapter.displayName = displayName;\n }\n return Adapter;\n };\n}\nconst Basic = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n suffixCls,\n className,\n tagName: TagName\n } = props,\n others = __rest(props, [\"prefixCls\", \"suffixCls\", \"className\", \"tagName\"]);\n const {\n getPrefixCls\n } = React.useContext(ConfigContext);\n const prefixCls = getPrefixCls('layout', customizePrefixCls);\n const [wrapSSR, hashId, cssVarCls] = useStyle(prefixCls);\n const prefixWithSuffixCls = suffixCls ? `${prefixCls}-${suffixCls}` : prefixCls;\n return wrapSSR(/*#__PURE__*/React.createElement(TagName, Object.assign({\n className: classNames(customizePrefixCls || prefixWithSuffixCls, className, hashId, cssVarCls),\n ref: ref\n }, others)));\n});\nconst BasicLayout = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n direction\n } = React.useContext(ConfigContext);\n const [siders, setSiders] = React.useState([]);\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n children,\n hasSider,\n tagName: Tag,\n style\n } = props,\n others = __rest(props, [\"prefixCls\", \"className\", \"rootClassName\", \"children\", \"hasSider\", \"tagName\", \"style\"]);\n const passedProps = omit(others, ['suffixCls']);\n const {\n getPrefixCls,\n className: contextClassName,\n style: contextStyle\n } = useComponentConfig('layout');\n const prefixCls = getPrefixCls('layout', customizePrefixCls);\n const mergedHasSider = useHasSider(siders, children, hasSider);\n const [wrapCSSVar, hashId, cssVarCls] = useStyle(prefixCls);\n const classString = classNames(prefixCls, {\n [`${prefixCls}-has-sider`]: mergedHasSider,\n [`${prefixCls}-rtl`]: direction === 'rtl'\n }, contextClassName, className, rootClassName, hashId, cssVarCls);\n const contextValue = React.useMemo(() => ({\n siderHook: {\n addSider: id => {\n setSiders(prev => [].concat(_toConsumableArray(prev), [id]));\n },\n removeSider: id => {\n setSiders(prev => prev.filter(currentId => currentId !== id));\n }\n }\n }), []);\n return wrapCSSVar(/*#__PURE__*/React.createElement(LayoutContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Tag, Object.assign({\n ref: ref,\n className: classString,\n style: Object.assign(Object.assign({}, contextStyle), style)\n }, passedProps), children)));\n});\nconst Layout = generator({\n tagName: 'div',\n displayName: 'Layout'\n})(BasicLayout);\nconst Header = generator({\n suffixCls: 'header',\n tagName: 'header',\n displayName: 'Header'\n})(Basic);\nconst Footer = generator({\n suffixCls: 'footer',\n tagName: 'footer',\n displayName: 'Footer'\n})(Basic);\nconst Content = generator({\n suffixCls: 'content',\n tagName: 'main',\n displayName: 'Content'\n})(Basic);\nexport { Content, Footer, Header };\nexport default Layout;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","generator","_ref","suffixCls","tagName","displayName","BasicComponent","Adapter","React","forwardRef","props","ref","createElement","assign","process","env","NODE_ENV","Basic","prefixCls","customizePrefixCls","className","TagName","others","getPrefixCls","useContext","ConfigContext","wrapSSR","hashId","cssVarCls","useStyle","prefixWithSuffixCls","classNames","BasicLayout","direction","siders","setSiders","useState","rootClassName","children","hasSider","Tag","style","passedProps","omit","contextClassName","contextStyle","useComponentConfig","mergedHasSider","useHasSider","wrapCSSVar","classString","contextValue","useMemo","siderHook","addSider","id","prev","concat","_toConsumableArray","removeSider","filter","currentId","LayoutContext","Provider","value","Layout","Header","Footer","Content"],"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AAU,CACvBE,UAAW,SACXC,QAAS,SACTC,YAAa,UAHAJ,CAIZgB,GACGmD,EAAUnE,EAAU,CACxBE,UAAW,UACXC,QAAS,OACTC,YAAa,WAHCJ,CAIbgB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import e,{useContext as t,Children as a}from"react";import i from"../../../../../../../_virtual/index.js";import{cloneElement as r}from"../_util/reactNode.js";import"../config-provider/index.js";import l from"../grid/col.js";import{ListContext as s}from"./context.js";import{ConfigContext as n}from"../config-provider/context.js";var o=function(e,t){var a={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(a[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(a[i[r]]=e[i[r]])}return a};const c=a=>{var{prefixCls:r,className:l,avatar:s,title:c,description:m}=a,d=o(a,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:v}=t(n),f=v("list",r),p=i(`${f}-item-meta`,l),u=e.createElement("div",{className:`${f}-item-meta-content`},c&&e.createElement("h4",{className:`${f}-item-meta-title`},c),m&&e.createElement("div",{className:`${f}-item-meta-description`},m));return e.createElement("div",Object.assign({},d,{className:p}),s&&e.createElement("div",{className:`${f}-item-meta-avatar`},s),(c||m)&&u)},m=e.forwardRef(((c,m)=>{const{prefixCls:d,children:v,actions:f,extra:p,styles:u,className:y,classNames:x,colStyle:N}=c,g=o(c,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:j,itemLayout:E}=t(s),{getPrefixCls:O,list:$}=t(n),b=e=>{var t,a;return i(null===(a=null===(t=null==$?void 0:$.item)||void 0===t?void 0:t.classNames)||void 0===a?void 0:a[e],null==x?void 0:x[e])},h=e=>{var t,a;return Object.assign(Object.assign({},null===(a=null===(t=null==$?void 0:$.item)||void 0===t?void 0:t.styles)||void 0===a?void 0:a[e]),null==u?void 0:u[e])},C=O("list",d),k=f&&f.length>0&&e.createElement("ul",{className:i(`${C}-item-action`,b("actions")),key:"actions",style:h("actions")},f.map(((t,a)=>e.createElement("li",{key:`${C}-item-action-${a}`},t,a!==f.length-1&&e.createElement("em",{className:`${C}-item-action-split`}))))),P=j?"div":"li",w=e.createElement(P,Object.assign({},g,j?{}:{ref:m},{className:i(`${C}-item`,{[`${C}-item-no-flex`]:!("vertical"===E?p:!(()=>{let e=!1;return a.forEach(v,(t=>{"string"==typeof t&&(e=!0)})),e&&a.count(v)>1})())},y)}),"vertical"===E&&p?[e.createElement("div",{className:`${C}-item-main`,key:"content"},v,k),e.createElement("div",{className:i(`${C}-item-extra`,b("extra")),key:"extra",style:h("extra")},p)]:[v,k,r(p,{key:"extra"})]);return j?e.createElement(l,{ref:m,flex:1,style:N},w):w}));m.Meta=c;export{c as Meta,m as default};
1
+ import e,{useContext as t,Children as a}from"react";import i from"../../../../../../../_virtual/index2.js";import{cloneElement as r}from"../_util/reactNode.js";import"../config-provider/index.js";import l from"../grid/col.js";import{ListContext as s}from"./context.js";import{ConfigContext as n}from"../config-provider/context.js";var o=function(e,t){var a={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(a[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(a[i[r]]=e[i[r]])}return a};const c=a=>{var{prefixCls:r,className:l,avatar:s,title:c,description:m}=a,d=o(a,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:v}=t(n),f=v("list",r),p=i(`${f}-item-meta`,l),u=e.createElement("div",{className:`${f}-item-meta-content`},c&&e.createElement("h4",{className:`${f}-item-meta-title`},c),m&&e.createElement("div",{className:`${f}-item-meta-description`},m));return e.createElement("div",Object.assign({},d,{className:p}),s&&e.createElement("div",{className:`${f}-item-meta-avatar`},s),(c||m)&&u)},m=e.forwardRef(((c,m)=>{const{prefixCls:d,children:v,actions:f,extra:p,styles:u,className:y,classNames:x,colStyle:N}=c,g=o(c,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:j,itemLayout:E}=t(s),{getPrefixCls:O,list:$}=t(n),b=e=>{var t,a;return i(null===(a=null===(t=null==$?void 0:$.item)||void 0===t?void 0:t.classNames)||void 0===a?void 0:a[e],null==x?void 0:x[e])},h=e=>{var t,a;return Object.assign(Object.assign({},null===(a=null===(t=null==$?void 0:$.item)||void 0===t?void 0:t.styles)||void 0===a?void 0:a[e]),null==u?void 0:u[e])},C=O("list",d),k=f&&f.length>0&&e.createElement("ul",{className:i(`${C}-item-action`,b("actions")),key:"actions",style:h("actions")},f.map(((t,a)=>e.createElement("li",{key:`${C}-item-action-${a}`},t,a!==f.length-1&&e.createElement("em",{className:`${C}-item-action-split`}))))),P=j?"div":"li",w=e.createElement(P,Object.assign({},g,j?{}:{ref:m},{className:i(`${C}-item`,{[`${C}-item-no-flex`]:!("vertical"===E?p:!(()=>{let e=!1;return a.forEach(v,(t=>{"string"==typeof t&&(e=!0)})),e&&a.count(v)>1})())},y)}),"vertical"===E&&p?[e.createElement("div",{className:`${C}-item-main`,key:"content"},v,k),e.createElement("div",{className:i(`${C}-item-extra`,b("extra")),key:"extra",style:h("extra")},p)]:[v,k,r(p,{key:"extra"})]);return j?e.createElement(l,{ref:m,flex:1,style:N},w):w}));m.Meta=c;export{c as Meta,m as default};
2
2
  //# sourceMappingURL=Item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Item.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/list/Item.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { Children, useContext } from 'react';\nimport classNames from 'classnames';\nimport { cloneElement } from '../_util/reactNode';\nimport { ConfigContext } from '../config-provider';\nimport { Col } from '../grid';\nimport { ListContext } from './context';\nexport const Meta = _a => {\n var {\n prefixCls: customizePrefixCls,\n className,\n avatar,\n title,\n description\n } = _a,\n others = __rest(_a, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n const {\n getPrefixCls\n } = useContext(ConfigContext);\n const prefixCls = getPrefixCls('list', customizePrefixCls);\n const classString = classNames(`${prefixCls}-item-meta`, className);\n const content = /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-meta-content`\n }, title && /*#__PURE__*/React.createElement(\"h4\", {\n className: `${prefixCls}-item-meta-title`\n }, title), description && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-meta-description`\n }, description));\n return /*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n className: classString\n }), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-meta-avatar`\n }, avatar), (title || description) && content);\n};\nconst InternalItem = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n children,\n actions,\n extra,\n styles,\n className,\n classNames: customizeClassNames,\n colStyle\n } = props,\n others = __rest(props, [\"prefixCls\", \"children\", \"actions\", \"extra\", \"styles\", \"className\", \"classNames\", \"colStyle\"]);\n const {\n grid,\n itemLayout\n } = useContext(ListContext);\n const {\n getPrefixCls,\n list\n } = useContext(ConfigContext);\n const moduleClass = moduleName => {\n var _a, _b;\n return classNames((_b = (_a = list === null || list === void 0 ? void 0 : list.item) === null || _a === void 0 ? void 0 : _a.classNames) === null || _b === void 0 ? void 0 : _b[moduleName], customizeClassNames === null || customizeClassNames === void 0 ? void 0 : customizeClassNames[moduleName]);\n };\n const moduleStyle = moduleName => {\n var _a, _b;\n return Object.assign(Object.assign({}, (_b = (_a = list === null || list === void 0 ? void 0 : list.item) === null || _a === void 0 ? void 0 : _a.styles) === null || _b === void 0 ? void 0 : _b[moduleName]), styles === null || styles === void 0 ? void 0 : styles[moduleName]);\n };\n const isItemContainsTextNodeAndNotSingular = () => {\n let result = false;\n Children.forEach(children, element => {\n if (typeof element === 'string') {\n result = true;\n }\n });\n return result && Children.count(children) > 1;\n };\n const isFlexMode = () => {\n if (itemLayout === 'vertical') {\n return !!extra;\n }\n return !isItemContainsTextNodeAndNotSingular();\n };\n const prefixCls = getPrefixCls('list', customizePrefixCls);\n const actionsContent = actions && actions.length > 0 && (/*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(`${prefixCls}-item-action`, moduleClass('actions')),\n key: \"actions\",\n style: moduleStyle('actions')\n }, actions.map((action, i) => (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: `${prefixCls}-item-action-${i}`\n }, action, i !== actions.length - 1 && /*#__PURE__*/React.createElement(\"em\", {\n className: `${prefixCls}-item-action-split`\n }))))));\n const Element = grid ? 'div' : 'li';\n const itemChildren = /*#__PURE__*/React.createElement(Element, Object.assign({}, others, !grid ? {\n ref\n } : {}, {\n className: classNames(`${prefixCls}-item`, {\n [`${prefixCls}-item-no-flex`]: !isFlexMode()\n }, className)\n }), itemLayout === 'vertical' && extra ? [/*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-main`,\n key: \"content\"\n }, children, actionsContent), /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-item-extra`, moduleClass('extra')),\n key: \"extra\",\n style: moduleStyle('extra')\n }, extra)] : [children, actionsContent, cloneElement(extra, {\n key: 'extra'\n })]);\n return grid ? (/*#__PURE__*/React.createElement(Col, {\n ref: ref,\n flex: 1,\n style: colStyle\n }, itemChildren)) : itemChildren;\n});\nconst Item = InternalItem;\nItem.Meta = Meta;\nexport default Item;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","Meta","_a","prefixCls","customizePrefixCls","className","avatar","title","description","others","getPrefixCls","useContext","ConfigContext","classString","classNames","content","React","createElement","assign","Item","forwardRef","props","ref","children","actions","extra","styles","customizeClassNames","colStyle","grid","itemLayout","ListContext","list","moduleClass","moduleName","_b","item","moduleStyle","actionsContent","key","style","map","action","Element","itemChildren","result","Children","forEach","element","count","isItemContainsTextNodeAndNotSingular","cloneElement","Col","flex"],"mappings":"0UAEA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAOY,MAACW,EAAOC,IAClB,IACIC,UAAWC,EAAkBC,UAC7BA,EAASC,OACTA,EAAMC,MACNA,EAAKC,YACLA,GACEN,EACJO,EAAStB,EAAOe,EAAI,CAAC,YAAa,YAAa,SAAU,QAAS,gBACpE,MAAMQ,aACJA,GACEC,EAAWC,GACTT,EAAYO,EAAa,OAAQN,GACjCS,EAAcC,EAAW,GAAGX,cAAuBE,GACnDU,EAAuBC,EAAMC,cAAc,MAAO,CACtDZ,UAAW,GAAGF,uBACbI,GAAsBS,EAAMC,cAAc,KAAM,CACjDZ,UA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AAK,UACLC,MAAOH,EAAY,YAClBb,EAAQiB,KAAI,CAACC,EAAQ5C,IAGxBkB,EAAMC,cAAc,KAAM,CACxBsB,IAAK,GAAGpC,iBAAyBL,KAChC4C,EAAQ5C,IAAM0B,EAAQzB,OAAS,GAAkBiB,EAAMC,cAAc,KAAM,CAC5EZ,UAAW,GAAGF,4BAEVwC,EAAUd,EAAO,MAAQ,KACzBe,EAA4B5B,EAAMC,cAAc0B,EAASnD,OAAO0B,OAAO,CAAE,EAAET,EAASoB,EAEtF,GAF6F,CAC/FP,OACM,CACNjB,UAAWS,EAAW,GAAGX,SAAkB,CACzC,CAAC,GAAGA,oBAvBa,aAAf2B,EACOL,GAXgC,MAC3C,IAAIoB,GAAS,EAMb,OALAC,EAASC,QAAQxB,GAAUyB,IACF,iBAAZA,IACTH,GAAS,EACjB,IAEWA,GAAUC,EAASG,MAAM1B,GAAY,CAAC,EAMrC2B,KAqBL7C,KACc,aAAfyB,GAA6BL,EAAQ,CAAcT,EAAMC,cAAc,MAAO,CAChFZ,UAAW,GAAGF,cACdoC,IAAK,WACJhB,EAAUe,GAA8BtB,EAAMC,cAAc,MAAO,CACpEZ,UAAWS,EAAW,GAAGX,eAAwB8B,EAAY,UAC7DM,IAAK,QACLC,MAAOH,EAAY,UAClBZ,IAAU,CAACF,EAAUe,EAAgBa,EAAa1B,EAAO,CAC1Dc,IAAK,YAEP,OAAOV,EAAqBb,EAAMC,cAAcmC,EAAK,CACnD9B,IAAKA,EACL+B,KAAM,EACNb,MAAOZ,GACNgB,GAAiBA,CAAY,IAGlCzB,EAAKlB,KAAOA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"Item.js","sources":["../../../../../../../../node_modules/.pnpm/antd@5.24.8_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/antd/es/list/Item.js"],"sourcesContent":["\"use client\";\n\nvar __rest = this && this.__rest || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n};\nimport React, { Children, useContext } from 'react';\nimport classNames from 'classnames';\nimport { cloneElement } from '../_util/reactNode';\nimport { ConfigContext } from '../config-provider';\nimport { Col } from '../grid';\nimport { ListContext } from './context';\nexport const Meta = _a => {\n var {\n prefixCls: customizePrefixCls,\n className,\n avatar,\n title,\n description\n } = _a,\n others = __rest(_a, [\"prefixCls\", \"className\", \"avatar\", \"title\", \"description\"]);\n const {\n getPrefixCls\n } = useContext(ConfigContext);\n const prefixCls = getPrefixCls('list', customizePrefixCls);\n const classString = classNames(`${prefixCls}-item-meta`, className);\n const content = /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-meta-content`\n }, title && /*#__PURE__*/React.createElement(\"h4\", {\n className: `${prefixCls}-item-meta-title`\n }, title), description && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-meta-description`\n }, description));\n return /*#__PURE__*/React.createElement(\"div\", Object.assign({}, others, {\n className: classString\n }), avatar && /*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-meta-avatar`\n }, avatar), (title || description) && content);\n};\nconst InternalItem = /*#__PURE__*/React.forwardRef((props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n children,\n actions,\n extra,\n styles,\n className,\n classNames: customizeClassNames,\n colStyle\n } = props,\n others = __rest(props, [\"prefixCls\", \"children\", \"actions\", \"extra\", \"styles\", \"className\", \"classNames\", \"colStyle\"]);\n const {\n grid,\n itemLayout\n } = useContext(ListContext);\n const {\n getPrefixCls,\n list\n } = useContext(ConfigContext);\n const moduleClass = moduleName => {\n var _a, _b;\n return classNames((_b = (_a = list === null || list === void 0 ? void 0 : list.item) === null || _a === void 0 ? void 0 : _a.classNames) === null || _b === void 0 ? void 0 : _b[moduleName], customizeClassNames === null || customizeClassNames === void 0 ? void 0 : customizeClassNames[moduleName]);\n };\n const moduleStyle = moduleName => {\n var _a, _b;\n return Object.assign(Object.assign({}, (_b = (_a = list === null || list === void 0 ? void 0 : list.item) === null || _a === void 0 ? void 0 : _a.styles) === null || _b === void 0 ? void 0 : _b[moduleName]), styles === null || styles === void 0 ? void 0 : styles[moduleName]);\n };\n const isItemContainsTextNodeAndNotSingular = () => {\n let result = false;\n Children.forEach(children, element => {\n if (typeof element === 'string') {\n result = true;\n }\n });\n return result && Children.count(children) > 1;\n };\n const isFlexMode = () => {\n if (itemLayout === 'vertical') {\n return !!extra;\n }\n return !isItemContainsTextNodeAndNotSingular();\n };\n const prefixCls = getPrefixCls('list', customizePrefixCls);\n const actionsContent = actions && actions.length > 0 && (/*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(`${prefixCls}-item-action`, moduleClass('actions')),\n key: \"actions\",\n style: moduleStyle('actions')\n }, actions.map((action, i) => (\n /*#__PURE__*/\n // eslint-disable-next-line react/no-array-index-key\n React.createElement(\"li\", {\n key: `${prefixCls}-item-action-${i}`\n }, action, i !== actions.length - 1 && /*#__PURE__*/React.createElement(\"em\", {\n className: `${prefixCls}-item-action-split`\n }))))));\n const Element = grid ? 'div' : 'li';\n const itemChildren = /*#__PURE__*/React.createElement(Element, Object.assign({}, others, !grid ? {\n ref\n } : {}, {\n className: classNames(`${prefixCls}-item`, {\n [`${prefixCls}-item-no-flex`]: !isFlexMode()\n }, className)\n }), itemLayout === 'vertical' && extra ? [/*#__PURE__*/React.createElement(\"div\", {\n className: `${prefixCls}-item-main`,\n key: \"content\"\n }, children, actionsContent), /*#__PURE__*/React.createElement(\"div\", {\n className: classNames(`${prefixCls}-item-extra`, moduleClass('extra')),\n key: \"extra\",\n style: moduleStyle('extra')\n }, extra)] : [children, actionsContent, cloneElement(extra, {\n key: 'extra'\n })]);\n return grid ? (/*#__PURE__*/React.createElement(Col, {\n ref: ref,\n flex: 1,\n style: colStyle\n }, itemChildren)) : itemChildren;\n});\nconst Item = InternalItem;\nItem.Meta = Meta;\nexport default Item;"],"names":["__rest","s","e","t","p","Object","prototype","hasOwnProperty","call","indexOf","getOwnPropertySymbols","i","length","propertyIsEnumerable","Meta","_a","prefixCls","customizePrefixCls","className","avatar","title","description","others","getPrefixCls","useContext","ConfigContext","classString","classNames","content","React","createElement","assign","Item","forwardRef","props","ref","children","actions","extra","styles","customizeClassNames","colStyle","grid","itemLayout","ListContext","list","moduleClass","moduleName","_b","item","moduleStyle","actionsContent","key","style","map","action","Element","itemChildren","result","Children","forEach","element","count","isItemContainsTextNodeAndNotSingular","cloneElement","Col","flex"],"mappings":"2UAEA,IAAIA,EAAgC,SAAUC,EAAGC,GAC/C,IAAIC,EAAI,CAAE,EACV,IAAK,IAAIC,KAAKH,EAAOI,OAAOC,UAAUC,eAAeC,KAAKP,EAAGG,IAAMF,EAAEO,QAAQL,GAAK,IAAGD,EAAEC,GAAKH,EAAEG,IAC9F,GAAS,MAALH,GAAqD,mBAAjCI,OAAOK,sBAA2C,KAAIC,EAAI,EAAb,IAAgBP,EAAIC,OAAOK,sBAAsBT,GAAIU,EAAIP,EAAEQ,OAAQD,IAClIT,EAAEO,QAAQL,EAAEO,IAAM,GAAKN,OAAOC,UAAUO,qBAAqBL,KAAKP,EAAGG,EAAEO,MAAKR,EAAEC,EAAEO,IAAMV,EAAEG,EAAEO,IADuB,CAGvH,OAAOR,CACT,EAOY,MAACW,EAAOC,IAClB,IACIC,UAAWC,EAAkBC,UAC7BA,EAASC,OACTA,EAAMC,MACNA,EAAKC,YACLA,GACEN,EACJO,EAAStB,EAAOe,EAAI,CAAC,YAAa,YAAa,SAAU,QAAS,gBACpE,MAAMQ,aACJA,GACEC,EAAWC,GACTT,EAAYO,EAAa,OAAQN,GACjCS,EAAcC,EAAW,GAAGX,cAAuBE,GACnDU,EAAuBC,EAAMC,cAAc,MAAO,CACtDZ,UAAW,GAAGF,uBACbI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EAAW,GAAGX,gBAAyB8B,EAAY,YAC9DM,IAAK,UACLC,MAAOH,EAAY,YAClBb,EAAQiB,KAAI,CAACC,EAAQ5C,IAGxBkB,EAAMC,cAAc,KAAM,CACxBsB,IAAK,GAAGpC,iBAAyBL,KAChC4C,EAAQ5C,IAAM0B,EAAQzB,OAAS,GAAkBiB,EAAMC,cAAc,KAAM,CAC5EZ,UAAW,GAAGF,4BAEVwC,EAAUd,EAAO,MAAQ,KACzBe,EAA4B5B,EAAMC,cAAc0B,EAASnD,OAAO0B,OAAO,CAAE,EAAET,EAASoB,EAEtF,GAF6F,CAC/FP,OACM,CACNjB,UAAWS,EAAW,GAAGX,SAAkB,CACzC,CAAC,GAAGA,oBAvBa,aAAf2B,EACOL,GAXgC,MAC3C,IAAIoB,GAAS,EAMb,OALAC,EAASC,QAAQxB,GAAUyB,IACF,iBAAZA,IACTH,GAAS,EACjB,IAEWA,GAAUC,EAASG,MAAM1B,GAAY,CAAC,EAMrC2B,KAqBL7C,KACc,aAAfyB,GAA6BL,EAAQ,CAAcT,EAAMC,cAAc,MAAO,CAChFZ,UAAW,GAAGF,cACdoC,IAAK,WACJhB,EAAUe,GAA8BtB,EAAMC,cAAc,MAAO,CACpEZ,UAAWS,EAAW,GAAGX,eAAwB8B,EAAY,UAC7DM,IAAK,QACLC,MAAOH,EAAY,UAClBZ,IAAU,CAACF,EAAUe,EAAgBa,EAAa1B,EAAO,CAC1Dc,IAAK,YAEP,OAAOV,EAAqBb,EAAMC,cAAcmC,EAAK,CACnD9B,IAAKA,EACL+B,KAAM,EACNb,MAAOZ,GACNgB,GAAiBA,CAAY,IAGlCzB,EAAKlB,KAAOA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import e from"../../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js";import*as t from"react";import r from"../../../../../../../_virtual/index.js";import o from"../_util/extendsObject.js";import{responsiveArray as i}from"../_util/responsiveObserver.js";import"../config-provider/index.js";import{useComponentConfig as n,ConfigContext as a}from"../config-provider/context.js";import s from"../config-provider/defaultRenderEmpty.js";import l from"../config-provider/hooks/useSize.js";import m from"../grid/hooks/useBreakpoint.js";import c from"../grid/row.js";import d from"../pagination/Pagination.js";import p from"../spin/index.js";import{ListContext as u}from"./context.js";import g from"./Item.js";import f from"./style/index.js";var y=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]])}return r};function v(g,v){const{pagination:b=!1,prefixCls:h,bordered:j=!1,split:x=!0,className:O,rootClassName:E,style:S,children:N,itemLayout:$,loadMore:C,grid:w,dataSource:z=[],size:k,header:M,footer:P,loading:L=!1,rowKey:_,renderItem:I,locale:J}=g,K=y(g,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),R=b&&"object"==typeof b?b:{},[A,B]=t.useState(R.defaultCurrent||1),[D,F]=t.useState(R.defaultPageSize||10),{getPrefixCls:H,direction:T,className:V,style:W}=n("list"),{renderEmpty:q}=t.useContext(a),G=e=>(t,r)=>{var o;B(t),F(r),b&&(null===(o=null==b?void 0:b[e])||void 0===o||o.call(b,t,r))},Q=G("onChange"),U=G("onShowSizeChange"),X=(e,r)=>{if(!I)return null;let o;return o="function"==typeof _?_(e):_?e[_]:e.key,o||(o=`list-item-${r}`),t.createElement(t.Fragment,{key:o},I(e,r))},Y=!!(C||b||P),Z=H("list",h),[ee,te,re]=f(Z);let oe=L;"boolean"==typeof oe&&(oe={spinning:oe});const ie=!!(null==oe?void 0:oe.spinning);let ne="";switch(l(k)){case"large":ne="lg";break;case"small":ne="sm"}const ae=r(Z,{[`${Z}-vertical`]:"vertical"===$,[`${Z}-${ne}`]:ne,[`${Z}-split`]:x,[`${Z}-bordered`]:j,[`${Z}-loading`]:ie,[`${Z}-grid`]:!!w,[`${Z}-something-after-last-item`]:Y,[`${Z}-rtl`]:"rtl"===T},V,O,E,te,re),se=o({current:1,total:0},{total:z.length,current:A,pageSize:D},b||{}),le=Math.ceil(se.total/se.pageSize);se.current=Math.min(se.current,le);const me=b&&t.createElement("div",{className:r(`${Z}-pagination`)},t.createElement(d,Object.assign({align:"end"},se,{onChange:Q,onShowSizeChange:U})));let ce=e(z);b&&z.length>(se.current-1)*se.pageSize&&(ce=e(z).splice((se.current-1)*se.pageSize,se.pageSize));const de=Object.keys(w||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e))),pe=m(de),ue=t.useMemo((()=>{for(let e=0;e<i.length;e+=1){const t=i[e];if(pe[t])return t}}),[pe]),ge=t.useMemo((()=>{if(!w)return;const e=ue&&w[ue]?w[ue]:w.column;return e?{width:100/e+"%",maxWidth:100/e+"%"}:void 0}),[JSON.stringify(w),ue]);let fe=ie&&t.createElement("div",{style:{minHeight:53}});if(ce.length>0){const e=ce.map(X);fe=w?t.createElement(c,{gutter:w.gutter},t.Children.map(e,(e=>t.createElement("div",{key:null==e?void 0:e.key,style:ge},e)))):t.createElement("ul",{className:`${Z}-items`},e)}else N||ie||(fe=t.createElement("div",{className:`${Z}-empty-text`},(null==J?void 0:J.emptyText)||(null==q?void 0:q("List"))||t.createElement(s,{componentName:"List"})));const ye=se.position||"bottom",ve=t.useMemo((()=>({grid:w,itemLayout:$})),[JSON.stringify(w),$]);return ee(t.createElement(u.Provider,{value:ve},t.createElement("div",Object.assign({ref:v,style:Object.assign(Object.assign({},W),S),className:ae},K),("top"===ye||"both"===ye)&&me,M&&t.createElement("div",{className:`${Z}-header`},M),t.createElement(p,Object.assign({},oe),fe,N),P&&t.createElement("div",{className:`${Z}-footer`},P),C||("bottom"===ye||"both"===ye)&&me)))}const b=t.forwardRef(v);"production"!==process.env.NODE_ENV&&(b.displayName="List");const h=b;h.Item=g;export{h as default};
1
+ import e from"../../../../../@babel_runtime@7.27.0/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js";import*as t from"react";import r from"../../../../../../../_virtual/index2.js";import o from"../_util/extendsObject.js";import{responsiveArray as i}from"../_util/responsiveObserver.js";import"../config-provider/index.js";import{useComponentConfig as n,ConfigContext as a}from"../config-provider/context.js";import s from"../config-provider/defaultRenderEmpty.js";import l from"../config-provider/hooks/useSize.js";import m from"../grid/hooks/useBreakpoint.js";import c from"../grid/row.js";import d from"../pagination/Pagination.js";import p from"../spin/index.js";import{ListContext as u}from"./context.js";import g from"./Item.js";import f from"./style/index.js";var y=function(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]])}return r};function v(g,v){const{pagination:b=!1,prefixCls:h,bordered:j=!1,split:x=!0,className:O,rootClassName:E,style:S,children:N,itemLayout:$,loadMore:C,grid:w,dataSource:z=[],size:k,header:M,footer:P,loading:L=!1,rowKey:_,renderItem:I,locale:J}=g,K=y(g,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),R=b&&"object"==typeof b?b:{},[A,B]=t.useState(R.defaultCurrent||1),[D,F]=t.useState(R.defaultPageSize||10),{getPrefixCls:H,direction:T,className:V,style:W}=n("list"),{renderEmpty:q}=t.useContext(a),G=e=>(t,r)=>{var o;B(t),F(r),b&&(null===(o=null==b?void 0:b[e])||void 0===o||o.call(b,t,r))},Q=G("onChange"),U=G("onShowSizeChange"),X=(e,r)=>{if(!I)return null;let o;return o="function"==typeof _?_(e):_?e[_]:e.key,o||(o=`list-item-${r}`),t.createElement(t.Fragment,{key:o},I(e,r))},Y=!!(C||b||P),Z=H("list",h),[ee,te,re]=f(Z);let oe=L;"boolean"==typeof oe&&(oe={spinning:oe});const ie=!!(null==oe?void 0:oe.spinning);let ne="";switch(l(k)){case"large":ne="lg";break;case"small":ne="sm"}const ae=r(Z,{[`${Z}-vertical`]:"vertical"===$,[`${Z}-${ne}`]:ne,[`${Z}-split`]:x,[`${Z}-bordered`]:j,[`${Z}-loading`]:ie,[`${Z}-grid`]:!!w,[`${Z}-something-after-last-item`]:Y,[`${Z}-rtl`]:"rtl"===T},V,O,E,te,re),se=o({current:1,total:0},{total:z.length,current:A,pageSize:D},b||{}),le=Math.ceil(se.total/se.pageSize);se.current=Math.min(se.current,le);const me=b&&t.createElement("div",{className:r(`${Z}-pagination`)},t.createElement(d,Object.assign({align:"end"},se,{onChange:Q,onShowSizeChange:U})));let ce=e(z);b&&z.length>(se.current-1)*se.pageSize&&(ce=e(z).splice((se.current-1)*se.pageSize,se.pageSize));const de=Object.keys(w||{}).some((e=>["xs","sm","md","lg","xl","xxl"].includes(e))),pe=m(de),ue=t.useMemo((()=>{for(let e=0;e<i.length;e+=1){const t=i[e];if(pe[t])return t}}),[pe]),ge=t.useMemo((()=>{if(!w)return;const e=ue&&w[ue]?w[ue]:w.column;return e?{width:100/e+"%",maxWidth:100/e+"%"}:void 0}),[JSON.stringify(w),ue]);let fe=ie&&t.createElement("div",{style:{minHeight:53}});if(ce.length>0){const e=ce.map(X);fe=w?t.createElement(c,{gutter:w.gutter},t.Children.map(e,(e=>t.createElement("div",{key:null==e?void 0:e.key,style:ge},e)))):t.createElement("ul",{className:`${Z}-items`},e)}else N||ie||(fe=t.createElement("div",{className:`${Z}-empty-text`},(null==J?void 0:J.emptyText)||(null==q?void 0:q("List"))||t.createElement(s,{componentName:"List"})));const ye=se.position||"bottom",ve=t.useMemo((()=>({grid:w,itemLayout:$})),[JSON.stringify(w),$]);return ee(t.createElement(u.Provider,{value:ve},t.createElement("div",Object.assign({ref:v,style:Object.assign(Object.assign({},W),S),className:ae},K),("top"===ye||"both"===ye)&&me,M&&t.createElement("div",{className:`${Z}-header`},M),t.createElement(p,Object.assign({},oe),fe,N),P&&t.createElement("div",{className:`${Z}-footer`},P),C||("bottom"===ye||"both"===ye)&&me)))}const b=t.forwardRef(v);"production"!==process.env.NODE_ENV&&(b.displayName="List");const h=b;h.Item=g;export{h as default};
2
2
  //# sourceMappingURL=index.js.map