bitz-react-admin-ui 1.6.9 → 1.7.1

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 (257) hide show
  1. package/dist/bitz-ui.mjs +35 -33
  2. package/dist/components/BitzConfigProvider/index.mjs +7 -3
  3. package/dist/components/BitzConfirmModal/index.mjs +41 -39
  4. package/dist/components/BitzFluentInput/index.mjs +22 -17
  5. package/dist/components/BitzFluentSelect/index.mjs +22 -17
  6. package/dist/components/BitzHighlight/style.mjs +25 -25
  7. package/dist/components/BitzList/List.mjs +1 -1
  8. package/dist/components/BitzPullRefresh/PullRefresh.mjs +1 -1
  9. package/dist/components/BitzTable/ActionBar/style.mjs +8 -7
  10. package/dist/components/BitzTable/ActionCol/style.mjs +35 -35
  11. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +23 -21
  12. package/dist/components/BitzTable/SelectionBar/style.mjs +22 -19
  13. package/dist/components/BitzTable/Table/index.mjs +150 -152
  14. package/dist/components/BitzTable/TableSkeleton/index.mjs +19 -19
  15. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnSettingModal.mjs +159 -136
  16. package/dist/components/BitzTable/ToolBar/ColConfigIcon/DndItem.mjs +47 -24
  17. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.module.less.mjs +21 -22
  18. package/dist/components/BitzTable/ToolBar/style.mjs +16 -15
  19. package/dist/components/BitzTheme/index.mjs +26 -0
  20. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/StyleContext.mjs +1 -1
  21. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/extractStyle.mjs +1 -1
  22. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.mjs +1 -1
  23. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs +1 -1
  24. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs +1 -1
  25. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs +1 -1
  26. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs +2 -2
  27. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/linters/utils.mjs +1 -1
  28. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/theme/Theme.mjs +1 -1
  29. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/util/cacheMapUtil.mjs +1 -1
  30. package/dist/node_modules/.store/@ant-design_cssinjs@1.18.4/node_modules/@ant-design/cssinjs/es/util/index.mjs +2 -2
  31. package/dist/node_modules/.store/@ant-design_icons@5.3.1/node_modules/@ant-design/icons/es/utils.mjs +3 -3
  32. package/dist/node_modules/.store/@rc-component_portal@1.1.2/node_modules/@rc-component/portal/es/Portal.mjs +3 -3
  33. package/dist/node_modules/.store/@rc-component_portal@1.1.2/node_modules/@rc-component/portal/es/useDom.mjs +2 -2
  34. package/dist/node_modules/.store/@rc-component_portal@1.1.2/node_modules/@rc-component/portal/es/useScrollLocker.mjs +3 -3
  35. package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/Popup/index.mjs +2 -2
  36. package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/TriggerWrapper.mjs +1 -1
  37. package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/hooks/useAlign.mjs +4 -4
  38. package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/hooks/useWatch.mjs +1 -1
  39. package/dist/node_modules/.store/@rc-component_trigger@2.0.0/node_modules/@rc-component/trigger/es/hooks/useWinClick.mjs +27 -0
  40. package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/index.mjs +6 -6
  41. package/dist/node_modules/.store/antd-img-crop@4.21.0/node_modules/antd-img-crop/dist/antd-img-crop.esm.mjs +4 -4
  42. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/ActionButton.mjs +1 -1
  43. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/PurePanel.mjs +1 -1
  44. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/hooks/useClosable.mjs +1 -1
  45. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/styleChecker.mjs +1 -1
  46. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/warning.mjs +1 -1
  47. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/wave/WaveEffect.mjs +2 -2
  48. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/wave/index.mjs +2 -2
  49. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/wave/style.mjs +1 -1
  50. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/wave/useWave.mjs +4 -4
  51. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/button-group.mjs +1 -1
  52. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/button.mjs +2 -2
  53. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/style/compactCmp.mjs +1 -1
  54. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/style/index.mjs +1 -1
  55. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/style/token.mjs +1 -1
  56. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/MotionWrapper.mjs +1 -1
  57. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/cssVariables.mjs +2 -2
  58. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/hooks/useCSSVarCls.mjs +1 -1
  59. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/hooks/useTheme.mjs +2 -2
  60. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/index.mjs +36 -36
  61. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/date-picker/locale/en_US.mjs +1 -1
  62. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/confirm.mjs +1 -1
  63. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/style/confirm.mjs +1 -1
  64. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/style/index.mjs +1 -1
  65. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/progress/progress.mjs +1 -1
  66. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/progress/style/index.mjs +1 -1
  67. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/slider/SliderTooltip.mjs +2 -2
  68. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/slider/style/index.mjs +1 -1
  69. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/style/index.mjs +1 -1
  70. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/style/motion/fade.mjs +1 -1
  71. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/style/motion/zoom.mjs +1 -1
  72. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/style/roundedArrow.mjs +1 -1
  73. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/context.mjs +3 -3
  74. package/dist/node_modules/.store/antd@5.15.2/node_modules/antd/es/theme/getDesignToken.mjs +23 -0
  75. package/dist/node_modules/.store/antd@5.15.2/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.mjs +20 -0
  76. package/dist/node_modules/.store/antd@5.15.2/node_modules/antd/es/theme/themes/compact/index.mjs +16 -0
  77. package/dist/node_modules/.store/antd@5.15.2/node_modules/antd/es/theme/themes/dark/colorAlgorithm.mjs +6 -0
  78. package/dist/node_modules/.store/antd@5.15.2/node_modules/antd/es/theme/themes/dark/colors.mjs +48 -0
  79. package/dist/node_modules/.store/antd@5.15.2/node_modules/antd/es/theme/themes/dark/index.mjs +21 -0
  80. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/seed.mjs +5 -5
  81. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/useToken.mjs +11 -11
  82. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/genComponentStyleHook.mjs +2 -2
  83. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/maxmin.mjs +1 -1
  84. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/useResetIconStyle.mjs +1 -1
  85. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/tooltip/PurePanel.mjs +2 -2
  86. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/tooltip/index.mjs +3 -3
  87. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/tooltip/style/index.mjs +1 -1
  88. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/Upload.mjs +1 -1
  89. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/style/dragger.mjs +1 -1
  90. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/style/index.mjs +1 -1
  91. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/style/list.mjs +1 -1
  92. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/style/motion.mjs +1 -1
  93. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/style/picture.mjs +1 -1
  94. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/version/version.mjs +1 -1
  95. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/watermark/context.mjs +3 -3
  96. package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/lib/date-picker/locale/en_US.mjs +1 -1
  97. package/dist/node_modules/.store/{immer@10.0.3 → immer@10.0.4}/node_modules/immer/dist/immer.mjs +50 -50
  98. package/dist/node_modules/.store/rc-dialog@9.4.0/node_modules/rc-dialog/es/Dialog/Content/Panel.mjs +2 -2
  99. package/dist/node_modules/.store/rc-dialog@9.4.0/node_modules/rc-dialog/es/Dialog/index.mjs +5 -5
  100. package/dist/node_modules/.store/rc-field-form@1.42.1/node_modules/rc-field-form/es/Field.mjs +4 -4
  101. package/dist/node_modules/.store/rc-field-form@1.42.1/node_modules/rc-field-form/es/FieldContext.mjs +1 -1
  102. package/dist/node_modules/.store/rc-field-form@1.42.1/node_modules/rc-field-form/es/List.mjs +1 -1
  103. package/dist/node_modules/.store/rc-field-form@1.42.1/node_modules/rc-field-form/es/index.mjs +1 -1
  104. package/dist/node_modules/.store/rc-field-form@1.42.1/node_modules/rc-field-form/es/useForm.mjs +3 -3
  105. package/dist/node_modules/.store/rc-field-form@1.42.1/node_modules/rc-field-form/es/useWatch.mjs +2 -2
  106. package/dist/node_modules/.store/rc-field-form@1.42.1/node_modules/rc-field-form/es/utils/validateUtil.mjs +2 -2
  107. package/dist/node_modules/.store/rc-field-form@1.42.1/node_modules/rc-field-form/es/utils/valueUtil.mjs +2 -2
  108. package/dist/node_modules/.store/rc-motion@2.9.0/node_modules/rc-motion/es/CSSMotion.mjs +2 -2
  109. package/dist/node_modules/.store/rc-motion@2.9.0/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.mjs +1 -1
  110. package/dist/node_modules/.store/rc-motion@2.9.0/node_modules/rc-motion/es/hooks/useNextFrame.mjs +1 -1
  111. package/dist/node_modules/.store/rc-motion@2.9.0/node_modules/rc-motion/es/hooks/useStatus.mjs +1 -1
  112. package/dist/node_modules/.store/rc-motion@2.9.0/node_modules/rc-motion/es/hooks/useStepQueue.mjs +1 -1
  113. package/dist/node_modules/.store/rc-motion@2.9.0/node_modules/rc-motion/es/util/motion.mjs +1 -1
  114. package/dist/node_modules/.store/rc-progress@3.5.1/node_modules/rc-progress/es/hooks/useId.mjs +1 -1
  115. package/dist/node_modules/.store/rc-resize-observer@1.4.0/node_modules/rc-resize-observer/es/SingleObserver/index.mjs +2 -2
  116. package/dist/node_modules/.store/rc-resize-observer@1.4.0/node_modules/rc-resize-observer/es/index.mjs +2 -2
  117. package/dist/node_modules/.store/rc-slider@10.5.0/node_modules/rc-slider/es/Handles/Handle.mjs +1 -1
  118. package/dist/node_modules/.store/rc-slider@10.5.0/node_modules/rc-slider/es/Slider.mjs +3 -3
  119. package/dist/node_modules/.store/{rc-tooltip@6.1.3 → rc-tooltip@6.2.0}/node_modules/rc-tooltip/es/Tooltip.mjs +1 -1
  120. package/dist/node_modules/.store/rc-upload@4.5.2/node_modules/rc-upload/es/AjaxUploader.mjs +1 -1
  121. package/dist/node_modules/.store/rc-upload@4.5.2/node_modules/rc-upload/es/attr-accept.mjs +1 -1
  122. package/dist/node_modules/.store/rc-util@5.39.1/node_modules/rc-util/es/getScrollBarSize.mjs +38 -0
  123. package/dist/node_modules/.store/use-immer@0.9.0/node_modules/use-immer/dist/use-immer.module.mjs +1 -1
  124. package/dist/style.css +1 -1
  125. package/dist/type/bitz-ui.d.ts +1 -0
  126. package/dist/type/components/BitzConfigProvider/index.d.ts +49 -2
  127. package/dist/type/components/BitzFluentInput/index.d.ts +5 -5
  128. package/dist/type/components/BitzFluentSelect/index.d.ts +5 -5
  129. package/dist/type/components/BitzTable/index.d.ts +2 -0
  130. package/dist/type/components/BitzTheme/index.d.ts +18 -0
  131. package/package.json +1 -1
  132. package/dist/node_modules/.store/@rc-component_trigger@1.18.3/node_modules/@rc-component/trigger/es/hooks/useWinClick.mjs +0 -42
  133. package/dist/node_modules/.store/rc-util@5.39.0/node_modules/rc-util/es/getScrollBarSize.mjs +0 -38
  134. /package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/Popup/Arrow.mjs +0 -0
  135. /package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/Popup/Mask.mjs +0 -0
  136. /package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/Popup/PopupContent.mjs +0 -0
  137. /package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/context.mjs +0 -0
  138. /package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/hooks/useAction.mjs +0 -0
  139. /package/dist/node_modules/.store/{@rc-component_trigger@1.18.3 → @rc-component_trigger@2.0.0}/node_modules/@rc-component/trigger/es/util.mjs +0 -0
  140. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/colors.mjs +0 -0
  141. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/hooks/useForceUpdate.mjs +0 -0
  142. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/hooks/usePatchElement.mjs +0 -0
  143. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/hooks/useZIndex.mjs +0 -0
  144. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/motion.mjs +0 -0
  145. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/placements.mjs +0 -0
  146. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/reactNode.mjs +0 -0
  147. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/wave/interface.mjs +0 -0
  148. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/wave/util.mjs +0 -0
  149. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/_util/zindexContext.mjs +0 -0
  150. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/IconWrapper.mjs +0 -0
  151. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/LoadingIcon.mjs +0 -0
  152. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/buttonHelpers.mjs +0 -0
  153. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/index.mjs +0 -0
  154. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/button/style/group.mjs +0 -0
  155. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/calendar/locale/en_US.mjs +0 -0
  156. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/DisabledContext.mjs +0 -0
  157. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/PropWarning.mjs +0 -0
  158. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/SizeContext.mjs +0 -0
  159. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/context.mjs +0 -0
  160. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/hooks/useConfig.mjs +0 -0
  161. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/hooks/useSize.mjs +0 -0
  162. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/config-provider/hooks/useThemeKey.mjs +0 -0
  163. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/form/context.mjs +0 -0
  164. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/form/validateMessagesContext.mjs +0 -0
  165. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/locale/context.mjs +0 -0
  166. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/locale/en_US.mjs +0 -0
  167. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/locale/index.mjs +0 -0
  168. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/locale/useLocale.mjs +0 -0
  169. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/ConfirmDialog.mjs +0 -0
  170. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/Modal.mjs +0 -0
  171. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/PurePanel.mjs +0 -0
  172. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/components/ConfirmCancelBtn.mjs +0 -0
  173. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/components/ConfirmOkBtn.mjs +0 -0
  174. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/components/NormalCancelBtn.mjs +0 -0
  175. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/components/NormalOkBtn.mjs +0 -0
  176. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/context.mjs +0 -0
  177. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/destroyFns.mjs +0 -0
  178. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/index.mjs +0 -0
  179. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/locale.mjs +0 -0
  180. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/shared.mjs +0 -0
  181. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/useModal/HookModal.mjs +0 -0
  182. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/modal/useModal/index.mjs +0 -0
  183. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/progress/Circle.mjs +0 -0
  184. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/progress/Line.mjs +0 -0
  185. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/progress/Steps.mjs +0 -0
  186. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/progress/index.mjs +0 -0
  187. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/progress/utils.mjs +0 -0
  188. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/slider/index.mjs +0 -0
  189. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/space/Compact.mjs +0 -0
  190. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/style/compact-item-vertical.mjs +0 -0
  191. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/style/compact-item.mjs +0 -0
  192. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/style/motion/collapse.mjs +0 -0
  193. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/style/motion/motion.mjs +0 -0
  194. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/style/placementArrow.mjs +0 -0
  195. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/table/ExpandIcon.mjs +0 -0
  196. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/interface/presetColors.mjs +0 -0
  197. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/default/colorAlgorithm.mjs +0 -0
  198. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/default/colors.mjs +0 -0
  199. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/default/index.mjs +0 -0
  200. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/shared/genColorMapToken.mjs +0 -0
  201. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/shared/genCommonMapToken.mjs +0 -0
  202. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/shared/genControlHeight.mjs +0 -0
  203. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/shared/genFontMapToken.mjs +0 -0
  204. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/shared/genFontSizes.mjs +0 -0
  205. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/shared/genRadius.mjs +0 -0
  206. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/themes/shared/genSizeMapToken.mjs +0 -0
  207. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/alias.mjs +0 -0
  208. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/calc/CSSCalculator.mjs +0 -0
  209. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/calc/NumCalculator.mjs +0 -0
  210. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/calc/calculator.mjs +0 -0
  211. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/calc/index.mjs +0 -0
  212. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/genPresetColor.mjs +0 -0
  213. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/getAlphaColor.mjs +0 -0
  214. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/theme/util/statistic.mjs +0 -0
  215. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/time-picker/locale/en_US.mjs +0 -0
  216. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/tooltip/util.mjs +0 -0
  217. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/Dragger.mjs +0 -0
  218. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/UploadList/ListItem.mjs +0 -0
  219. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/UploadList/index.mjs +0 -0
  220. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/index.mjs +0 -0
  221. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/style/rtl.mjs +0 -0
  222. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/upload/utils.mjs +0 -0
  223. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/es/version/index.mjs +0 -0
  224. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/lib/calendar/locale/en_US.mjs +0 -0
  225. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/lib/locale/en_US.mjs +0 -0
  226. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/lib/time-picker/locale/en_US.mjs +0 -0
  227. /package/dist/node_modules/.store/{antd@5.15.0 → antd@5.15.2}/node_modules/antd/locale/en_US.mjs +0 -0
  228. /package/dist/node_modules/{_clsx@2.1.0@clsx → .store/clsx@2.1.0/node_modules/clsx}/dist/clsx.mjs +0 -0
  229. /package/dist/node_modules/.store/{rc-picker@4.2.0 → rc-picker@4.3.0}/node_modules/rc-picker/es/locale/en_US.mjs +0 -0
  230. /package/dist/node_modules/.store/{rc-picker@4.2.0 → rc-picker@4.3.0}/node_modules/rc-picker/lib/locale/en_US.mjs +0 -0
  231. /package/dist/node_modules/.store/{rc-tooltip@6.1.3 → rc-tooltip@6.2.0}/node_modules/rc-tooltip/es/Popup.mjs +0 -0
  232. /package/dist/node_modules/.store/{rc-tooltip@6.1.3 → rc-tooltip@6.2.0}/node_modules/rc-tooltip/es/index.mjs +0 -0
  233. /package/dist/node_modules/.store/{rc-tooltip@6.1.3 → rc-tooltip@6.2.0}/node_modules/rc-tooltip/es/placements.mjs +0 -0
  234. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/Children/toArray.mjs +0 -0
  235. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/Dom/canUseDom.mjs +0 -0
  236. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/Dom/contains.mjs +0 -0
  237. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/Dom/dynamicCSS.mjs +0 -0
  238. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/Dom/findDOMNode.mjs +0 -0
  239. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/Dom/isVisible.mjs +0 -0
  240. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/Dom/shadow.mjs +0 -0
  241. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/KeyCode.mjs +0 -0
  242. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/React/render.mjs +0 -0
  243. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/hooks/useEvent.mjs +0 -0
  244. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/hooks/useId.mjs +0 -0
  245. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/hooks/useLayoutEffect.mjs +0 -0
  246. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/hooks/useMemo.mjs +0 -0
  247. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/hooks/useMergedState.mjs +0 -0
  248. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/hooks/useState.mjs +0 -0
  249. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/isEqual.mjs +0 -0
  250. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/isMobile.mjs +0 -0
  251. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/omit.mjs +0 -0
  252. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/pickAttrs.mjs +0 -0
  253. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/raf.mjs +0 -0
  254. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/ref.mjs +0 -0
  255. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/utils/get.mjs +0 -0
  256. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/utils/set.mjs +0 -0
  257. /package/dist/node_modules/.store/{rc-util@5.39.0 → rc-util@5.39.1}/node_modules/rc-util/es/warning.mjs +0 -0
@@ -1,180 +1,178 @@
1
1
  import { j as l } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { useContext as ve, useState as J, useMemo as g, useRef as P, useEffect as Me, useCallback as ke } from "react";
3
- import { isMobile as M } from "../../../node_modules/.store/react-device-detect@2.2.3/node_modules/react-device-detect/dist/lib.mjs";
4
- import { theme as ze, Table as A, Skeleton as Le } from "antd";
5
- import We from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
6
- import He from "../../BitzDrawer/index.mjs";
7
- import Pe from "../../BitzPagination/index.mjs";
2
+ import { useContext as ke, useState as Q, useMemo as g, useRef as H, useCallback as Y, useEffect as ze } from "react";
3
+ import { isMobile as A } from "../../../node_modules/.store/react-device-detect@2.2.3/node_modules/react-device-detect/dist/lib.mjs";
4
+ import { Table as S, Skeleton as Le } from "antd";
5
+ import Z from "../../../node_modules/.store/classnames@2.5.1/node_modules/classnames/index.mjs";
6
+ import We from "../../BitzDrawer/index.mjs";
7
+ import He from "../../BitzPagination/index.mjs";
8
8
  import Ae from "../../BitzNoData/index.mjs";
9
9
  import "../../BitzList/index.less.mjs";
10
10
  import Se from "../../BitzList/List.mjs";
11
11
  import "../../BitzPullRefresh/style/index.less.mjs";
12
- import Ee from "../../BitzPullRefresh/PullRefresh.mjs";
13
- import Oe, { TableContext as Ve } from "../Store/index.mjs";
14
- import _e from "../TableSkeleton/index.mjs";
15
- import { columnSort as Q, genColumnKey as Y } from "../Store/utils/index.mjs";
16
- import S from "../../../node_modules/.store/ahooks@3.7.10/node_modules/ahooks/es/useSize/index.mjs";
17
- import $e from "../ActionCol/style.mjs";
12
+ import Pe from "../../BitzPullRefresh/PullRefresh.mjs";
13
+ import Ee, { TableContext as Oe } from "../Store/index.mjs";
14
+ import Re from "../TableSkeleton/index.mjs";
15
+ import { columnSort as I, genColumnKey as ee } from "../Store/utils/index.mjs";
16
+ import P from "../../../node_modules/.store/ahooks@3.7.10/node_modules/ahooks/es/useSize/index.mjs";
17
+ import Ve from "../ActionCol/style.mjs";
18
+ import Ke from "../../BitzTheme/index.mjs";
18
19
  import "./index.less.mjs";
19
- import De from "../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/at.mjs";
20
- function Ke({
21
- showPagination: B = !0,
20
+ import _e from "../../../node_modules/.store/lodash-es@4.17.21/node_modules/lodash-es/at.mjs";
21
+ function $e({
22
+ showPagination: w = !0,
22
23
  fillEvenRow: E = !0,
23
- evenRowBgColor: Re = "#f9f9f9",
24
- height: w,
24
+ evenRowBgColor: De = "#f9f9f9",
25
+ height: p,
25
26
  dataSource: a = [],
26
- total: k = 0,
27
+ total: v = 0,
27
28
  columns: u,
28
- loading: j = !1,
29
- skeletonNum: Z = 2,
29
+ loading: B = !1,
30
+ skeletonNum: oe = 2,
30
31
  skeletonRender: O,
31
- skeletonRowNum: I = 4,
32
- skeletonRowsWidth: ee = ["35%", "100%", "100%", "60%"],
33
- mobileLoadEmit: oe,
34
- mobileRefreshEmit: V,
35
- operationFilter: z,
36
- enableControlPage: le,
37
- pagination: te,
38
- paginationEmit: re = () => {
32
+ skeletonRowNum: le = 4,
33
+ skeletonRowsWidth: te = ["35%", "100%", "100%", "60%"],
34
+ mobileLoadEmit: re,
35
+ mobileRefreshEmit: R,
36
+ operationFilter: M,
37
+ enableControlPage: ne,
38
+ pagination: se,
39
+ paginationEmit: ae = () => {
39
40
  },
40
41
  mobilePageHeight: qe = 500,
41
- mobileCancelText: ne = "取消",
42
- noDataTitle: se,
43
- noDataImg: ae,
42
+ mobileCancelText: ie = "取消",
43
+ noDataTitle: ce,
44
+ noDataImg: he,
44
45
  color: Ge,
45
- size: _,
46
- showTableTool: ie = !0,
47
- tableAction: ce,
48
- tableToolbar: he,
49
- selectionBar: de,
46
+ size: V,
47
+ showTableTool: de = !0,
48
+ tableAction: fe,
49
+ tableToolbar: be,
50
+ selectionBar: xe,
50
51
  scroll: h,
51
- resetPage: fe,
52
+ resetPage: ge,
52
53
  ...d
53
54
  }) {
54
- var X;
55
- const { token: c } = ze.useToken(), { gap: be } = $e(), f = ve(Ve), [xe, L] = J(!1), ge = g(() => !!(a != null && a.length) && (a == null ? void 0 : a.length) >= k, [a, k]), [ue, Ce] = J([]), pe = (e, o) => {
55
+ var F;
56
+ const { token: c } = Ke.useToken(), { gap: ue } = Ve(), f = ke(Oe), [Ce, k] = Q(!1), ye = g(() => !!(a != null && a.length) && (a == null ? void 0 : a.length) >= v, [a, v]), [pe, me] = Q([]), we = (e, o) => {
56
57
  var t;
57
- const r = (t = z == null ? void 0 : z(e, o)) == null ? void 0 : t.filter(
58
- (n) => n.type !== "divider"
58
+ const r = (t = M == null ? void 0 : M(e, o)) == null ? void 0 : t.filter(
59
+ (s) => s.type !== "divider"
59
60
  );
60
- r != null && r.length && (Ce(r), L(!0));
61
- }, $ = () => {
62
- L(!1);
63
- }, ye = (e) => {
61
+ r != null && r.length && (me(r), k(!0));
62
+ }, K = () => {
63
+ k(!1);
64
+ }, Be = (e) => {
64
65
  var o;
65
- L(!1), (o = e.onClick) == null || o.call(e);
66
- }, C = P(null), p = S(C), T = P(null), W = S(T), D = P(null), y = S(D), we = () => {
66
+ k(!1), (o = e.onClick) == null || o.call(e);
67
+ }, C = H(null), z = P(C), j = H(null), L = P(j), _ = H(null), y = P(_), je = () => {
67
68
  var r;
68
- const e = (r = T.current) == null ? void 0 : r.querySelectorAll(
69
+ const e = (r = j.current) == null ? void 0 : r.querySelectorAll(
69
70
  ".ant-table-body tr:not(.ant-table-measure-row)"
70
71
  ), o = [];
71
72
  if (e == null || e.forEach((t) => {
72
- var n;
73
+ var s;
73
74
  o.push(
74
- ((n = t.querySelector(".operationCol .actionGroup")) == null ? void 0 : n.clientWidth) || 0
75
+ ((s = t.querySelector(".operationCol .actionGroup")) == null ? void 0 : s.clientWidth) || 0
75
76
  );
76
77
  }), o.length)
77
- return Math.ceil(Math.max(...o)) + be * 2;
78
- }, K = () => {
79
- var n;
80
- const e = (n = T.current) == null ? void 0 : n.querySelector(
78
+ return Math.ceil(Math.max(...o)) + ue * 2;
79
+ }, $ = () => {
80
+ var s;
81
+ const e = (s = j.current) == null ? void 0 : s.querySelector(
81
82
  ".ant-table-body"
82
83
  ), o = e == null ? void 0 : e.clientWidth, r = ((e == null ? void 0 : e.offsetWidth) || 0) - o, t = r > 0;
83
84
  return { tbodyWidth: o, scrollBarWidth: r, hasScrollBar: t };
84
- }, me = (e) => {
85
- const o = e.length, r = e.filter((x) => x.width), n = r.map((x) => x.width).reduce((x, Ne) => x + Ne, 0);
86
- let s = 0;
87
- if (C.current) {
88
- const x = window.getComputedStyle(C.current);
89
- s = parseInt(x.getPropertyValue("--toolCell-width"));
90
- }
91
- let i = 0;
92
- d.rowSelection && (i += s), d.expandable && (i += s);
93
- const { tbodyWidth: v } = K(), b = parseInt(`${N.x}`) || 0, Te = Math.max(b, v), F = (parseInt(`${Te}`) || 0) - n - i;
94
- return F >= 0 ? F / (o - r.length) : void 0;
95
- }, { y: H, hasScrollBar: R } = g(() => {
96
- if (typeof w > "u")
85
+ }, { y: W, hasScrollBar: D } = g(() => {
86
+ if (typeof p > "u")
97
87
  return {};
98
- const { hasScrollBar: e } = K();
88
+ const { hasScrollBar: e } = $();
99
89
  let o = 40, r = 40, t = 10;
100
90
  if (C.current) {
101
91
  const b = window.getComputedStyle(C.current);
102
92
  o = parseInt(b.getPropertyValue("--cell-block")), r = parseInt(b.getPropertyValue("--toolbar-height")), t = parseInt(b.getPropertyValue("--container-gap")) || 0;
103
93
  }
104
- const n = (y == null ? void 0 : y.height) || 0, s = n ? t : 0;
105
- return { y: w - n - s - r - o, hasScrollBar: e };
94
+ const s = (y == null ? void 0 : y.height) || 0, n = s ? t : 0;
95
+ return { y: p - s - n - r - o, hasScrollBar: e };
106
96
  }, [
107
- w,
97
+ p,
108
98
  y == null ? void 0 : y.height,
109
- p == null ? void 0 : p.height,
110
- W == null ? void 0 : W.height
111
- ]), N = g(() => h != null && h.x ? { x: h.x, y: h.y || H } : h != null && h.y ? { x: 1e3, y: h.y } : { x: 1e3, y: H }, [h, H]), m = g(() => {
112
- const e = (s) => s.map((i) => {
113
- const v = Y(
99
+ z == null ? void 0 : z.height,
100
+ L == null ? void 0 : L.height
101
+ ]), N = g(() => h != null && h.x ? { x: h.x, y: h.y || W } : h != null && h.y ? { x: 1e3, y: h.y } : { x: 1e3, y: W }, [h, W]), q = Y(
102
+ (e) => {
103
+ const o = e.length, r = e.filter((x) => x.width), s = r.map((x) => x.width).reduce((x, Me) => x + Me, 0);
104
+ let n = 0;
105
+ if (C.current) {
106
+ const x = window.getComputedStyle(C.current);
107
+ n = parseInt(x.getPropertyValue("--toolCell-width"));
108
+ }
109
+ let i = 0;
110
+ d.rowSelection && (i += n), d.expandable && (i += n);
111
+ const { tbodyWidth: T } = $(), b = parseInt(`${N.x}`) || 0, ve = Math.max(b, T), J = (parseInt(`${ve}`) || 0) - s - i;
112
+ return J >= 0 ? J / (o - r.length) : void 0;
113
+ },
114
+ [d.expandable, d.rowSelection, N]
115
+ ), m = g(() => {
116
+ const e = (n) => n.map((i) => {
117
+ const T = ee(
114
118
  (i == null ? void 0 : i.key) || (i == null ? void 0 : i.dataIndex),
115
119
  i.index
116
- ), b = f.columnsMap[v];
120
+ ), b = f.columnsMap[T];
117
121
  return b && b.show === !1 ? !1 : i.children ? {
118
122
  ...i,
119
123
  children: e(i.children)
120
124
  } : i;
121
125
  }).filter(Boolean), o = e(u);
122
- if (M)
123
- return o.sort(Q(f.columnsMap));
124
- const r = o.sort(Q(f.columnsMap)), t = me(r), n = r.map((s) => ({
125
- ...s,
126
- ...s.width ? {
127
- width: s.useMaxWidth ? we() ?? s.width : s.width
126
+ if (A)
127
+ return o.sort(I(f.columnsMap));
128
+ const r = o.sort(I(f.columnsMap)), t = q(r), s = r.map((n) => ({
129
+ ...n,
130
+ className: n.isActionCol ? Z("handleActionCol", n.className) : n.className,
131
+ ...n.width ? {
132
+ width: n.useMaxWidth ? je() ?? n.width : n.width
128
133
  } : {
129
134
  // 给未设置width的列设置平均数
130
135
  width: t
131
136
  }
132
137
  }));
133
- return [A.SELECTION_COLUMN, A.EXPAND_COLUMN, ...n];
134
- }, [
135
- f.columnsMap,
136
- u,
137
- M,
138
- N.x,
139
- d.rowSelection,
140
- d.expandable,
141
- p == null ? void 0 : p.height
142
- ]);
143
- Me(() => {
138
+ return [S.SELECTION_COLUMN, S.EXPAND_COLUMN, ...s];
139
+ }, [u, f.columnsMap, q, f.sortKeyColumns]);
140
+ ze(() => {
144
141
  if (u && u.length > 0) {
145
142
  const e = u.map(
146
143
  (o) => (
147
144
  // @ts-ignore
148
- Y((o == null ? void 0 : o.key) ?? (o == null ? void 0 : o.dataIndex), o == null ? void 0 : o.dataIndex)
145
+ ee((o == null ? void 0 : o.key) ?? (o == null ? void 0 : o.dataIndex), o == null ? void 0 : o.dataIndex)
149
146
  )
150
147
  );
151
148
  f.setSortKeyColumns(e);
152
149
  }
153
150
  }, [u]);
154
- const q = g(() => `${_ ?? (f == null ? void 0 : f.tableSize) ?? "lg"}BitzTable`, [_, f.tableSize]), Be = g(() => We(
151
+ const G = g(() => `${V ?? (f == null ? void 0 : f.tableSize) ?? "lg"}BitzTable`, [V, f.tableSize]), Ne = g(() => Z(
155
152
  "bitzTableContainer",
156
153
  /* "hideBorder", */
157
- { hasScrollBar: R },
158
- q
159
- ), [q, R]), je = g(() => {
160
- var e, o, r, t, n, s;
161
- return console.log("bitztable:", (e = c.Table) == null ? void 0 : e.toolbarBgColor), {
162
- height: w,
163
- "--toolbar-bgColor": (o = c.Table) == null ? void 0 : o.toolbarBgColor,
164
- "--thead-bgColor": (r = c.Table) == null ? void 0 : r.theadBgColor,
165
- "--thead-hoverBgColor": (t = c.Table) == null ? void 0 : t.theadHoverBgColor,
166
- "--evenRow-BgColor": (n = c.Table) == null ? void 0 : n.evenRowBgColor,
167
- "--expandIcon-borderColor": (s = c.Table) == null ? void 0 : s.expandIconBorderColor
154
+ { hasScrollBar: D },
155
+ G
156
+ ), [G, D]), Te = g(() => {
157
+ var e, o, r, t, s, n;
158
+ return {
159
+ height: p,
160
+ "--toolbar-bgColor": (e = c.Table) == null ? void 0 : e.toolbarBgColor,
161
+ "--thead-bgColor": (o = c.Table) == null ? void 0 : o.headerBg,
162
+ "--thead-hoverBgColor": (r = c.Table) == null ? void 0 : r.headerSortHoverBg,
163
+ "--evenRow-BgColor": (t = c.Table) == null ? void 0 : t.evenRowBgColor,
164
+ "--expandIcon-borderColor": (s = c.Table) == null ? void 0 : s.expandIconBorderColor,
165
+ "--rowHover-bgColor": (n = c.Table) == null ? void 0 : n.rowHoverBg
168
166
  // '--tableBody-bootomBorderColor': token.Table?.borderColor || '#f0f0f0',
169
167
  };
170
- }, [w]), G = ke(
168
+ }, [p, c.Table]), U = Y(
171
169
  (e, o) => E ? o % 2 === 0 ? "oddRow" : "evenRow" : "",
172
170
  [E]
173
- ), U = /* @__PURE__ */ l.jsx(
171
+ ), X = /* @__PURE__ */ l.jsx(
174
172
  Se,
175
173
  {
176
- finished: ge,
177
- onLoad: oe,
174
+ finished: ye,
175
+ onLoad: re,
178
176
  loadingText: "加载中...",
179
177
  finishedText: "没有更多了",
180
178
  errorText: "加载失败",
@@ -182,7 +180,7 @@ function Ke({
182
180
  "div",
183
181
  {
184
182
  className: "mobileList",
185
- style: { backgroundColor: (X = c.Table) == null ? void 0 : X.mobileListBgColor },
183
+ style: { backgroundColor: (F = c.Table) == null ? void 0 : F.mobileListBgColor },
186
184
  children: [
187
185
  a == null ? void 0 : a.map((e, o) => {
188
186
  var r;
@@ -191,9 +189,9 @@ function Ke({
191
189
  {
192
190
  className: "listItem",
193
191
  style: { backgroundColor: (r = c.Table) == null ? void 0 : r.listItemBgColor },
194
- onClick: () => pe(e, o),
195
- children: m == null ? void 0 : m.map((t, n) => {
196
- var s;
192
+ onClick: () => we(e, o),
193
+ children: m == null ? void 0 : m.map((t, s) => {
194
+ var n;
197
195
  return !(t != null && t.mobileHide) && /* @__PURE__ */ l.jsxs(
198
196
  "div",
199
197
  {
@@ -204,22 +202,22 @@ function Ke({
204
202
  `${t.title}`,
205
203
  ":"
206
204
  ] }),
207
- /* @__PURE__ */ l.jsx("div", { className: "value", children: ((s = t == null ? void 0 : t.render) == null ? void 0 : s.call(
205
+ /* @__PURE__ */ l.jsx("div", { className: "value", children: ((n = t == null ? void 0 : t.render) == null ? void 0 : n.call(
208
206
  t,
209
- De(e, (t == null ? void 0 : t.dataIndex) || ""),
207
+ _e(e, (t == null ? void 0 : t.dataIndex) || ""),
210
208
  e,
211
209
  o
212
210
  )) || (e == null ? void 0 : e[t.dataIndex]) })
213
211
  ]
214
212
  },
215
- n
213
+ s
216
214
  );
217
215
  })
218
216
  },
219
217
  o
220
218
  );
221
219
  }),
222
- j && Array.from({ length: Z }).map((e, o) => {
220
+ B && Array.from({ length: oe }).map((e, o) => {
223
221
  var r;
224
222
  return /* @__PURE__ */ l.jsx(
225
223
  "div",
@@ -231,8 +229,8 @@ function Ke({
231
229
  {
232
230
  title: !1,
233
231
  paragraph: {
234
- rows: I,
235
- width: ee
232
+ rows: le,
233
+ width: te
236
234
  },
237
235
  active: !0
238
236
  }
@@ -247,15 +245,15 @@ function Ke({
247
245
  }
248
246
  );
249
247
  return /* @__PURE__ */ l.jsxs("div", { className: "bitzTableBlock", children: [
250
- !M && /* @__PURE__ */ l.jsxs("div", { ref: C, className: Be, style: je, children: [
251
- /* @__PURE__ */ l.jsxs("div", { className: "bitzTableContainerBody", ref: T, children: [
252
- ie && /* @__PURE__ */ l.jsxs("div", { className: "bitzTableToolbarBlock", children: [
253
- ce || /* @__PURE__ */ l.jsx("div", {}),
254
- he,
255
- (d == null ? void 0 : d.rowSelection) && /* @__PURE__ */ l.jsx(l.Fragment, { children: de })
248
+ !A && /* @__PURE__ */ l.jsxs("div", { ref: C, className: Ne, style: Te, children: [
249
+ /* @__PURE__ */ l.jsxs("div", { className: "bitzTableContainerBody", ref: j, children: [
250
+ de && /* @__PURE__ */ l.jsxs("div", { className: "bitzTableToolbarBlock", children: [
251
+ fe || /* @__PURE__ */ l.jsx("div", {}),
252
+ be,
253
+ (d == null ? void 0 : d.rowSelection) && /* @__PURE__ */ l.jsx(l.Fragment, { children: xe })
256
254
  ] }),
257
255
  /* @__PURE__ */ l.jsx(
258
- A,
256
+ S,
259
257
  {
260
258
  columns: m,
261
259
  dataSource: a,
@@ -263,53 +261,53 @@ function Ke({
263
261
  pagination: !1,
264
262
  scroll: N,
265
263
  ...d,
266
- rowClassName: G
264
+ rowClassName: U
267
265
  }
268
266
  ),
269
267
  /* @__PURE__ */ l.jsx(
270
- _e,
268
+ Re,
271
269
  {
272
270
  columns: m,
273
271
  dataLength: a.length,
274
272
  scroll: N,
275
273
  rowSelection: d.rowSelection,
276
274
  expandable: d.expandable,
277
- rowClassName: G,
278
- loading: j
275
+ rowClassName: U,
276
+ loading: B
279
277
  }
280
278
  )
281
279
  ] }),
282
- B && /* @__PURE__ */ l.jsx(
283
- Pe,
280
+ w && /* @__PURE__ */ l.jsx(
281
+ He,
284
282
  {
285
- elRefInstance: D,
286
- enableControl: le,
287
- pagination: te,
288
- total: k,
283
+ elRefInstance: _,
284
+ enableControl: ne,
285
+ pagination: se,
286
+ total: v,
289
287
  dataSource: a,
290
- resetPage: fe,
291
- paginationEmit: re
288
+ resetPage: ge,
289
+ paginationEmit: ae
292
290
  }
293
291
  )
294
292
  ] }),
295
- M && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
296
- (j || (a == null ? void 0 : a.length) > 0) && /* @__PURE__ */ l.jsx(l.Fragment, { children: V ? /* @__PURE__ */ l.jsx(Ee, { onRefresh: V, children: U }) : U }),
297
- !j && /* @__PURE__ */ l.jsx(Ae, { data: a, title: se, img: ae }),
293
+ A && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
294
+ (B || (a == null ? void 0 : a.length) > 0) && /* @__PURE__ */ l.jsx(l.Fragment, { children: R ? /* @__PURE__ */ l.jsx(Pe, { onRefresh: R, children: X }) : X }),
295
+ !B && /* @__PURE__ */ l.jsx(Ae, { data: a, title: ce, img: he }),
298
296
  /* @__PURE__ */ l.jsx(
299
- He,
297
+ We,
300
298
  {
301
299
  className: "tableMobileDrawer",
302
- open: xe,
300
+ open: Ce,
303
301
  placement: "bottom",
304
302
  height: "auto",
305
303
  closable: !1,
306
- onClose: $,
304
+ onClose: K,
307
305
  children: /* @__PURE__ */ l.jsxs("div", { className: "drawerBox", children: [
308
- /* @__PURE__ */ l.jsx("div", { className: "boxBody", children: ue.map((e, o) => /* @__PURE__ */ l.jsx(
306
+ /* @__PURE__ */ l.jsx("div", { className: "boxBody", children: pe.map((e, o) => /* @__PURE__ */ l.jsx(
309
307
  "div",
310
308
  {
311
309
  className: "operaList",
312
- onClick: () => ye(e),
310
+ onClick: () => Be(e),
313
311
  ...e.danger && {
314
312
  style: { color: c.colorError }
315
313
  },
@@ -318,17 +316,17 @@ function Ke({
318
316
  o
319
317
  )) }),
320
318
  /* @__PURE__ */ l.jsx("div", { className: "boxLine" }),
321
- /* @__PURE__ */ l.jsx("div", { className: "boxFooter", onClick: $, children: ne })
319
+ /* @__PURE__ */ l.jsx("div", { className: "boxFooter", onClick: K, children: ie })
322
320
  ] })
323
321
  }
324
322
  )
325
323
  ] })
326
324
  ] });
327
325
  }
328
- const fo = (B) => (
326
+ const bo = (w) => (
329
327
  // @ts-ignore
330
- /* @__PURE__ */ l.jsx(Oe, { initValue: B, children: /* @__PURE__ */ l.jsx(Ke, { ...B }) })
328
+ /* @__PURE__ */ l.jsx(Ee, { initValue: w, children: /* @__PURE__ */ l.jsx($e, { ...w }) })
331
329
  );
332
330
  export {
333
- fo as default
331
+ bo as default
334
332
  };
@@ -1,20 +1,20 @@
1
1
  import { j as i } from "../../../node_modules/.store/react@18.2.0/node_modules/react/jsx-runtime.mjs";
2
- import { theme as L, Skeleton as O, Table as l } from "antd";
3
- import R from "../../../node_modules/.store/antd@5.15.0/node_modules/antd/es/table/ExpandIcon.mjs";
4
- import { useContext as T, useMemo as a, useRef as g, useEffect as h } from "react";
5
- import "../../../node_modules/.store/antd@5.15.0/node_modules/antd/es/config-provider/index.mjs";
6
- import w from "../../../node_modules/.store/antd@5.15.0/node_modules/antd/locale/en_US.mjs";
7
- import { ConfigContext as N } from "../../../node_modules/.store/antd@5.15.0/node_modules/antd/es/config-provider/context.mjs";
2
+ import { theme as g, Skeleton as L, Table as f } from "antd";
3
+ import O from "../../../node_modules/.store/antd@5.15.2/node_modules/antd/es/table/ExpandIcon.mjs";
4
+ import { useContext as R, useMemo as a, useRef as T, useEffect as h } from "react";
5
+ import "../../../node_modules/.store/antd@5.15.2/node_modules/antd/es/config-provider/index.mjs";
6
+ import w from "../../../node_modules/.store/antd@5.15.2/node_modules/antd/locale/en_US.mjs";
7
+ import { ConfigContext as N } from "../../../node_modules/.store/antd@5.15.2/node_modules/antd/es/config-provider/context.mjs";
8
8
  const U = ({
9
9
  columns: s,
10
10
  dataLength: c,
11
- rowSelection: f,
11
+ rowSelection: l,
12
12
  expandable: o,
13
13
  loading: r,
14
14
  ...u
15
15
  }) => {
16
- var d;
17
- const { token: x } = L.useToken(), { table: p, locale: y = w } = T(N), C = { ...y.Table }, b = ((d = p == null ? void 0 : p.expandable) == null ? void 0 : d.expandIcon) || (o == null ? void 0 : o.expandIcon) || R(C), k = a(() => {
16
+ var x;
17
+ const { token: m } = g.useToken(), { table: p, locale: y = w } = R(N), C = { ...y.Table }, b = ((x = p == null ? void 0 : p.expandable) == null ? void 0 : x.expandIcon) || (o == null ? void 0 : o.expandIcon) || O(C), k = a(() => {
18
18
  if (!r)
19
19
  return [];
20
20
  const t = c > 4 ? c >= 20 ? 20 : c : 4;
@@ -25,7 +25,7 @@ const U = ({
25
25
  ...e,
26
26
  sorter: !1,
27
27
  render: (n, S, _) => /* @__PURE__ */ i.jsx(
28
- O,
28
+ L,
29
29
  {
30
30
  active: !0,
31
31
  title: !1,
@@ -50,33 +50,33 @@ const U = ({
50
50
  disabled: !0,
51
51
  style: {
52
52
  ...e.props.style,
53
- backgroundColor: x.colorBgContainerDisabled
53
+ backgroundColor: m.colorBgContainerDisabled
54
54
  }
55
55
  }
56
56
  };
57
57
  }
58
58
  };
59
59
  }, [o]), j = a(() => {
60
- if (f)
60
+ if (l)
61
61
  return {
62
- ...f,
62
+ ...l,
63
63
  selectedRowKeys: [],
64
64
  getCheckboxProps: () => ({ disabled: !0 })
65
65
  };
66
- }, [f]), m = g();
66
+ }, [l]), d = T();
67
67
  return h(() => {
68
68
  var e, n;
69
- const t = (n = (e = m.current) == null ? void 0 : e.nativeElement) == null ? void 0 : n.querySelector(".ant-table-body");
69
+ const t = (n = (e = d.current) == null ? void 0 : e.nativeElement) == null ? void 0 : n.querySelector(".ant-table-body");
70
70
  t && (t.scrollLeft = 0);
71
71
  }, [r]), /* @__PURE__ */ i.jsx(
72
- l,
72
+ f,
73
73
  {
74
74
  ...u,
75
- ref: m,
75
+ ref: d,
76
76
  expandable: E,
77
77
  rowSelection: j,
78
78
  pagination: !1,
79
- columns: [l.SELECTION_COLUMN, l.EXPAND_COLUMN, ...I],
79
+ columns: [f.SELECTION_COLUMN, f.EXPAND_COLUMN, ...I],
80
80
  rowKey: "index",
81
81
  dataSource: k,
82
82
  loading: !1,
@@ -88,7 +88,7 @@ const U = ({
88
88
  zIndex: r ? 100 : -1,
89
89
  /** 保险起见,使用了zIndex也要用opacity控制显隐 */
90
90
  opacity: r ? 1 : 0,
91
- background: r ? "#fff" : "transparent"
91
+ background: r ? m.colorBgContainer : "transparent"
92
92
  }
93
93
  }
94
94
  );