bitz-react-admin-ui 2.10.8 → 2.11.0-beta.2

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 (448) hide show
  1. package/dist/_virtual/index2.mjs +2 -2
  2. package/dist/_virtual/index3.mjs +2 -2
  3. package/dist/assets/iconfont/IconChenggong.mjs +5 -18
  4. package/dist/assets/iconfont/IconClose.mjs +5 -18
  5. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +5 -18
  6. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +5 -18
  7. package/dist/assets/iconfont/IconColumnFixedRight.mjs +5 -18
  8. package/dist/assets/iconfont/IconCuowu.mjs +5 -18
  9. package/dist/assets/iconfont/IconDragOrder.mjs +5 -18
  10. package/dist/assets/iconfont/IconDuigoux.mjs +5 -18
  11. package/dist/assets/iconfont/IconFabu.mjs +8 -27
  12. package/dist/assets/iconfont/IconFanhui.mjs +5 -18
  13. package/dist/assets/iconfont/IconGaojisousuo.mjs +5 -18
  14. package/dist/assets/iconfont/IconHangfengexian.mjs +9 -35
  15. package/dist/assets/iconfont/IconHangliefengexian.mjs +9 -35
  16. package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +5 -18
  17. package/dist/assets/iconfont/IconIcon21.mjs +5 -18
  18. package/dist/assets/iconfont/IconJincoude.mjs +5 -18
  19. package/dist/assets/iconfont/IconJinggao.mjs +5 -18
  20. package/dist/assets/iconfont/IconKuansongde.mjs +5 -18
  21. package/dist/assets/iconfont/IconLiefengexian.mjs +9 -35
  22. package/dist/assets/iconfont/IconMore.mjs +9 -34
  23. package/dist/assets/iconfont/IconShanchu.mjs +5 -18
  24. package/dist/assets/iconfont/IconShanchu1.mjs +8 -27
  25. package/dist/assets/iconfont/IconSousuo.mjs +5 -18
  26. package/dist/assets/iconfont/IconTejincou.mjs +5 -18
  27. package/dist/assets/iconfont/IconTekuansong.mjs +5 -18
  28. package/dist/assets/iconfont/IconTishi1.mjs +5 -18
  29. package/dist/assets/iconfont/IconTuodong.mjs +5 -18
  30. package/dist/assets/iconfont/IconWubanmawentianchong.mjs +8 -29
  31. package/dist/assets/iconfont/IconWufengexian.mjs +5 -19
  32. package/dist/assets/iconfont/IconXinxitishi.mjs +5 -18
  33. package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +8 -28
  34. package/dist/assets/iconfont/IconZhongdengde.mjs +5 -18
  35. package/dist/assets/iconfont/IconZhongzhi.mjs +5 -18
  36. package/dist/assets/iconfont/index.mjs +4 -1
  37. package/dist/components/BitzAddTag/index.mjs +22 -43
  38. package/dist/components/BitzAddressBook/index.mjs +42 -91
  39. package/dist/components/BitzAppRefresh/index.mjs +11 -17
  40. package/dist/components/BitzBetterScroll/index.mjs +13 -1
  41. package/dist/components/BitzButton/index.mjs +33 -25
  42. package/dist/components/BitzCalendar/index.mjs +42 -60
  43. package/dist/components/BitzCascader/BitzCascaderMobile.mjs +26 -48
  44. package/dist/components/BitzCascader/index.mjs +5 -1
  45. package/dist/components/BitzCollapse/index.mjs +7 -5
  46. package/dist/components/BitzConfigProvider/context.mjs +1 -3
  47. package/dist/components/BitzConfigProvider/index.mjs +5 -5
  48. package/dist/components/BitzConfirmModal/index.mjs +28 -31
  49. package/dist/components/BitzDayJs/index.mjs +1 -1
  50. package/dist/components/BitzDescriptions/index.mjs +1 -11
  51. package/dist/components/BitzDrawer/index.mjs +14 -18
  52. package/dist/components/BitzEmpty/index.mjs +5 -1
  53. package/dist/components/BitzException/index.mjs +1 -6
  54. package/dist/components/BitzFloatLayout/index.mjs +14 -2
  55. package/dist/components/BitzFluentDatePicker/index.mjs +4 -1
  56. package/dist/components/BitzFluentRangePicker/index.mjs +4 -1
  57. package/dist/components/BitzFluentRangeTimePicker/index.mjs +4 -1
  58. package/dist/components/BitzFluentTimePicker/index.mjs +4 -1
  59. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  60. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +15 -15
  61. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +4 -2
  62. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +13 -24
  63. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +1 -1
  64. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +10 -14
  65. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +42 -66
  66. package/dist/components/BitzFuiCalendar/ColumnData.mjs +9 -17
  67. package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +28 -33
  68. package/dist/components/BitzFuiCalendar/index.mjs +3 -1
  69. package/dist/components/BitzFullScreen/index.mjs +42 -20
  70. package/dist/components/BitzHighlight/Child.mjs +12 -9
  71. package/dist/components/BitzHighlight/Highlight.mjs +10 -8
  72. package/dist/components/BitzHighlight/chunks.mjs +17 -20
  73. package/dist/components/BitzHighlight/style.mjs +25 -22
  74. package/dist/components/BitzImage/index.mjs +5 -1
  75. package/dist/components/BitzImage/previewImage.mjs +8 -15
  76. package/dist/components/BitzLanguageTabs/index.mjs +29 -20
  77. package/dist/components/BitzLazyLoad/index.mjs +1 -7
  78. package/dist/components/BitzList/List.mjs +1 -15
  79. package/dist/components/BitzList/LoadMore.mjs +23 -22
  80. package/dist/components/BitzLoadMore/index.mjs +7 -13
  81. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +12 -10
  82. package/dist/components/BitzMeetingTime/index.mjs +15 -4
  83. package/dist/components/BitzMobileLoading/index.mjs +3 -1
  84. package/dist/components/BitzModal/index.mjs +14 -21
  85. package/dist/components/BitzNoData/index.mjs +8 -1
  86. package/dist/components/BitzNoMore/index.mjs +4 -1
  87. package/dist/components/BitzOrganizationSelection/index.mjs +39 -38
  88. package/dist/components/BitzPageContainer/index.mjs +21 -42
  89. package/dist/components/BitzPageHeader/index.mjs +21 -56
  90. package/dist/components/BitzPagination/index.mjs +9 -38
  91. package/dist/components/BitzPopover/index.mjs +8 -2
  92. package/dist/components/BitzPullRefresh/PullRefresh.mjs +43 -45
  93. package/dist/components/BitzQRCode/index.mjs +1 -6
  94. package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +23 -20
  95. package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +7 -1
  96. package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +3 -1
  97. package/dist/components/BitzQueryFilter/index.mjs +12 -44
  98. package/dist/components/BitzRefresh/index.mjs +13 -4
  99. package/dist/components/BitzRemark/index.mjs +6 -1
  100. package/dist/components/BitzSearch/index.mjs +12 -2
  101. package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +53 -103
  102. package/dist/components/BitzSelect/index.mjs +10 -2
  103. package/dist/components/BitzSkeleton/index.mjs +1 -31
  104. package/dist/components/BitzTabbar/BitzTabbar.mjs +7 -13
  105. package/dist/components/BitzTabbar/BitzTabbarItem.mjs +15 -3
  106. package/dist/components/BitzTable/ActionBar/ActionBar.mjs +47 -93
  107. package/dist/components/BitzTable/ActionBar/Button.mjs +9 -6
  108. package/dist/components/BitzTable/ActionBar/style.mjs +62 -67
  109. package/dist/components/BitzTable/ActionCol/index.mjs +65 -174
  110. package/dist/components/BitzTable/ActionCol/style.mjs +74 -88
  111. package/dist/components/BitzTable/Dropdown/index.mjs +15 -11
  112. package/dist/components/BitzTable/Dropdown/style.mjs +66 -70
  113. package/dist/components/BitzTable/SelectionBar/Button.mjs +26 -20
  114. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +15 -13
  115. package/dist/components/BitzTable/SelectionBar/style.mjs +79 -96
  116. package/dist/components/BitzTable/Store/index.mjs +139 -165
  117. package/dist/components/BitzTable/Store/utils/index.mjs +11 -2
  118. package/dist/components/BitzTable/SubTable/index.mjs +66 -71
  119. package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +27 -37
  120. package/dist/components/BitzTable/Table/SortTableContext.mjs +7 -19
  121. package/dist/components/BitzTable/Table/SortableRow.mjs +36 -38
  122. package/dist/components/BitzTable/Table/TdCell.mjs +14 -12
  123. package/dist/components/BitzTable/Table/index.mjs +424 -538
  124. package/dist/components/BitzTable/Table/useScrollConfig.mjs +18 -10
  125. package/dist/components/BitzTable/Table/utils.mjs +20 -21
  126. package/dist/components/BitzTable/TextOverflow/index.mjs +15 -14
  127. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.d.ts +0 -1
  128. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +133 -131
  129. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +114 -120
  130. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +31 -42
  131. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +337 -345
  132. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +23 -33
  133. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +16 -30
  134. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +169 -146
  135. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.d.ts +1 -1
  136. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +12 -9
  137. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +29 -17
  138. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +226 -174
  139. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +56 -59
  140. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +50 -50
  141. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +34 -34
  142. package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +45 -35
  143. package/dist/components/BitzTable/ToolBar/Modal/index.d.ts +1 -1
  144. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +19 -38
  145. package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +33 -19
  146. package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +32 -44
  147. package/dist/components/BitzTable/ToolBar/style.mjs +59 -58
  148. package/dist/components/BitzTableOperations/index.mjs +8 -13
  149. package/dist/components/BitzTableSelect/Picker/index.mjs +4 -23
  150. package/dist/components/BitzTableSelect/Select/index.mjs +2 -48
  151. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +16 -22
  152. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +86 -171
  153. package/dist/components/BitzTableSelect/SingleSelect/index.mjs +1 -43
  154. package/dist/components/BitzTableSelect/TableCell/index.mjs +28 -56
  155. package/dist/components/BitzTableSelect/TextBlock/index.mjs +10 -18
  156. package/dist/components/BitzTableSelect/index.mjs +5 -39
  157. package/dist/components/BitzTag/index.mjs +10 -2
  158. package/dist/components/BitzText/index.mjs +47 -53
  159. package/dist/components/BitzTheme/index.mjs +5 -1
  160. package/dist/components/BitzTimeline/index.mjs +1 -11
  161. package/dist/components/BitzTimer/Form.mjs +32 -38
  162. package/dist/components/BitzTimer/Timer.mjs +31 -50
  163. package/dist/components/BitzTimer/index.mjs +58 -60
  164. package/dist/components/BitzToast/Toast/index.mjs +24 -12
  165. package/dist/components/BitzToast/index.mjs +7 -1
  166. package/dist/components/BitzTooltip/index.mjs +35 -45
  167. package/dist/components/BitzTooltip/style.mjs +41 -38
  168. package/dist/components/BitzUeEditor/config.mjs +183 -185
  169. package/dist/components/BitzUeEditor/index.mjs +10 -2
  170. package/dist/components/BitzUpload/index.mjs +72 -84
  171. package/dist/components/BitzWebAppDrawer/index.mjs +4 -18
  172. package/dist/components/BitzWebAppModal/index.mjs +6 -1
  173. package/dist/hooks/use-event-listener.mjs +4 -5
  174. package/dist/hooks/use-lock-fn.mjs +10 -13
  175. package/dist/hooks/use-scroll-parent.mjs +4 -4
  176. package/dist/hooks/useEvent.mjs +4 -7
  177. package/dist/hooks/useMergedState.mjs +6 -1
  178. package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +4 -4
  179. package/dist/node_modules/classnames/index.mjs +1 -1
  180. package/dist/node_modules/dayjs/locale/zh-cn.mjs +10 -10
  181. package/dist/node_modules/react-is/index.mjs +1 -1
  182. package/dist/node_modules/react-resizable/index.mjs +1 -1
  183. package/dist/node_modules/use-sync-external-store/shim/index.mjs +1 -1
  184. package/dist/style.css +1 -1
  185. package/dist/utils/WithFluent.mjs +17 -14
  186. package/dist/utils/create.mjs +1 -7
  187. package/dist/utils/get-default-props.mjs +3 -1
  188. package/dist/utils/time.mjs +8 -8
  189. package/package.json +6 -2
  190. package/dist/_virtual/dayjs.min.mjs +0 -4
  191. package/dist/components/BitzTable/Select/index.d.ts +0 -3
  192. package/dist/components/BitzTable/Select/style.d.ts +0 -4
  193. package/dist/components/BitzTable/ToolBar/ExportIcon/AnyDataTotalLabel.d.ts +0 -11
  194. package/dist/components/BitzTable/ToolBar/ExportIcon/styles.d.ts +0 -3
  195. package/dist/node_modules/@ant-design/icons/es/icons/AlignCenterOutlined.mjs +0 -15
  196. package/dist/node_modules/@ant-design/icons/es/icons/AppstoreOutlined.mjs +0 -15
  197. package/dist/node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.mjs +0 -15
  198. package/dist/node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.mjs +0 -15
  199. package/dist/node_modules/@ant-design/icons/es/icons/CaretDownFilled.mjs +0 -15
  200. package/dist/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs +0 -15
  201. package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs +0 -15
  202. package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.mjs +0 -15
  203. package/dist/node_modules/@ant-design/icons/es/icons/CopyOutlined.mjs +0 -15
  204. package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs +0 -15
  205. package/dist/node_modules/@ant-design/icons/es/icons/EditOutlined.mjs +0 -15
  206. package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.mjs +0 -15
  207. package/dist/node_modules/@ant-design/icons/es/icons/FullscreenExitOutlined.mjs +0 -15
  208. package/dist/node_modules/@ant-design/icons/es/icons/FullscreenOutlined.mjs +0 -15
  209. package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs +0 -15
  210. package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.mjs +0 -15
  211. package/dist/node_modules/@ant-design/icons/es/icons/MenuFoldOutlined.mjs +0 -15
  212. package/dist/node_modules/@ant-design/icons/es/icons/MenuOutlined.mjs +0 -15
  213. package/dist/node_modules/@ant-design/icons/es/icons/MenuUnfoldOutlined.mjs +0 -15
  214. package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.mjs +0 -15
  215. package/dist/node_modules/@ant-design/icons/es/icons/PauseCircleFilled.mjs +0 -15
  216. package/dist/node_modules/@ant-design/icons/es/icons/PlayCircleFilled.mjs +0 -15
  217. package/dist/node_modules/@ant-design/icons/es/icons/PlusCircleFilled.mjs +0 -15
  218. package/dist/node_modules/@ant-design/icons/es/icons/PlusOutlined.mjs +0 -15
  219. package/dist/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs +0 -15
  220. package/dist/node_modules/@ant-design/icons/es/icons/ReloadOutlined.mjs +0 -15
  221. package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs +0 -15
  222. package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.mjs +0 -15
  223. package/dist/node_modules/@ant-design/icons/es/icons/SettingFilled.mjs +0 -15
  224. package/dist/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs +0 -15
  225. package/dist/node_modules/@ant-design/icons/es/icons/SwapRightOutlined.mjs +0 -15
  226. package/dist/node_modules/@ant-design/icons/es/icons/UploadOutlined.mjs +0 -15
  227. package/dist/node_modules/@ant-design/icons-svg/es/asn/AlignCenterOutlined.mjs +0 -5
  228. package/dist/node_modules/@ant-design/icons-svg/es/asn/AppstoreOutlined.mjs +0 -5
  229. package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.mjs +0 -5
  230. package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowRightOutlined.mjs +0 -5
  231. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.mjs +0 -5
  232. package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.mjs +0 -5
  233. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs +0 -5
  234. package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.mjs +0 -5
  235. package/dist/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.mjs +0 -5
  236. package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.mjs +0 -5
  237. package/dist/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.mjs +0 -5
  238. package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.mjs +0 -5
  239. package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenExitOutlined.mjs +0 -5
  240. package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenOutlined.mjs +0 -5
  241. package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.mjs +0 -5
  242. package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.mjs +0 -5
  243. package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuFoldOutlined.mjs +0 -5
  244. package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.mjs +0 -5
  245. package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuUnfoldOutlined.mjs +0 -5
  246. package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.mjs +0 -5
  247. package/dist/node_modules/@ant-design/icons-svg/es/asn/PauseCircleFilled.mjs +0 -5
  248. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlayCircleFilled.mjs +0 -5
  249. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusCircleFilled.mjs +0 -5
  250. package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.mjs +0 -5
  251. package/dist/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.mjs +0 -5
  252. package/dist/node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.mjs +0 -5
  253. package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.mjs +0 -5
  254. package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.mjs +0 -5
  255. package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingFilled.mjs +0 -5
  256. package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.mjs +0 -5
  257. package/dist/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.mjs +0 -5
  258. package/dist/node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.mjs +0 -5
  259. package/dist/node_modules/dayjs/dayjs.min.mjs +0 -297
  260. package/dist/node_modules/lodash-es/_DataView.mjs +0 -7
  261. package/dist/node_modules/lodash-es/_Hash.mjs +0 -20
  262. package/dist/node_modules/lodash-es/_ListCache.mjs +0 -20
  263. package/dist/node_modules/lodash-es/_Map.mjs +0 -7
  264. package/dist/node_modules/lodash-es/_MapCache.mjs +0 -20
  265. package/dist/node_modules/lodash-es/_Promise.mjs +0 -7
  266. package/dist/node_modules/lodash-es/_Set.mjs +0 -7
  267. package/dist/node_modules/lodash-es/_SetCache.mjs +0 -13
  268. package/dist/node_modules/lodash-es/_Stack.mjs +0 -18
  269. package/dist/node_modules/lodash-es/_Symbol.mjs +0 -6
  270. package/dist/node_modules/lodash-es/_Uint8Array.mjs +0 -6
  271. package/dist/node_modules/lodash-es/_WeakMap.mjs +0 -7
  272. package/dist/node_modules/lodash-es/_apply.mjs +0 -16
  273. package/dist/node_modules/lodash-es/_arrayEach.mjs +0 -8
  274. package/dist/node_modules/lodash-es/_arrayFilter.mjs +0 -10
  275. package/dist/node_modules/lodash-es/_arrayIncludes.mjs +0 -8
  276. package/dist/node_modules/lodash-es/_arrayIncludesWith.mjs +0 -9
  277. package/dist/node_modules/lodash-es/_arrayLikeKeys.mjs +0 -20
  278. package/dist/node_modules/lodash-es/_arrayMap.mjs +0 -8
  279. package/dist/node_modules/lodash-es/_arrayPush.mjs +0 -8
  280. package/dist/node_modules/lodash-es/_arraySome.mjs +0 -9
  281. package/dist/node_modules/lodash-es/_assignMergeValue.mjs +0 -8
  282. package/dist/node_modules/lodash-es/_assignValue.mjs +0 -10
  283. package/dist/node_modules/lodash-es/_assocIndexOf.mjs +0 -10
  284. package/dist/node_modules/lodash-es/_baseAssign.mjs +0 -8
  285. package/dist/node_modules/lodash-es/_baseAssignIn.mjs +0 -8
  286. package/dist/node_modules/lodash-es/_baseAssignValue.mjs +0 -12
  287. package/dist/node_modules/lodash-es/_baseAt.mjs +0 -9
  288. package/dist/node_modules/lodash-es/_baseClone.mjs +0 -65
  289. package/dist/node_modules/lodash-es/_baseCreate.mjs +0 -18
  290. package/dist/node_modules/lodash-es/_baseFindIndex.mjs +0 -9
  291. package/dist/node_modules/lodash-es/_baseFlatten.mjs +0 -13
  292. package/dist/node_modules/lodash-es/_baseFor.mjs +0 -6
  293. package/dist/node_modules/lodash-es/_baseForOwn.mjs +0 -8
  294. package/dist/node_modules/lodash-es/_baseGet.mjs +0 -11
  295. package/dist/node_modules/lodash-es/_baseGetAllKeys.mjs +0 -9
  296. package/dist/node_modules/lodash-es/_baseGetTag.mjs +0 -10
  297. package/dist/node_modules/lodash-es/_baseHasIn.mjs +0 -6
  298. package/dist/node_modules/lodash-es/_baseIndexOf.mjs +0 -9
  299. package/dist/node_modules/lodash-es/_baseIsArguments.mjs +0 -9
  300. package/dist/node_modules/lodash-es/_baseIsEqual.mjs +0 -8
  301. package/dist/node_modules/lodash-es/_baseIsEqualDeep.mjs +0 -32
  302. package/dist/node_modules/lodash-es/_baseIsMap.mjs +0 -9
  303. package/dist/node_modules/lodash-es/_baseIsMatch.mjs +0 -31
  304. package/dist/node_modules/lodash-es/_baseIsNaN.mjs +0 -6
  305. package/dist/node_modules/lodash-es/_baseIsNative.mjs +0 -16
  306. package/dist/node_modules/lodash-es/_baseIsSet.mjs +0 -9
  307. package/dist/node_modules/lodash-es/_baseIsTypedArray.mjs +0 -12
  308. package/dist/node_modules/lodash-es/_baseIteratee.mjs +0 -11
  309. package/dist/node_modules/lodash-es/_baseKeys.mjs +0 -14
  310. package/dist/node_modules/lodash-es/_baseKeysIn.mjs +0 -15
  311. package/dist/node_modules/lodash-es/_baseMatches.mjs +0 -12
  312. package/dist/node_modules/lodash-es/_baseMatchesProperty.mjs +0 -17
  313. package/dist/node_modules/lodash-es/_baseMerge.mjs +0 -20
  314. package/dist/node_modules/lodash-es/_baseMergeDeep.mjs +0 -31
  315. package/dist/node_modules/lodash-es/_baseProperty.mjs +0 -8
  316. package/dist/node_modules/lodash-es/_basePropertyDeep.mjs +0 -9
  317. package/dist/node_modules/lodash-es/_baseRest.mjs +0 -9
  318. package/dist/node_modules/lodash-es/_baseSetToString.mjs +0 -15
  319. package/dist/node_modules/lodash-es/_baseSlice.mjs +0 -10
  320. package/dist/node_modules/lodash-es/_baseTimes.mjs +0 -8
  321. package/dist/node_modules/lodash-es/_baseToString.mjs +0 -18
  322. package/dist/node_modules/lodash-es/_baseUnary.mjs +0 -8
  323. package/dist/node_modules/lodash-es/_baseUniq.mjs +0 -34
  324. package/dist/node_modules/lodash-es/_baseUnset.mjs +0 -10
  325. package/dist/node_modules/lodash-es/_cacheHas.mjs +0 -6
  326. package/dist/node_modules/lodash-es/_castPath.mjs +0 -10
  327. package/dist/node_modules/lodash-es/_cloneArrayBuffer.mjs +0 -8
  328. package/dist/node_modules/lodash-es/_cloneBuffer.mjs +0 -11
  329. package/dist/node_modules/lodash-es/_cloneDataView.mjs +0 -8
  330. package/dist/node_modules/lodash-es/_cloneRegExp.mjs +0 -8
  331. package/dist/node_modules/lodash-es/_cloneSymbol.mjs +0 -8
  332. package/dist/node_modules/lodash-es/_cloneTypedArray.mjs +0 -8
  333. package/dist/node_modules/lodash-es/_copyArray.mjs +0 -9
  334. package/dist/node_modules/lodash-es/_copyObject.mjs +0 -14
  335. package/dist/node_modules/lodash-es/_copySymbols.mjs +0 -8
  336. package/dist/node_modules/lodash-es/_copySymbolsIn.mjs +0 -8
  337. package/dist/node_modules/lodash-es/_coreJsData.mjs +0 -6
  338. package/dist/node_modules/lodash-es/_createAssigner.mjs +0 -15
  339. package/dist/node_modules/lodash-es/_createBaseFor.mjs +0 -13
  340. package/dist/node_modules/lodash-es/_createSet.mjs +0 -10
  341. package/dist/node_modules/lodash-es/_customOmitClone.mjs +0 -7
  342. package/dist/node_modules/lodash-es/_defineProperty.mjs +0 -12
  343. package/dist/node_modules/lodash-es/_equalArrays.mjs +0 -40
  344. package/dist/node_modules/lodash-es/_equalByTag.mjs +0 -45
  345. package/dist/node_modules/lodash-es/_equalObjects.mjs +0 -36
  346. package/dist/node_modules/lodash-es/_flatRest.mjs +0 -9
  347. package/dist/node_modules/lodash-es/_freeGlobal.mjs +0 -5
  348. package/dist/node_modules/lodash-es/_getAllKeys.mjs +0 -9
  349. package/dist/node_modules/lodash-es/_getAllKeysIn.mjs +0 -9
  350. package/dist/node_modules/lodash-es/_getMapData.mjs +0 -8
  351. package/dist/node_modules/lodash-es/_getMatchData.mjs +0 -12
  352. package/dist/node_modules/lodash-es/_getNative.mjs +0 -9
  353. package/dist/node_modules/lodash-es/_getPrototype.mjs +0 -6
  354. package/dist/node_modules/lodash-es/_getRawTag.mjs +0 -15
  355. package/dist/node_modules/lodash-es/_getSymbols.mjs +0 -11
  356. package/dist/node_modules/lodash-es/_getSymbolsIn.mjs +0 -13
  357. package/dist/node_modules/lodash-es/_getTag.mjs +0 -29
  358. package/dist/node_modules/lodash-es/_getValue.mjs +0 -6
  359. package/dist/node_modules/lodash-es/_hasPath.mjs +0 -19
  360. package/dist/node_modules/lodash-es/_hashClear.mjs +0 -7
  361. package/dist/node_modules/lodash-es/_hashDelete.mjs +0 -7
  362. package/dist/node_modules/lodash-es/_hashGet.mjs +0 -13
  363. package/dist/node_modules/lodash-es/_hashHas.mjs +0 -9
  364. package/dist/node_modules/lodash-es/_hashSet.mjs +0 -9
  365. package/dist/node_modules/lodash-es/_initCloneArray.mjs +0 -8
  366. package/dist/node_modules/lodash-es/_initCloneByTag.mjs +0 -42
  367. package/dist/node_modules/lodash-es/_initCloneObject.mjs +0 -9
  368. package/dist/node_modules/lodash-es/_isFlattenable.mjs +0 -10
  369. package/dist/node_modules/lodash-es/_isIndex.mjs +0 -8
  370. package/dist/node_modules/lodash-es/_isIterateeCall.mjs +0 -13
  371. package/dist/node_modules/lodash-es/_isKey.mjs +0 -12
  372. package/dist/node_modules/lodash-es/_isKeyable.mjs +0 -7
  373. package/dist/node_modules/lodash-es/_isMasked.mjs +0 -11
  374. package/dist/node_modules/lodash-es/_isPrototype.mjs +0 -8
  375. package/dist/node_modules/lodash-es/_isStrictComparable.mjs +0 -7
  376. package/dist/node_modules/lodash-es/_listCacheClear.mjs +0 -6
  377. package/dist/node_modules/lodash-es/_listCacheDelete.mjs +0 -12
  378. package/dist/node_modules/lodash-es/_listCacheGet.mjs +0 -8
  379. package/dist/node_modules/lodash-es/_listCacheHas.mjs +0 -7
  380. package/dist/node_modules/lodash-es/_listCacheSet.mjs +0 -8
  381. package/dist/node_modules/lodash-es/_mapCacheClear.mjs +0 -13
  382. package/dist/node_modules/lodash-es/_mapCacheDelete.mjs +0 -8
  383. package/dist/node_modules/lodash-es/_mapCacheGet.mjs +0 -7
  384. package/dist/node_modules/lodash-es/_mapCacheHas.mjs +0 -7
  385. package/dist/node_modules/lodash-es/_mapCacheSet.mjs +0 -8
  386. package/dist/node_modules/lodash-es/_mapToArray.mjs +0 -9
  387. package/dist/node_modules/lodash-es/_matchesStrictComparable.mjs +0 -8
  388. package/dist/node_modules/lodash-es/_memoizeCapped.mjs +0 -11
  389. package/dist/node_modules/lodash-es/_nativeCreate.mjs +0 -6
  390. package/dist/node_modules/lodash-es/_nativeKeys.mjs +0 -6
  391. package/dist/node_modules/lodash-es/_nativeKeysIn.mjs +0 -10
  392. package/dist/node_modules/lodash-es/_nodeUtil.mjs +0 -12
  393. package/dist/node_modules/lodash-es/_objectToString.mjs +0 -7
  394. package/dist/node_modules/lodash-es/_overArg.mjs +0 -8
  395. package/dist/node_modules/lodash-es/_overRest.mjs +0 -15
  396. package/dist/node_modules/lodash-es/_parent.mjs +0 -8
  397. package/dist/node_modules/lodash-es/_root.mjs +0 -6
  398. package/dist/node_modules/lodash-es/_safeGet.mjs +0 -7
  399. package/dist/node_modules/lodash-es/_setCacheAdd.mjs +0 -7
  400. package/dist/node_modules/lodash-es/_setCacheHas.mjs +0 -6
  401. package/dist/node_modules/lodash-es/_setToArray.mjs +0 -9
  402. package/dist/node_modules/lodash-es/_setToString.mjs +0 -7
  403. package/dist/node_modules/lodash-es/_shortOut.mjs +0 -16
  404. package/dist/node_modules/lodash-es/_stackClear.mjs +0 -7
  405. package/dist/node_modules/lodash-es/_stackDelete.mjs +0 -7
  406. package/dist/node_modules/lodash-es/_stackGet.mjs +0 -6
  407. package/dist/node_modules/lodash-es/_stackHas.mjs +0 -6
  408. package/dist/node_modules/lodash-es/_stackSet.mjs +0 -17
  409. package/dist/node_modules/lodash-es/_strictIndexOf.mjs +0 -9
  410. package/dist/node_modules/lodash-es/_stringToPath.mjs +0 -11
  411. package/dist/node_modules/lodash-es/_toKey.mjs +0 -11
  412. package/dist/node_modules/lodash-es/_toSource.mjs +0 -17
  413. package/dist/node_modules/lodash-es/at.mjs +0 -7
  414. package/dist/node_modules/lodash-es/constant.mjs +0 -8
  415. package/dist/node_modules/lodash-es/eq.mjs +0 -6
  416. package/dist/node_modules/lodash-es/flatten.mjs +0 -8
  417. package/dist/node_modules/lodash-es/get.mjs +0 -8
  418. package/dist/node_modules/lodash-es/hasIn.mjs +0 -8
  419. package/dist/node_modules/lodash-es/identity.mjs +0 -6
  420. package/dist/node_modules/lodash-es/isArguments.mjs +0 -11
  421. package/dist/node_modules/lodash-es/isArray.mjs +0 -5
  422. package/dist/node_modules/lodash-es/isArrayLike.mjs +0 -8
  423. package/dist/node_modules/lodash-es/isArrayLikeObject.mjs +0 -8
  424. package/dist/node_modules/lodash-es/isBoolean.mjs +0 -9
  425. package/dist/node_modules/lodash-es/isBuffer.mjs +0 -7
  426. package/dist/node_modules/lodash-es/isFunction.mjs +0 -12
  427. package/dist/node_modules/lodash-es/isLength.mjs +0 -7
  428. package/dist/node_modules/lodash-es/isMap.mjs +0 -8
  429. package/dist/node_modules/lodash-es/isObject.mjs +0 -7
  430. package/dist/node_modules/lodash-es/isObjectLike.mjs +0 -6
  431. package/dist/node_modules/lodash-es/isPlainObject.mjs +0 -16
  432. package/dist/node_modules/lodash-es/isSet.mjs +0 -8
  433. package/dist/node_modules/lodash-es/isSymbol.mjs +0 -9
  434. package/dist/node_modules/lodash-es/isTypedArray.mjs +0 -8
  435. package/dist/node_modules/lodash-es/keys.mjs +0 -9
  436. package/dist/node_modules/lodash-es/keysIn.mjs +0 -9
  437. package/dist/node_modules/lodash-es/last.mjs +0 -7
  438. package/dist/node_modules/lodash-es/mapValues.mjs +0 -12
  439. package/dist/node_modules/lodash-es/memoize.mjs +0 -18
  440. package/dist/node_modules/lodash-es/merge.mjs +0 -9
  441. package/dist/node_modules/lodash-es/noop.mjs +0 -5
  442. package/dist/node_modules/lodash-es/omit.mjs +0 -24
  443. package/dist/node_modules/lodash-es/property.mjs +0 -10
  444. package/dist/node_modules/lodash-es/stubArray.mjs +0 -6
  445. package/dist/node_modules/lodash-es/stubFalse.mjs +0 -6
  446. package/dist/node_modules/lodash-es/toPlainObject.mjs +0 -8
  447. package/dist/node_modules/lodash-es/toString.mjs +0 -7
  448. package/dist/node_modules/lodash-es/uniq.mjs +0 -7
@@ -2,15 +2,26 @@ import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import { useMemo as d } from "react";
3
3
  import p from "../../node_modules/dayjs/plugin/objectSupport.mjs";
4
4
  import T from "./BitzMeetingTimeItem.mjs";
5
- import m from "../../node_modules/dayjs/dayjs.min.mjs";
5
+ import m from "dayjs";
6
6
  import "./index.less.mjs";
7
7
  m.extend(p);
8
8
  const x = (a) => {
9
- const { startHour: t = 9, endHour: r = 18, divide: o = 2, time: l = [], current: c, nowTime: u = m().toString() } = a, s = d(() => r - t, [t, r]);
9
+ const {
10
+ startHour: t = 9,
11
+ endHour: r = 18,
12
+ divide: o = 2,
13
+ time: l = [],
14
+ current: c,
15
+ nowTime: u = m().toString()
16
+ } = a, s = d(() => r - t, [t, r]);
10
17
  return console.log("lengthTime", s), /* @__PURE__ */ e.jsx("div", { className: "BitzMeetingTime2Block", children: [...new Array(s).keys()].map((g, i) => /* @__PURE__ */ e.jsxs("div", { className: "BitzMeetingTimeRow", children: [
11
- /* @__PURE__ */ e.jsx("div", { className: "BitzMeetingTimeTopTime", children: m({ hour: t + i }).format("HH:mm") }),
18
+ /* @__PURE__ */ e.jsx("div", { className: "BitzMeetingTimeTopTime", children: m({
19
+ hour: t + i
20
+ }).format("HH:mm") }),
12
21
  /* @__PURE__ */ e.jsx("ul", { className: "BitzMeetingTimeList", children: [...new Array(o).keys()].map((h, n) => /* @__PURE__ */ e.jsx(T, { hour: t + i, range: n, time: l, divide: o, current: c, nowTime: u }, n)) }),
13
- /* @__PURE__ */ e.jsx("div", { className: "BitzMeetingTimeBottomTime", children: m({ hour: t + i }).add(1, "hour").format("HH:mm") })
22
+ /* @__PURE__ */ e.jsx("div", { className: "BitzMeetingTimeBottomTime", children: m({
23
+ hour: t + i
24
+ }).add(1, "hour").format("HH:mm") })
14
25
  ] }, i)) });
15
26
  };
16
27
  export {
@@ -2,7 +2,9 @@ import { j as i } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import { isMobile as r } from "../../node_modules/react-device-detect/dist/lib.mjs";
3
3
  import { Spin as s } from "antd";
4
4
  import "./index.less.mjs";
5
- const n = ({ loading: o = !1 }) => /* @__PURE__ */ i.jsx(i.Fragment, { children: r && o && /* @__PURE__ */ i.jsx("div", { className: "bitzLoadingBlock", children: /* @__PURE__ */ i.jsx(s, { size: "large", tip: "Loading..." }) }) });
5
+ const n = ({
6
+ loading: o = !1
7
+ }) => /* @__PURE__ */ i.jsx(i.Fragment, { children: r && o && /* @__PURE__ */ i.jsx("div", { className: "bitzLoadingBlock", children: /* @__PURE__ */ i.jsx(s, { size: "large", tip: "Loading..." }) }) });
6
8
  export {
7
9
  n as default
8
10
  };
@@ -1,10 +1,16 @@
1
1
  import { j as t } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import { useState as d } from "react";
3
3
  import { Modal as m } from "antd";
4
+ import { CloseOutlined as p } from "@ant-design/icons";
4
5
  import "./index.less.mjs";
5
- import p from "../../node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs";
6
- const j = ({ modalOpen: c = !1, modalEmit: o = () => {
7
- }, modalText: l, deleteId: n, deleteUrl: r }) => {
6
+ const j = ({
7
+ modalOpen: c = !1,
8
+ modalEmit: o = () => {
9
+ },
10
+ modalText: l,
11
+ deleteId: n,
12
+ deleteUrl: r
13
+ }) => {
8
14
  const [i, s] = d(!1), a = (e) => {
9
15
  switch (e) {
10
16
  case "ok":
@@ -23,24 +29,11 @@ const j = ({ modalOpen: c = !1, modalEmit: o = () => {
23
29
  s(!1), o("fail"), console.log("e", e);
24
30
  }
25
31
  };
26
- return /* @__PURE__ */ t.jsx(
27
- m,
28
- {
29
- className: "bitzModalBlock",
30
- title: "提示",
31
- width: 400,
32
- open: c,
33
- closeIcon: /* @__PURE__ */ t.jsx(p, {}),
34
- onOk: () => {
35
- a("ok");
36
- },
37
- confirmLoading: i,
38
- onCancel: () => {
39
- a("cancel");
40
- },
41
- children: /* @__PURE__ */ t.jsx("div", { className: "textBox", children: l || "您确定要删除吗?" })
42
- }
43
- );
32
+ return /* @__PURE__ */ t.jsx(m, { className: "bitzModalBlock", title: "提示", width: 400, open: c, closeIcon: /* @__PURE__ */ t.jsx(p, {}), onOk: () => {
33
+ a("ok");
34
+ }, confirmLoading: i, onCancel: () => {
35
+ a("cancel");
36
+ }, children: /* @__PURE__ */ t.jsx("div", { className: "textBox", children: l || "您确定要删除吗?" }) });
44
37
  };
45
38
  export {
46
39
  j as default
@@ -1,7 +1,14 @@
1
1
  import { j as t } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import m from "../../assets/images/nodata.png.mjs";
3
3
  import "./index.less.mjs";
4
- const x = ({ data: a = [], title: s = "暂无数据", img: r, width: o = 200, height: e = 200, ...i }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: a.length == 0 && /* @__PURE__ */ t.jsxs("div", { ...i, className: "bitzNoDataBlock", children: [
4
+ const x = ({
5
+ data: a = [],
6
+ title: s = "暂无数据",
7
+ img: r,
8
+ width: o = 200,
9
+ height: e = 200,
10
+ ...i
11
+ }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: a.length == 0 && /* @__PURE__ */ t.jsxs("div", { ...i, className: "bitzNoDataBlock", children: [
5
12
  /* @__PURE__ */ t.jsx("img", { src: r || m, width: o, height: e }),
6
13
  /* @__PURE__ */ t.jsx("div", { className: "noDataText", children: s })
7
14
  ] }) });
@@ -1,6 +1,9 @@
1
1
  import { j as r } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import "./index.less.mjs";
3
- const i = ({ showNoMore: e = !1, title: t }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: e && /* @__PURE__ */ r.jsx("div", { className: "bitzNoMoreBlick", children: t || "暂无更多数据" }) });
3
+ const i = ({
4
+ showNoMore: e = !1,
5
+ title: t
6
+ }) => /* @__PURE__ */ r.jsx(r.Fragment, { children: e && /* @__PURE__ */ r.jsx("div", { className: "bitzNoMoreBlick", children: t || "暂无更多数据" }) });
4
7
  export {
5
8
  i as default
6
9
  };
@@ -1,60 +1,61 @@
1
1
  import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
2
- import { theme as y, Input as C, Tree as b, Space as N, Button as S, Tag as w } from "antd";
3
- import { useEffect as z } from "react";
4
- import { useImmer as T } from "../../node_modules/use-immer/dist/use-immer.module.mjs";
2
+ import { CaretDownFilled as y, SettingFilled as C } from "@ant-design/icons";
3
+ import { theme as b, Input as N, Tree as S, Space as w, Button as z, Tag as T } from "antd";
4
+ import { useEffect as v } from "react";
5
+ import { useImmer as E } from "../../node_modules/use-immer/dist/use-immer.module.mjs";
5
6
  import "./components/select.module.less.mjs";
6
7
  import "../../node_modules/react-device-detect/dist/lib.mjs";
7
8
  import "../BitzDrawer/index.less.mjs";
8
9
  import s from "./index.module.less.mjs";
9
- import v from "../../node_modules/@ant-design/icons/es/icons/CaretDownFilled.mjs";
10
- import E from "../../node_modules/@ant-design/icons/es/icons/SettingFilled.mjs";
11
- const { CheckableTag: I } = w, G = (p) => {
12
- const { headerRender: o, tags: t, onTagChange: a, onSearch: c, treeTitle: h, defaultCheckedKeys: u, defaultExpandedKeys: d, treeData: f, onCheck: x } = p, { token: g } = y.useToken(), [l, i] = T({
10
+ const {
11
+ CheckableTag: I
12
+ } = T, q = (p) => {
13
+ const {
14
+ headerRender: o,
15
+ tags: t,
16
+ onTagChange: a,
17
+ onSearch: c,
18
+ treeTitle: h,
19
+ defaultCheckedKeys: u,
20
+ defaultExpandedKeys: d,
21
+ treeData: f,
22
+ onCheck: x
23
+ } = p, {
24
+ token: g
25
+ } = b.useToken(), [l, i] = E({
13
26
  tags: []
14
27
  });
15
- z(() => {
28
+ v(() => {
16
29
  t && i((r) => {
17
30
  r.tags = t;
18
31
  });
19
32
  }, [t == null ? void 0 : t.length]);
20
33
  function j() {
21
34
  return l.tags.length ? /* @__PURE__ */ e.jsxs("div", { className: s.header, children: [
22
- /* @__PURE__ */ e.jsx(N, { size: [0, 8], wrap: !0, children: l.tags.map((r, m) => /* @__PURE__ */ e.jsx(
23
- I,
24
- {
25
- checked: !!r.checked,
26
- onChange: async (n) => {
27
- i((k) => {
28
- k.tags[m].checked = n;
29
- }), a == null || a({ ...r, checked: n }, n);
30
- },
31
- children: r.label
32
- },
33
- m
34
- )) }),
35
- /* @__PURE__ */ e.jsx(S, { icon: /* @__PURE__ */ e.jsx(E, { style: { color: g.colorPrimary } }), type: "text", className: s["setting-btn"] })
35
+ /* @__PURE__ */ e.jsx(w, { size: [0, 8], wrap: !0, children: l.tags.map((r, m) => /* @__PURE__ */ e.jsx(I, { checked: !!r.checked, onChange: async (n) => {
36
+ i((k) => {
37
+ k.tags[m].checked = n;
38
+ }), a == null || a({
39
+ ...r,
40
+ checked: n
41
+ }, n);
42
+ }, children: r.label }, m)) }),
43
+ /* @__PURE__ */ e.jsx(z, { icon: /* @__PURE__ */ e.jsx(C, { style: {
44
+ color: g.colorPrimary
45
+ } }), type: "text", className: s["setting-btn"] })
36
46
  ] }) : o == null ? void 0 : o();
37
47
  }
38
48
  return /* @__PURE__ */ e.jsxs("div", { className: s.container, children: [
39
49
  j(),
40
- c && /* @__PURE__ */ e.jsx(C, { className: s.search, placeholder: "组织名称查询", onChange: c }),
50
+ c && /* @__PURE__ */ e.jsx(N, { className: s.search, placeholder: "组织名称查询", onChange: c }),
41
51
  h,
42
- /* @__PURE__ */ e.jsx(
43
- b,
44
- {
45
- checkable: !0,
46
- showLine: !0,
47
- blockNode: !0,
48
- selectable: !1,
49
- switcherIcon: /* @__PURE__ */ e.jsx(v, { style: { verticalAlign: "top", fontSize: 24, color: "#86909C" } }),
50
- defaultCheckedKeys: u,
51
- defaultExpandedKeys: d,
52
- treeData: f,
53
- onCheck: x
54
- }
55
- )
52
+ /* @__PURE__ */ e.jsx(S, { checkable: !0, showLine: !0, blockNode: !0, selectable: !1, switcherIcon: /* @__PURE__ */ e.jsx(y, { style: {
53
+ verticalAlign: "top",
54
+ fontSize: 24,
55
+ color: "#86909C"
56
+ } }), defaultCheckedKeys: u, defaultExpandedKeys: d, treeData: f, onCheck: x })
56
57
  ] });
57
58
  };
58
59
  export {
59
- G as default
60
+ q as default
60
61
  };
@@ -5,7 +5,9 @@ import { Spin as w, Watermark as H, Affix as B, Tabs as N } from "antd";
5
5
  import C from "../BitzPageHeader/index.mjs";
6
6
  import R from "../../node_modules/classnames/index.mjs";
7
7
  function S(e) {
8
- return typeof e == "object" ? e : { spinning: e };
8
+ return typeof e == "object" ? e : {
9
+ spinning: e
10
+ };
9
11
  }
10
12
  const z = ({
11
13
  tabList: e,
@@ -37,13 +39,7 @@ const z = ({
37
39
  }
38
40
  ) : null, M = (e, t, a, n) => !e && !t ? null : /* @__PURE__ */ r.jsx("div", { className: `${a}-detail ${n}`.trim(), children: /* @__PURE__ */ r.jsx("div", { className: `${a}-main ${n}`.trim(), children: /* @__PURE__ */ r.jsxs("div", { className: `${a}-row ${n}`.trim(), children: [
39
41
  e && /* @__PURE__ */ r.jsx("div", { className: `${a}-content ${n}`.trim(), children: e }),
40
- t && /* @__PURE__ */ r.jsx(
41
- "div",
42
- {
43
- className: `${a}-extraContent ${n}`.trim(),
44
- children: t
45
- }
46
- )
42
+ t && /* @__PURE__ */ r.jsx("div", { className: `${a}-extraContent ${n}`.trim(), children: t })
47
43
  ] }) }) }), A = (e) => {
48
44
  var p;
49
45
  const {
@@ -69,7 +65,10 @@ const z = ({
69
65
  if (n)
70
66
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
71
67
  " ",
72
- n({ ...e, ...l })
68
+ n({
69
+ ...e,
70
+ ...l
71
+ })
73
72
  ] });
74
73
  let j = t;
75
74
  !t && t !== !1 && (j = l.title);
@@ -84,26 +83,13 @@ const z = ({
84
83
  prefixedClassName: f
85
84
  }),
86
85
  ...d
87
- }, { breadcrumb: o } = g, y = (!o || !(o != null && o.itemRender) && !((p = o == null ? void 0 : o.items) != null && p.length)) && !i;
88
- return [
89
- "title",
90
- "subTitle",
91
- "extra",
92
- "tags",
93
- "footer",
94
- "avatar",
95
- "backIcon"
96
- ].every((c) => !g[c]) && y && !a && !x ? null : /* @__PURE__ */ r.jsx(
97
- C,
98
- {
99
- ...g,
100
- className: `${f}-warp-page-header ${h}`.trim(),
101
- breadcrumb: i === !1 ? void 0 : { ...g.breadcrumb, ...l.breadcrumbProps },
102
- breadcrumbRender: $(),
103
- prefixCls: u,
104
- children: (d == null ? void 0 : d.children) || M(a, x, f, h)
105
- }
106
- );
86
+ }, {
87
+ breadcrumb: o
88
+ } = g, y = (!o || !(o != null && o.itemRender) && !((p = o == null ? void 0 : o.items) != null && p.length)) && !i;
89
+ return ["title", "subTitle", "extra", "tags", "footer", "avatar", "backIcon"].every((c) => !g[c]) && y && !a && !x ? null : /* @__PURE__ */ r.jsx(C, { ...g, className: `${f}-warp-page-header ${h}`.trim(), breadcrumb: i === !1 ? void 0 : {
90
+ ...g.breadcrumb,
91
+ ...l.breadcrumbProps
92
+ }, breadcrumbRender: $(), prefixCls: u, children: (d == null ? void 0 : d.children) || M(a, x, f, h) });
107
93
  }, V = (e) => {
108
94
  var p;
109
95
  const t = "id_asd123", {
@@ -136,13 +122,14 @@ const z = ({
136
122
  if (typeof n == "boolean" && !n)
137
123
  return null;
138
124
  const c = S(n);
139
- return c.spinning ? /* @__PURE__ */ r.jsx("div", { style: { paddingBlockStart: 100, textAlign: "center" }, children: /* @__PURE__ */ r.jsx(w, { size: "large", ...c }) }) : null;
125
+ return c.spinning ? /* @__PURE__ */ r.jsx("div", { style: {
126
+ paddingBlockStart: 100,
127
+ textAlign: "center"
128
+ }, children: /* @__PURE__ */ r.jsx(w, { size: "large", ...c }) }) : null;
140
129
  }, [n]), g = b(() => a ? /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsx(
141
130
  "div",
142
131
  {
143
- className: R(
144
- `${i}-children-container ${t}`.trim()
145
- ),
132
+ className: R(`${i}-children-container ${t}`.trim()),
146
133
  style: {
147
134
  // paddingBlockStart: props?.header ? 0 : token?.layout?.pageContainer?.paddingBlockPageContainerContent,
148
135
  ...h
@@ -167,15 +154,7 @@ const z = ({
167
154
  return /* @__PURE__ */ r.jsx("div", { className: "BitzPageContainerBlock", children: /* @__PURE__ */ r.jsxs("div", { style: f, className: y, children: [
168
155
  m && $ ? (
169
156
  // 在 hasHeader 且 fixedHeader 的情况下,才需要设置高度
170
- /* @__PURE__ */ r.jsx(
171
- B,
172
- {
173
- offsetTop: 1,
174
- ...s,
175
- className: `${i}-affix ${t}`.trim(),
176
- children: /* @__PURE__ */ r.jsx("div", { className: `${i}-warp ${t}`.trim(), children: $ })
177
- }
178
- )
157
+ /* @__PURE__ */ r.jsx(B, { offsetTop: 1, ...s, className: `${i}-affix ${t}`.trim(), children: /* @__PURE__ */ r.jsx("div", { className: `${i}-warp ${t}`.trim(), children: $ }) })
179
158
  ) : $,
180
159
  o && o
181
160
  ] }) });
@@ -1,33 +1,17 @@
1
1
  import { j as s } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import { useState as B } from "react";
3
- import p from "../../node_modules/classnames/index.mjs";
3
+ import N from "../../node_modules/classnames/index.mjs";
4
4
  import { createNamespace as C } from "../../utils/create.mjs";
5
5
  import { Avatar as R, Space as w, Breadcrumb as y } from "antd";
6
- import A from "../../node_modules/rc-resize-observer/es/index.mjs";
6
+ import { ArrowRightOutlined as A, ArrowLeftOutlined as F } from "@ant-design/icons";
7
+ import O from "../../node_modules/rc-resize-observer/es/index.mjs";
7
8
  import "./index.less.mjs";
8
- import F from "../../node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.mjs";
9
- import O from "../../node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.mjs";
10
- const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { className: `${e}-back ${t}`.trim(), children: /* @__PURE__ */ s.jsx(
11
- "div",
12
- {
13
- role: "button",
14
- onClick: (o) => {
15
- n == null || n(o);
16
- },
17
- className: `${e}-back-button ${t}`.trim(),
18
- "aria-label": "back",
19
- children: i
20
- }
21
- ) }), T = (e, t) => {
9
+ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { className: `${e}-back ${t}`.trim(), children: /* @__PURE__ */ s.jsx("div", { role: "button", onClick: (o) => {
10
+ n == null || n(o);
11
+ }, className: `${e}-back-button ${t}`.trim(), "aria-label": "back", children: i }) }), T = (e, t) => {
22
12
  var i;
23
- return (i = e.items) != null && i.length ? /* @__PURE__ */ s.jsx(
24
- y,
25
- {
26
- ...e,
27
- className: p(`${t}-breadcrumb`, e.className)
28
- }
29
- ) : null;
30
- }, H = (e, t = "ltr") => e.backIcon !== void 0 ? e.backIcon : t === "rtl" ? /* @__PURE__ */ s.jsx(F, {}) : /* @__PURE__ */ s.jsx(O, {}), S = (e, t, i = "ltr", n) => {
13
+ return (i = e.items) != null && i.length ? /* @__PURE__ */ s.jsx(y, { ...e, className: N(`${t}-breadcrumb`, e.className) }) : null;
14
+ }, H = (e, t = "ltr") => e.backIcon !== void 0 ? e.backIcon : t === "rtl" ? /* @__PURE__ */ s.jsx(A, {}) : /* @__PURE__ */ s.jsx(F, {}), S = (e, t, i = "ltr", n) => {
31
15
  const {
32
16
  title: o,
33
17
  avatar: l,
@@ -42,39 +26,17 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
42
26
  return /* @__PURE__ */ s.jsxs("div", { className: c + " " + n, children: [
43
27
  x && /* @__PURE__ */ s.jsxs("div", { className: `${c}-left ${n}`.trim(), children: [
44
28
  $,
45
- l && /* @__PURE__ */ s.jsx(
46
- R,
47
- {
48
- className: p(
49
- `${c}-avatar`,
50
- n,
51
- l.className
52
- ),
53
- ...l
54
- }
55
- ),
56
- o && /* @__PURE__ */ s.jsx(
57
- "span",
58
- {
59
- className: `${c}-title ${n}`.trim(),
60
- title: typeof o == "string" ? o : void 0,
61
- children: o
62
- }
63
- ),
64
- a && /* @__PURE__ */ s.jsx(
65
- "span",
66
- {
67
- className: `${c}-sub-title ${n}`.trim(),
68
- title: typeof a == "string" ? a : void 0,
69
- children: a
70
- }
71
- ),
29
+ l && /* @__PURE__ */ s.jsx(R, { className: N(`${c}-avatar`, n, l.className), ...l }),
30
+ o && /* @__PURE__ */ s.jsx("span", { className: `${c}-title ${n}`.trim(), title: typeof o == "string" ? o : void 0, children: o }),
31
+ a && /* @__PURE__ */ s.jsx("span", { className: `${c}-sub-title ${n}`.trim(), title: typeof a == "string" ? a : void 0, children: a }),
72
32
  m && /* @__PURE__ */ s.jsx("span", { className: `${c}-tags ${n}`.trim(), children: m })
73
33
  ] }),
74
34
  d && /* @__PURE__ */ s.jsx("span", { className: `${c}-extra ${n}`.trim(), children: /* @__PURE__ */ s.jsx(w, { children: d }) })
75
35
  ] });
76
- }, E = (e, t, i) => /* @__PURE__ */ s.jsx("div", { className: `${e}-content ${i}`.trim(), children: t }), L = (e, t, i) => t ? /* @__PURE__ */ s.jsx("div", { className: `${e}-footer ${i}`.trim(), children: t }) : null, X = (e) => {
77
- const [t, i] = C("bitz-page-header"), n = "ltr", o = "id_123123", [l, a] = B(!1), m = ({ width: z }) => a(z < 768), {
36
+ }, E = (e, t, i) => /* @__PURE__ */ s.jsx("div", { className: `${e}-content ${i}`.trim(), children: t }), L = (e, t, i) => t ? /* @__PURE__ */ s.jsx("div", { className: `${e}-footer ${i}`.trim(), children: t }) : null, V = (e) => {
37
+ const [t, i] = C("bitz-page-header"), n = "ltr", o = "id_123123", [l, a] = B(!1), m = ({
38
+ width: z
39
+ }) => a(z < 768), {
78
40
  style: d,
79
41
  footer: f,
80
42
  children: c,
@@ -82,7 +44,10 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
82
44
  breadcrumbRender: u,
83
45
  className: $,
84
46
  contentWidth: x
85
- } = e, N = (() => (r && !(r != null && r.items) && (r != null && r.routes) && (r.items = r.routes), r != null && r.items ? T(r, t) : null))(), h = r && "props" in r, D = (u == null ? void 0 : u({ ...e, prefixCls: t }, N)) ?? N, j = h ? r : D, k = p(t, o, $, {
47
+ } = e, p = (() => (r && !(r != null && r.items) && (r != null && r.routes) && (r.items = r.routes), r != null && r.items ? T(r, t) : null))(), h = r && "props" in r, D = (u == null ? void 0 : u({
48
+ ...e,
49
+ prefixCls: t
50
+ }, p)) ?? p, j = h ? r : D, k = N(t, o, $, {
86
51
  [`${t}-has-breadcrumb`]: !!j,
87
52
  [`${t}-has-footer`]: !!f,
88
53
  // [`${prefixCls}-rtl`]: direction === 'rtl',
@@ -90,7 +55,7 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
90
55
  [`${t}-wide`]: x === "Fixed",
91
56
  [`${t}-ghost`]: !0
92
57
  }), g = S(t, e, n, o), v = c && E(t, c, o), b = L(t, f, o);
93
- return !j && !g && !b && !v ? null : /* @__PURE__ */ s.jsx(A, { onResize: m, children: /* @__PURE__ */ s.jsxs("div", { className: k, style: d, children: [
58
+ return !j && !g && !b && !v ? null : /* @__PURE__ */ s.jsx(O, { onResize: m, children: /* @__PURE__ */ s.jsxs("div", { className: k, style: d, children: [
94
59
  j,
95
60
  g,
96
61
  v,
@@ -98,5 +63,5 @@ const P = (e, t, i, n) => !i || !n ? null : /* @__PURE__ */ s.jsx("div", { class
98
63
  ] }) });
99
64
  };
100
65
  export {
101
- X as default
66
+ V as default
102
67
  };
@@ -25,7 +25,10 @@ const Q = ({
25
25
  refInstance: S,
26
26
  ...T
27
27
  }) => {
28
- const [h, o] = l(1), [p, $] = l(10), t = c(() => u ? a : { page: h, size: p }, [u, a, h, p]), n = c(() => m, [m]);
28
+ const [h, o] = l(1), [p, $] = l(10), t = c(() => u ? a : {
29
+ page: h,
30
+ size: p
31
+ }, [u, a, h, p]), n = c(() => m, [m]);
29
32
  y(() => {
30
33
  n != 0 && o(n);
31
34
  }, [n]);
@@ -38,43 +41,11 @@ const Q = ({
38
41
  }, 10);
39
42
  }, 10);
40
43
  };
41
- return B(
42
- S,
43
- () => ({
44
- getSize: () => t.size
45
- }),
46
- [t]
47
- ), /* @__PURE__ */ s.jsx(s.Fragment, { children: (r == null ? void 0 : r.length) != 0 && !b && /* @__PURE__ */ s.jsx(
48
- "div",
49
- {
50
- ref: P,
51
- className: "bitzPaginationBlock",
52
- style: { justifyContent: x },
53
- children: /* @__PURE__ */ s.jsx(
54
- M,
55
- {
56
- total: j,
57
- defaultCurrent: t.page,
58
- current: t.page,
59
- pageSize: t.size,
60
- showSizeChanger: !0,
61
- showQuickJumper: !0,
62
- pageSizeOptions: z,
63
- showTotal: C ? void 0 : (e) => /* @__PURE__ */ s.jsx(
64
- H,
65
- {
66
- highlightTag: "strong",
67
- keywords: `${e}`,
68
- sourceString: `${w} ${e} ${d}`
69
- }
70
- ),
71
- onChange: k,
72
- onShowSizeChange: v,
73
- ...T
74
- }
75
- )
76
- }
77
- ) });
44
+ return B(S, () => ({
45
+ getSize: () => t.size
46
+ }), [t]), /* @__PURE__ */ s.jsx(s.Fragment, { children: (r == null ? void 0 : r.length) != 0 && !b && /* @__PURE__ */ s.jsx("div", { ref: P, className: "bitzPaginationBlock", style: {
47
+ justifyContent: x
48
+ }, children: /* @__PURE__ */ s.jsx(M, { total: j, defaultCurrent: t.page, current: t.page, pageSize: t.size, showSizeChanger: !0, showQuickJumper: !0, pageSizeOptions: z, showTotal: C ? void 0 : (e) => /* @__PURE__ */ s.jsx(H, { highlightTag: "strong", keywords: `${e}`, sourceString: `${w} ${e} ${d}` }), onChange: k, onShowSizeChange: v, ...T }) }) });
78
49
  };
79
50
  export {
80
51
  Q as default
@@ -2,8 +2,14 @@ import { j as o } from "../../node_modules/react/jsx-runtime.mjs";
2
2
  import { useState as c, useEffect as m } from "react";
3
3
  import { Typography as f } from "antd";
4
4
  import t from "./BitzPopover.module.less.mjs";
5
- const { Paragraph: u } = f, E = (r) => {
6
- const { children: a, ellipsis: e = !1, ...n } = r, [p, s] = c(), l = () => {
5
+ const {
6
+ Paragraph: u
7
+ } = f, E = (r) => {
8
+ const {
9
+ children: a,
10
+ ellipsis: e = !1,
11
+ ...n
12
+ } = r, [p, s] = c(), l = () => {
7
13
  s(!1);
8
14
  }, i = () => {
9
15
  s(e);
@@ -17,7 +17,10 @@ const L = 50, F = ["pulling", "loosing", "success"], G = {
17
17
  headHeight: 50,
18
18
  animationDuration: 300,
19
19
  successDuration: 500
20
- }), { disabled: m, animationDuration: g } = e, H = h(null), [s, n] = A({
20
+ }), {
21
+ disabled: m,
22
+ animationDuration: g
23
+ } = e, H = h(null), [s, n] = A({
21
24
  refreshing: !1,
22
25
  status: "normal",
23
26
  distance: 0,
@@ -31,32 +34,45 @@ const L = 50, F = ["pulling", "loosing", "success"], G = {
31
34
  const r = +(e.pullDistance || e.headHeight);
32
35
  return t > r && (t < r * 2 ? t = r + (t - r) / 2 : t = r * 1.5 + (t - r * 2) / 4), Math.round(t);
33
36
  }, u = (t, r) => {
34
- const c = +(e.pullDistance || e.headHeight), a = { distance: t };
37
+ const c = +(e.pullDistance || e.headHeight), a = {
38
+ distance: t
39
+ };
35
40
  r ? a.status = "loading" : t === 0 ? a.status = "normal" : t < c ? a.status = "pulling" : a.status = "loosing", n(a);
36
41
  }, T = () => s.status === "normal" ? "" : e[`${s.status}Text`] || G[s.status], E = () => {
37
42
  var a;
38
- const { status: t, distance: r } = s;
43
+ const {
44
+ status: t,
45
+ distance: r
46
+ } = s;
39
47
  if (typeof e[`${s.status}Text`] == "function")
40
- return (a = e[`${s.status}Text`]) == null ? void 0 : a.call(e, { distance: r });
48
+ return (a = e[`${s.status}Text`]) == null ? void 0 : a.call(e, {
49
+ distance: r
50
+ });
41
51
  const c = [];
42
- return F.includes(t) && c.push(
43
- /* @__PURE__ */ f.jsx("div", { className: "bitz-pull-refresh__text", children: T() }, "text")
44
- ), t === "loading" && c.push(
45
- /* @__PURE__ */ f.jsx("div", { className: "bitz-pull-refresh__loading", children: T() })
46
- ), c;
52
+ return F.includes(t) && c.push(/* @__PURE__ */ f.jsx("div", { className: "bitz-pull-refresh__text", children: T() }, "text")), t === "loading" && c.push(/* @__PURE__ */ f.jsx("div", { className: "bitz-pull-refresh__loading", children: T() })), c;
47
53
  }, b = () => {
48
- n({ status: "success" }), setTimeout(() => {
54
+ n({
55
+ status: "success"
56
+ }), setTimeout(() => {
49
57
  u(0);
50
58
  }, +e.successDuration);
51
59
  }, j = async () => {
52
60
  try {
53
- n({ refreshing: !0 }), await e.onRefresh(), n({ refreshing: !1 });
61
+ n({
62
+ refreshing: !0
63
+ }), await e.onRefresh(), n({
64
+ refreshing: !1
65
+ });
54
66
  } catch {
55
- n({ refreshing: !1 });
67
+ n({
68
+ refreshing: !1
69
+ });
56
70
  }
57
71
  }, x = (t) => {
58
72
  const r = Y(t.target);
59
- i.current = P(r) === 0, i.current && (n({ duration: 0 }), o.start(t));
73
+ i.current = P(r) === 0, i.current && (n({
74
+ duration: 0
75
+ }), o.start(t));
60
76
  }, R = (t) => {
61
77
  l() && x(t.nativeEvent);
62
78
  }, N = D(
@@ -66,7 +82,9 @@ const L = 50, F = ["pulling", "loosing", "success"], G = {
66
82
  // eslint-disable-next-line react-hooks/exhaustive-deps
67
83
  [i.current, o.deltaY.current, l]
68
84
  ), S = async () => {
69
- i.current && o.deltaY && l() && (n({ duration: +g }), s.status === "loosing" ? (u(+e.headHeight, !0), await j(), setTimeout(() => {
85
+ i.current && o.deltaY && l() && (n({
86
+ duration: +g
87
+ }), s.status === "loosing" ? (u(+e.headHeight, !0), await j(), setTimeout(() => {
70
88
  var t;
71
89
  return (t = e.onRefreshEnd) == null ? void 0 : t.call(e);
72
90
  })) : u(0));
@@ -75,38 +93,18 @@ const L = 50, F = ["pulling", "loosing", "success"], G = {
75
93
  target: p.current,
76
94
  depends: [i.current, l(), o.deltaY]
77
95
  }), M(() => {
78
- n({ duration: +g }), s.refreshing ? u(+e.headHeight, !0) : e.successText ? b() : u(0, !1);
96
+ n({
97
+ duration: +g
98
+ }), s.refreshing ? u(+e.headHeight, !0) : e.successText ? b() : u(0, !1);
79
99
  }, [s.refreshing]);
80
- const $ = k(
81
- () => ({
82
- transitionDuration: `${s.duration}ms`,
83
- transform: s.distance ? `translate3d(0,${s.distance}px, 0)` : ""
84
- }),
85
- [s.duration, s.distance]
86
- );
87
- return /* @__PURE__ */ f.jsx(
88
- "div",
89
- {
90
- ref: H,
91
- className: d(e.className, "bitz-pull-refresh"),
92
- style: e.style,
93
- children: /* @__PURE__ */ f.jsxs(
94
- "div",
95
- {
96
- ref: p,
97
- className: d("bitz-pull-refresh__track"),
98
- style: $,
99
- onTouchStart: R,
100
- onTouchEnd: S,
101
- onTouchCancel: S,
102
- children: [
103
- /* @__PURE__ */ f.jsx("div", { className: d("bitz-pull-refresh__head"), style: _(), children: E() }),
104
- e.children
105
- ]
106
- }
107
- )
108
- }
109
- );
100
+ const $ = k(() => ({
101
+ transitionDuration: `${s.duration}ms`,
102
+ transform: s.distance ? `translate3d(0,${s.distance}px, 0)` : ""
103
+ }), [s.duration, s.distance]);
104
+ return /* @__PURE__ */ f.jsx("div", { ref: H, className: d(e.className, "bitz-pull-refresh"), style: e.style, children: /* @__PURE__ */ f.jsxs("div", { ref: p, className: d("bitz-pull-refresh__track"), style: $, onTouchStart: R, onTouchEnd: S, onTouchCancel: S, children: [
105
+ /* @__PURE__ */ f.jsx("div", { className: d("bitz-pull-refresh__head"), style: _(), children: E() }),
106
+ e.children
107
+ ] }) });
110
108
  };
111
109
  export {
112
110
  Z as default