bitz-react-admin-ui 2.12.3 → 2.13.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 (848) hide show
  1. package/dist/components/BitzAddTag/index.mjs +40 -40
  2. package/dist/components/BitzAddressBook/index.mjs +58 -58
  3. package/dist/components/BitzAppPage/index.mjs +13 -13
  4. package/dist/components/BitzAppRefresh/index.mjs +19 -19
  5. package/dist/components/BitzBetterScroll/index.mjs +21 -21
  6. package/dist/components/BitzButton/index.mjs +13 -13
  7. package/dist/components/BitzCalendar/index.mjs +33 -33
  8. package/dist/components/BitzCascader/BitzCascaderMobile.mjs +30 -30
  9. package/dist/components/BitzCascader/index.mjs +9 -9
  10. package/dist/components/BitzCollapse/index.mjs +7 -7
  11. package/dist/components/BitzConfigProvider/index.d.ts +14 -0
  12. package/dist/components/BitzConfigProvider/index.mjs +13 -13
  13. package/dist/components/BitzConfirmModal/index.mjs +25 -25
  14. package/dist/components/BitzDayJs/index.mjs +1 -1
  15. package/dist/components/BitzDescriptions/index.mjs +5 -5
  16. package/dist/components/BitzDrawer/index.mjs +11 -11
  17. package/dist/components/BitzEmpty/index.mjs +2 -2
  18. package/dist/components/BitzException/index.mjs +3 -3
  19. package/dist/components/BitzFloatLayout/index.mjs +26 -26
  20. package/dist/components/BitzFluentDatePicker/index.mjs +6 -6
  21. package/dist/components/BitzFluentInput/index.mjs +1 -1
  22. package/dist/components/BitzFluentRangePicker/index.mjs +3 -3
  23. package/dist/components/BitzFluentRangeTimePicker/index.mjs +7 -7
  24. package/dist/components/BitzFluentSelect/index.mjs +1 -1
  25. package/dist/components/BitzFluentTimePicker/index.mjs +7 -7
  26. package/dist/components/BitzFluentTreeSelect/index.mjs +1 -1
  27. package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
  28. package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +36 -36
  29. package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +29 -29
  30. package/dist/components/BitzFuiCalendar/CalendarBody.mjs +29 -29
  31. package/dist/components/BitzFuiCalendar/CalendarHead.mjs +12 -12
  32. package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +13 -13
  33. package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +44 -44
  34. package/dist/components/BitzFuiCalendar/ColumnData.mjs +19 -19
  35. package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +33 -33
  36. package/dist/components/BitzFuiCalendar/index.mjs +14 -14
  37. package/dist/components/BitzFullScreen/index.mjs +16 -16
  38. package/dist/components/BitzHighlight/Child.mjs +21 -21
  39. package/dist/components/BitzHighlight/Highlight.mjs +19 -19
  40. package/dist/components/BitzHighlight/style.mjs +22 -33
  41. package/dist/components/BitzImage/index.mjs +3 -3
  42. package/dist/components/BitzImage/previewImage.mjs +9 -10
  43. package/dist/components/BitzLanguageTabs/index.mjs +15 -18
  44. package/dist/components/BitzLazyLoad/index.mjs +4 -4
  45. package/dist/components/BitzList/List.mjs +7 -7
  46. package/dist/components/BitzList/LoadMore.mjs +32 -32
  47. package/dist/components/BitzLoadMore/index.mjs +20 -20
  48. package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +40 -40
  49. package/dist/components/BitzMeetingTime/index.mjs +16 -16
  50. package/dist/components/BitzMobileLoading/index.mjs +6 -6
  51. package/dist/components/BitzModal/index.mjs +10 -10
  52. package/dist/components/BitzNoData/index.mjs +12 -12
  53. package/dist/components/BitzNoMore/index.mjs +5 -5
  54. package/dist/components/BitzOrganizationSelection/index.d.ts +1 -1
  55. package/dist/components/BitzOrganizationSelection/index.mjs +39 -39
  56. package/dist/components/BitzPageContainer/index.mjs +100 -100
  57. package/dist/components/BitzPageHeader/index.mjs +35 -35
  58. package/dist/components/BitzPagination/index.mjs +30 -30
  59. package/dist/components/BitzPopover/index.mjs +7 -7
  60. package/dist/components/BitzPullRefresh/PullRefresh.mjs +30 -31
  61. package/dist/components/BitzQRCode/index.mjs +4 -4
  62. package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +48 -48
  63. package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +22 -22
  64. package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +20 -20
  65. package/dist/components/BitzQueryFilter/index.mjs +31 -31
  66. package/dist/components/BitzRefresh/index.mjs +7 -7
  67. package/dist/components/BitzRemark/index.mjs +7 -7
  68. package/dist/components/BitzScheduleCenter/index.mjs +13 -13
  69. package/dist/components/BitzSearch/index.mjs +10 -10
  70. package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +80 -80
  71. package/dist/components/BitzSelect/index.mjs +9 -9
  72. package/dist/components/BitzSkeleton/index.mjs +6 -6
  73. package/dist/components/BitzSwitch/index.mjs +8 -8
  74. package/dist/components/BitzTabbar/BitzTabbar.mjs +19 -19
  75. package/dist/components/BitzTabbar/BitzTabbarItem.mjs +11 -11
  76. package/dist/components/BitzTable/ActionBar/ActionBar.mjs +37 -37
  77. package/dist/components/BitzTable/ActionBar/Button.mjs +15 -15
  78. package/dist/components/BitzTable/ActionBar/style.mjs +29 -43
  79. package/dist/components/BitzTable/ActionCol/index.mjs +82 -82
  80. package/dist/components/BitzTable/ActionCol/style.mjs +14 -28
  81. package/dist/components/BitzTable/Dropdown/index.mjs +12 -12
  82. package/dist/components/BitzTable/Dropdown/style.mjs +13 -27
  83. package/dist/components/BitzTable/SelectionBar/Button.mjs +19 -19
  84. package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +18 -18
  85. package/dist/components/BitzTable/SelectionBar/style.mjs +20 -34
  86. package/dist/components/BitzTable/Store/index.mjs +53 -53
  87. package/dist/components/BitzTable/Store/utils/index.mjs +5 -5
  88. package/dist/components/BitzTable/SubTable/index.mjs +61 -62
  89. package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +39 -39
  90. package/dist/components/BitzTable/Table/SortTableContext.mjs +19 -19
  91. package/dist/components/BitzTable/Table/SortableRow.mjs +23 -23
  92. package/dist/components/BitzTable/Table/TdCell.mjs +7 -7
  93. package/dist/components/BitzTable/Table/index.mjs +305 -308
  94. package/dist/components/BitzTable/Table/useScrollConfig.mjs +1 -1
  95. package/dist/components/BitzTable/Table/utils.mjs +15 -15
  96. package/dist/components/BitzTable/TextOverflow/index.mjs +11 -11
  97. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +79 -79
  98. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +62 -65
  99. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +33 -33
  100. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +196 -196
  101. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +30 -30
  102. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +17 -17
  103. package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +79 -79
  104. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +6 -6
  105. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +10 -10
  106. package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +98 -108
  107. package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +37 -37
  108. package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +8 -19
  109. package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +39 -39
  110. package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +25 -25
  111. package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +35 -35
  112. package/dist/components/BitzTable/ToolBar/Modal/index.d.ts +2 -1
  113. package/dist/components/BitzTable/ToolBar/Modal/index.mjs +19 -20
  114. package/dist/components/BitzTable/ToolBar/Modal/style.mjs +18 -29
  115. package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +21 -21
  116. package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +36 -36
  117. package/dist/components/BitzTable/ToolBar/style.mjs +25 -35
  118. package/dist/components/BitzTableOperations/index.mjs +9 -9
  119. package/dist/components/BitzTableSelect/Picker/index.mjs +24 -24
  120. package/dist/components/BitzTableSelect/Select/index.mjs +17 -17
  121. package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +13 -13
  122. package/dist/components/BitzTableSelect/SelectPopup/index.mjs +118 -118
  123. package/dist/components/BitzTableSelect/SingleSelect/index.mjs +24 -24
  124. package/dist/components/BitzTableSelect/TableCell/index.mjs +22 -22
  125. package/dist/components/BitzTableSelect/TextBlock/index.mjs +16 -16
  126. package/dist/components/BitzTableSelect/index.mjs +21 -21
  127. package/dist/components/BitzTag/index.mjs +5 -5
  128. package/dist/components/BitzText/index.mjs +31 -31
  129. package/dist/components/BitzTheme/index.mjs +11 -11
  130. package/dist/components/BitzTimeline/index.mjs +2 -2
  131. package/dist/components/BitzTimer/Form.mjs +20 -20
  132. package/dist/components/BitzTimer/Timer.mjs +45 -45
  133. package/dist/components/BitzTimer/index.mjs +58 -58
  134. package/dist/components/BitzToast/Toast/index.d.ts +19 -6
  135. package/dist/components/BitzToast/Toast/index.mjs +32 -27
  136. package/dist/components/BitzToast/index.mjs +5 -5
  137. package/dist/components/BitzTooltip/index.mjs +63 -63
  138. package/dist/components/BitzTooltip/style.mjs +16 -31
  139. package/dist/components/BitzUeEditor/index.mjs +10 -10
  140. package/dist/components/BitzUpload/index.mjs +66 -66
  141. package/dist/components/BitzWebAppDrawer/index.mjs +16 -16
  142. package/dist/components/BitzWebAppModal/index.mjs +10 -10
  143. package/dist/style.css +1 -1
  144. package/package.json +1 -63
  145. package/dist/_virtual/Draggable.mjs +0 -4
  146. package/dist/_virtual/DraggableCore.mjs +0 -4
  147. package/dist/_virtual/Resizable.mjs +0 -4
  148. package/dist/_virtual/ResizableBox.mjs +0 -4
  149. package/dist/_virtual/_commonjsHelpers.mjs +0 -30
  150. package/dist/_virtual/cjs.mjs +0 -4
  151. package/dist/_virtual/client.mjs +0 -4
  152. package/dist/_virtual/clsx.m.mjs +0 -6
  153. package/dist/_virtual/common.mjs +0 -4
  154. package/dist/_virtual/defineProperty.mjs +0 -4
  155. package/dist/_virtual/domFns.mjs +0 -4
  156. package/dist/_virtual/en_US.mjs +0 -4
  157. package/dist/_virtual/en_US2.mjs +0 -4
  158. package/dist/_virtual/en_US3.mjs +0 -4
  159. package/dist/_virtual/en_US4.mjs +0 -4
  160. package/dist/_virtual/en_US5.mjs +0 -4
  161. package/dist/_virtual/en_US6.mjs +0 -4
  162. package/dist/_virtual/getPrefix.mjs +0 -4
  163. package/dist/_virtual/index.mjs +0 -4
  164. package/dist/_virtual/index2.mjs +0 -4
  165. package/dist/_virtual/index3.mjs +0 -4
  166. package/dist/_virtual/index4.mjs +0 -4
  167. package/dist/_virtual/index5.mjs +0 -4
  168. package/dist/_virtual/index6.mjs +0 -4
  169. package/dist/_virtual/interopRequireDefault.mjs +0 -4
  170. package/dist/_virtual/isBetween.mjs +0 -4
  171. package/dist/_virtual/isSameOrAfter.mjs +0 -4
  172. package/dist/_virtual/isSameOrBefore.mjs +0 -4
  173. package/dist/_virtual/isToday.mjs +0 -4
  174. package/dist/_virtual/isoWeek.mjs +0 -4
  175. package/dist/_virtual/jsx-runtime.mjs +0 -4
  176. package/dist/_virtual/lib.mjs +0 -4
  177. package/dist/_virtual/lodash.mjs +0 -4
  178. package/dist/_virtual/log.mjs +0 -4
  179. package/dist/_virtual/objectSpread2.mjs +0 -4
  180. package/dist/_virtual/objectSupport.mjs +0 -4
  181. package/dist/_virtual/positionFns.mjs +0 -4
  182. package/dist/_virtual/propTypes.mjs +0 -4
  183. package/dist/_virtual/react-is.development.mjs +0 -4
  184. package/dist/_virtual/react-is.development2.mjs +0 -4
  185. package/dist/_virtual/react-is.production.min.mjs +0 -4
  186. package/dist/_virtual/react-is.production.min2.mjs +0 -4
  187. package/dist/_virtual/react-jsx-runtime.development.mjs +0 -4
  188. package/dist/_virtual/react-jsx-runtime.production.min.mjs +0 -4
  189. package/dist/_virtual/relativeTime.mjs +0 -4
  190. package/dist/_virtual/shims.mjs +0 -4
  191. package/dist/_virtual/toPrimitive.mjs +0 -4
  192. package/dist/_virtual/toPropertyKey.mjs +0 -4
  193. package/dist/_virtual/typeof.mjs +0 -4
  194. package/dist/_virtual/ua-parser.min.mjs +0 -4
  195. package/dist/_virtual/use-sync-external-store-shim.development.mjs +0 -4
  196. package/dist/_virtual/use-sync-external-store-shim.production.min.mjs +0 -4
  197. package/dist/_virtual/utc.mjs +0 -4
  198. package/dist/_virtual/utils.mjs +0 -4
  199. package/dist/_virtual/weekOfYear.mjs +0 -4
  200. package/dist/_virtual/with-selector.development.mjs +0 -4
  201. package/dist/_virtual/with-selector.mjs +0 -4
  202. package/dist/_virtual/with-selector.production.min.mjs +0 -4
  203. package/dist/_virtual/zh-cn.mjs +0 -4
  204. package/dist/assets/iconfont/IconChenggong.mjs +0 -19
  205. package/dist/assets/iconfont/IconClose.mjs +0 -19
  206. package/dist/assets/iconfont/IconColumnCancelFixed.mjs +0 -19
  207. package/dist/assets/iconfont/IconColumnFixedLeft.mjs +0 -19
  208. package/dist/assets/iconfont/IconColumnFixedRight.mjs +0 -19
  209. package/dist/assets/iconfont/IconCuowu.mjs +0 -19
  210. package/dist/assets/iconfont/IconDragOrder.mjs +0 -19
  211. package/dist/assets/iconfont/IconDuigoux.mjs +0 -19
  212. package/dist/assets/iconfont/IconFabu.mjs +0 -22
  213. package/dist/assets/iconfont/IconFanhui.mjs +0 -19
  214. package/dist/assets/iconfont/IconGaojisousuo.mjs +0 -19
  215. package/dist/assets/iconfont/IconHangfengexian.mjs +0 -23
  216. package/dist/assets/iconfont/IconHangliefengexian.mjs +0 -23
  217. package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +0 -19
  218. package/dist/assets/iconfont/IconIcon21.mjs +0 -19
  219. package/dist/assets/iconfont/IconJincoude.mjs +0 -19
  220. package/dist/assets/iconfont/IconJinggao.mjs +0 -19
  221. package/dist/assets/iconfont/IconKuansongde.mjs +0 -19
  222. package/dist/assets/iconfont/IconLiefengexian.mjs +0 -23
  223. package/dist/assets/iconfont/IconMore.mjs +0 -23
  224. package/dist/assets/iconfont/IconShanchu.mjs +0 -19
  225. package/dist/assets/iconfont/IconShanchu1.mjs +0 -22
  226. package/dist/assets/iconfont/IconSousuo.mjs +0 -19
  227. package/dist/assets/iconfont/IconTejincou.mjs +0 -19
  228. package/dist/assets/iconfont/IconTekuansong.mjs +0 -19
  229. package/dist/assets/iconfont/IconTishi1.mjs +0 -19
  230. package/dist/assets/iconfont/IconTuodong.mjs +0 -19
  231. package/dist/assets/iconfont/IconWubanmawentianchong.mjs +0 -22
  232. package/dist/assets/iconfont/IconWufengexian.mjs +0 -19
  233. package/dist/assets/iconfont/IconXinxitishi.mjs +0 -19
  234. package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +0 -22
  235. package/dist/assets/iconfont/IconZhongdengde.mjs +0 -19
  236. package/dist/assets/iconfont/IconZhongzhi.mjs +0 -19
  237. package/dist/assets/iconfont/helper.mjs +0 -4
  238. package/dist/assets/iconfont/index.mjs +0 -144
  239. package/dist/assets/images/language/cn.svg.mjs +0 -4
  240. package/dist/assets/images/language/gb.svg.mjs +0 -4
  241. package/dist/assets/images/language/jp.svg.mjs +0 -4
  242. package/dist/assets/images/language/kr.svg.mjs +0 -4
  243. package/dist/assets/images/nodata.png.mjs +0 -4
  244. package/dist/hooks/use-event-listener.mjs +0 -39
  245. package/dist/hooks/use-lock-fn.mjs +0 -18
  246. package/dist/hooks/use-scroll-parent.mjs +0 -34
  247. package/dist/hooks/use-touch.mjs +0 -33
  248. package/dist/hooks/useEvent.mjs +0 -11
  249. package/dist/hooks/useMergedState.mjs +0 -27
  250. package/dist/hooks/useState.mjs +0 -14
  251. package/dist/node_modules/@ant-design/colors/es/generate.mjs +0 -93
  252. package/dist/node_modules/@ant-design/colors/es/presets.mjs +0 -72
  253. package/dist/node_modules/@ant-design/cssinjs/es/Cache.mjs +0 -40
  254. package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.mjs +0 -18
  255. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.mjs +0 -38
  256. package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.mjs +0 -9
  257. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.mjs +0 -51
  258. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs +0 -92
  259. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs +0 -15
  260. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs +0 -27
  261. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.mjs +0 -47
  262. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs +0 -22
  263. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs +0 -210
  264. package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.mjs +0 -10
  265. package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.mjs +0 -7
  266. package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.mjs +0 -8
  267. package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.mjs +0 -20
  268. package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.mjs +0 -104
  269. package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.mjs +0 -10
  270. package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs +0 -4
  271. package/dist/node_modules/@ant-design/cssinjs/es/util/cacheMapUtil.mjs +0 -42
  272. package/dist/node_modules/@ant-design/cssinjs/es/util/css-variables.mjs +0 -28
  273. package/dist/node_modules/@ant-design/cssinjs/es/util/index.mjs +0 -52
  274. package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.browser.esm.mjs +0 -22
  275. package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Enum.mjs +0 -9
  276. package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Parser.mjs +0 -114
  277. package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Serializer.mjs +0 -29
  278. package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Tokenizer.mjs +0 -127
  279. package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Utility.mjs +0 -37
  280. package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.mjs +0 -63
  281. package/dist/node_modules/@ant-design/cssinjs-utils/es/hooks/useCSP.mjs +0 -6
  282. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.mjs +0 -59
  283. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.mjs +0 -44
  284. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/calculator.mjs +0 -8
  285. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/index.mjs +0 -11
  286. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/genStyleUtils.mjs +0 -156
  287. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getCompVarPrefix.mjs +0 -6
  288. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getComponentToken.mjs +0 -26
  289. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getDefaultComponentToken.mjs +0 -11
  290. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/maxmin.mjs +0 -36
  291. package/dist/node_modules/@ant-design/cssinjs-utils/es/util/statistic.mjs +0 -55
  292. package/dist/node_modules/@ant-design/fast-color/es/FastColor.mjs +0 -327
  293. package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +0 -42
  294. package/dist/node_modules/@ant-design/icons/es/components/Context.mjs +0 -6
  295. package/dist/node_modules/@ant-design/icons/es/components/IconBase.mjs +0 -46
  296. package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.mjs +0 -18
  297. package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.mjs +0 -15
  298. package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.mjs +0 -15
  299. package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.mjs +0 -15
  300. package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs +0 -15
  301. package/dist/node_modules/@ant-design/icons/es/icons/DeleteOutlined.mjs +0 -15
  302. package/dist/node_modules/@ant-design/icons/es/icons/DownloadOutlined.mjs +0 -15
  303. package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.mjs +0 -15
  304. package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.mjs +0 -15
  305. package/dist/node_modules/@ant-design/icons/es/icons/FileTwoTone.mjs +0 -15
  306. package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.mjs +0 -15
  307. package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.mjs +0 -15
  308. package/dist/node_modules/@ant-design/icons/es/icons/PaperClipOutlined.mjs +0 -15
  309. package/dist/node_modules/@ant-design/icons/es/icons/PictureTwoTone.mjs +0 -15
  310. package/dist/node_modules/@ant-design/icons/es/utils.mjs +0 -127
  311. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.mjs +0 -5
  312. package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.mjs +0 -5
  313. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.mjs +0 -5
  314. package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.mjs +0 -5
  315. package/dist/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.mjs +0 -5
  316. package/dist/node_modules/@ant-design/icons-svg/es/asn/DownloadOutlined.mjs +0 -5
  317. package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.mjs +0 -5
  318. package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.mjs +0 -5
  319. package/dist/node_modules/@ant-design/icons-svg/es/asn/FileTwoTone.mjs +0 -7
  320. package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.mjs +0 -5
  321. package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.mjs +0 -5
  322. package/dist/node_modules/@ant-design/icons-svg/es/asn/PaperClipOutlined.mjs +0 -5
  323. package/dist/node_modules/@ant-design/icons-svg/es/asn/PictureTwoTone.mjs +0 -7
  324. package/dist/node_modules/@babel/runtime/helpers/defineProperty.mjs +0 -18
  325. package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +0 -9
  326. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.mjs +0 -7
  327. package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +0 -8
  328. package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.mjs +0 -8
  329. package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.mjs +0 -26
  330. package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.mjs +0 -7
  331. package/dist/node_modules/@babel/runtime/helpers/esm/construct.mjs +0 -13
  332. package/dist/node_modules/@babel/runtime/helpers/esm/createClass.mjs +0 -15
  333. package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.mjs +0 -18
  334. package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +0 -12
  335. package/dist/node_modules/@babel/runtime/helpers/esm/extends.mjs +0 -13
  336. package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.mjs +0 -8
  337. package/dist/node_modules/@babel/runtime/helpers/esm/inherits.mjs +0 -17
  338. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.mjs +0 -10
  339. package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.mjs +0 -13
  340. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +0 -7
  341. package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.mjs +0 -29
  342. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.mjs +0 -7
  343. package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +0 -7
  344. package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.mjs +0 -25
  345. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +0 -15
  346. package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +0 -15
  347. package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.mjs +0 -12
  348. package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.mjs +0 -315
  349. package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.mjs +0 -8
  350. package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.mjs +0 -10
  351. package/dist/node_modules/@babel/runtime/helpers/esm/toArray.mjs +0 -10
  352. package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +0 -10
  353. package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +0 -16
  354. package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +0 -9
  355. package/dist/node_modules/@babel/runtime/helpers/esm/typeof.mjs +0 -11
  356. package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +0 -12
  357. package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.mjs +0 -32
  358. package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.mjs +0 -13
  359. package/dist/node_modules/@babel/runtime/helpers/objectSpread2.mjs +0 -31
  360. package/dist/node_modules/@babel/runtime/helpers/toPrimitive.mjs +0 -22
  361. package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.mjs +0 -15
  362. package/dist/node_modules/@babel/runtime/helpers/typeof.mjs +0 -16
  363. package/dist/node_modules/@better-scroll/core/dist/core.esm.mjs +0 -1377
  364. package/dist/node_modules/@better-scroll/wheel/dist/wheel.esm.mjs +0 -253
  365. package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.mjs +0 -115
  366. package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.mjs +0 -153
  367. package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.mjs +0 -68
  368. package/dist/node_modules/@ctrl/tinycolor/dist/module/index.mjs +0 -183
  369. package/dist/node_modules/@ctrl/tinycolor/dist/module/util.mjs +0 -32
  370. package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.mjs +0 -54
  371. package/dist/node_modules/@dnd-kit/core/dist/core.esm.mjs +0 -2524
  372. package/dist/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.mjs +0 -27
  373. package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs +0 -367
  374. package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs +0 -235
  375. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.mjs +0 -251
  376. package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.mjs +0 -86
  377. package/dist/node_modules/@emotion/css/dist/emotion-css.esm.mjs +0 -7
  378. package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.mjs +0 -22
  379. package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.mjs +0 -9
  380. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs +0 -134
  381. package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.mjs +0 -53
  382. package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.mjs +0 -45
  383. package/dist/node_modules/@emotion/unitless/dist/unitless.browser.esm.mjs +0 -51
  384. package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.mjs +0 -34
  385. package/dist/node_modules/@fullcalendar/core/index.mjs +0 -1365
  386. package/dist/node_modules/@fullcalendar/core/internal-common.mjs +0 -4823
  387. package/dist/node_modules/@fullcalendar/core/locales/zh-cn.mjs +0 -28
  388. package/dist/node_modules/@fullcalendar/daygrid/index.mjs +0 -32
  389. package/dist/node_modules/@fullcalendar/daygrid/internal.mjs +0 -746
  390. package/dist/node_modules/@fullcalendar/interaction/index.mjs +0 -842
  391. package/dist/node_modules/@fullcalendar/list/index.mjs +0 -54
  392. package/dist/node_modules/@fullcalendar/list/internal.mjs +0 -207
  393. package/dist/node_modules/@fullcalendar/react/dist/index.mjs +0 -71
  394. package/dist/node_modules/@fullcalendar/timegrid/index.mjs +0 -31
  395. package/dist/node_modules/@fullcalendar/timegrid/internal.mjs +0 -900
  396. package/dist/node_modules/@rc-component/async-validator/es/index.mjs +0 -159
  397. package/dist/node_modules/@rc-component/async-validator/es/messages.mjs +0 -58
  398. package/dist/node_modules/@rc-component/async-validator/es/rule/enum.mjs +0 -7
  399. package/dist/node_modules/@rc-component/async-validator/es/rule/index.mjs +0 -17
  400. package/dist/node_modules/@rc-component/async-validator/es/rule/pattern.mjs +0 -14
  401. package/dist/node_modules/@rc-component/async-validator/es/rule/range.mjs +0 -10
  402. package/dist/node_modules/@rc-component/async-validator/es/rule/required.mjs +0 -7
  403. package/dist/node_modules/@rc-component/async-validator/es/rule/type.mjs +0 -63
  404. package/dist/node_modules/@rc-component/async-validator/es/rule/url.mjs +0 -37
  405. package/dist/node_modules/@rc-component/async-validator/es/rule/whitespace.mjs +0 -7
  406. package/dist/node_modules/@rc-component/async-validator/es/util.mjs +0 -167
  407. package/dist/node_modules/@rc-component/async-validator/es/validator/any.mjs +0 -14
  408. package/dist/node_modules/@rc-component/async-validator/es/validator/array.mjs +0 -13
  409. package/dist/node_modules/@rc-component/async-validator/es/validator/boolean.mjs +0 -14
  410. package/dist/node_modules/@rc-component/async-validator/es/validator/date.mjs +0 -17
  411. package/dist/node_modules/@rc-component/async-validator/es/validator/enum.mjs +0 -14
  412. package/dist/node_modules/@rc-component/async-validator/es/validator/float.mjs +0 -14
  413. package/dist/node_modules/@rc-component/async-validator/es/validator/index.mjs +0 -37
  414. package/dist/node_modules/@rc-component/async-validator/es/validator/integer.mjs +0 -14
  415. package/dist/node_modules/@rc-component/async-validator/es/validator/method.mjs +0 -14
  416. package/dist/node_modules/@rc-component/async-validator/es/validator/number.mjs +0 -14
  417. package/dist/node_modules/@rc-component/async-validator/es/validator/object.mjs +0 -14
  418. package/dist/node_modules/@rc-component/async-validator/es/validator/pattern.mjs +0 -14
  419. package/dist/node_modules/@rc-component/async-validator/es/validator/regexp.mjs +0 -14
  420. package/dist/node_modules/@rc-component/async-validator/es/validator/required.mjs +0 -9
  421. package/dist/node_modules/@rc-component/async-validator/es/validator/string.mjs +0 -14
  422. package/dist/node_modules/@rc-component/async-validator/es/validator/type.mjs +0 -14
  423. package/dist/node_modules/@rc-component/color-picker/es/ColorPicker.mjs +0 -103
  424. package/dist/node_modules/@rc-component/color-picker/es/color.mjs +0 -47
  425. package/dist/node_modules/@rc-component/color-picker/es/components/ColorBlock.mjs +0 -18
  426. package/dist/node_modules/@rc-component/color-picker/es/components/Gradient.mjs +0 -22
  427. package/dist/node_modules/@rc-component/color-picker/es/components/Handler.mjs +0 -15
  428. package/dist/node_modules/@rc-component/color-picker/es/components/Palette.mjs +0 -14
  429. package/dist/node_modules/@rc-component/color-picker/es/components/Picker.mjs +0 -58
  430. package/dist/node_modules/@rc-component/color-picker/es/components/Slider.mjs +0 -76
  431. package/dist/node_modules/@rc-component/color-picker/es/components/Transform.mjs +0 -17
  432. package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorDrag.mjs +0 -41
  433. package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorState.mjs +0 -17
  434. package/dist/node_modules/@rc-component/color-picker/es/hooks/useComponent.mjs +0 -11
  435. package/dist/node_modules/@rc-component/color-picker/es/util.mjs +0 -50
  436. package/dist/node_modules/@rc-component/portal/es/Context.mjs +0 -5
  437. package/dist/node_modules/@rc-component/portal/es/Portal.mjs +0 -45
  438. package/dist/node_modules/@rc-component/portal/es/index.mjs +0 -4
  439. package/dist/node_modules/@rc-component/portal/es/mock.mjs +0 -8
  440. package/dist/node_modules/@rc-component/portal/es/useDom.mjs +0 -37
  441. package/dist/node_modules/@rc-component/portal/es/useScrollLocker.mjs +0 -29
  442. package/dist/node_modules/@rc-component/portal/es/util.mjs +0 -6
  443. package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.mjs +0 -22
  444. package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.mjs +0 -24
  445. package/dist/node_modules/@rc-component/trigger/es/Popup/PopupContent.mjs +0 -11
  446. package/dist/node_modules/@rc-component/trigger/es/Popup/index.mjs +0 -92
  447. package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.mjs +0 -14
  448. package/dist/node_modules/@rc-component/trigger/es/context.mjs +0 -5
  449. package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.mjs +0 -13
  450. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.mjs +0 -187
  451. package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.mjs +0 -27
  452. package/dist/node_modules/@rc-component/trigger/es/hooks/useWinClick.mjs +0 -27
  453. package/dist/node_modules/@rc-component/trigger/es/index.mjs +0 -213
  454. package/dist/node_modules/@rc-component/trigger/es/util.mjs +0 -61
  455. package/dist/node_modules/ahooks/es/createUpdateEffect/index.mjs +0 -20
  456. package/dist/node_modules/ahooks/es/useClickAway/index.mjs +0 -27
  457. package/dist/node_modules/ahooks/es/useControllableValue/index.mjs +0 -23
  458. package/dist/node_modules/ahooks/es/useInterval/index.mjs +0 -17
  459. package/dist/node_modules/ahooks/es/useLatest/index.mjs +0 -8
  460. package/dist/node_modules/ahooks/es/useMemoizedFn/index.mjs +0 -19
  461. package/dist/node_modules/ahooks/es/useRafState/index.mjs +0 -16
  462. package/dist/node_modules/ahooks/es/useSetState/index.mjs +0 -16
  463. package/dist/node_modules/ahooks/es/useSize/index.mjs +0 -34
  464. package/dist/node_modules/ahooks/es/useThrottleFn/index.mjs +0 -28
  465. package/dist/node_modules/ahooks/es/useUnmount/index.mjs +0 -17
  466. package/dist/node_modules/ahooks/es/useUpdate/index.mjs +0 -12
  467. package/dist/node_modules/ahooks/es/useUpdateEffect/index.mjs +0 -6
  468. package/dist/node_modules/ahooks/es/useUpdateLayoutEffect/index.mjs +0 -6
  469. package/dist/node_modules/ahooks/es/utils/createEffectWithTarget.mjs +0 -27
  470. package/dist/node_modules/ahooks/es/utils/depsAreSame.mjs +0 -11
  471. package/dist/node_modules/ahooks/es/utils/domTarget.mjs +0 -13
  472. package/dist/node_modules/ahooks/es/utils/getDocumentOrShadow.mjs +0 -18
  473. package/dist/node_modules/ahooks/es/utils/index.mjs +0 -9
  474. package/dist/node_modules/ahooks/es/utils/isBrowser.mjs +0 -5
  475. package/dist/node_modules/ahooks/es/utils/isDev.mjs +0 -5
  476. package/dist/node_modules/ahooks/es/utils/useEffectWithTarget.mjs +0 -7
  477. package/dist/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.mjs +0 -8
  478. package/dist/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.mjs +0 -7
  479. package/dist/node_modules/antd/es/_util/ActionButton.mjs +0 -70
  480. package/dist/node_modules/antd/es/_util/ContextIsolator.mjs +0 -20
  481. package/dist/node_modules/antd/es/_util/PurePanel.mjs +0 -16
  482. package/dist/node_modules/antd/es/_util/colors.mjs +0 -9
  483. package/dist/node_modules/antd/es/_util/hooks/useClosable.mjs +0 -66
  484. package/dist/node_modules/antd/es/_util/hooks/useForceUpdate.mjs +0 -8
  485. package/dist/node_modules/antd/es/_util/hooks/usePatchElement.mjs +0 -11
  486. package/dist/node_modules/antd/es/_util/hooks/useZIndex.mjs +0 -45
  487. package/dist/node_modules/antd/es/_util/motion.mjs +0 -34
  488. package/dist/node_modules/antd/es/_util/placements.mjs +0 -150
  489. package/dist/node_modules/antd/es/_util/reactNode.mjs +0 -13
  490. package/dist/node_modules/antd/es/_util/styleChecker.mjs +0 -5
  491. package/dist/node_modules/antd/es/_util/toList.mjs +0 -6
  492. package/dist/node_modules/antd/es/_util/warning.mjs +0 -38
  493. package/dist/node_modules/antd/es/_util/wave/WaveEffect.mjs +0 -96
  494. package/dist/node_modules/antd/es/_util/wave/index.mjs +0 -40
  495. package/dist/node_modules/antd/es/_util/wave/interface.mjs +0 -6
  496. package/dist/node_modules/antd/es/_util/wave/style.mjs +0 -47
  497. package/dist/node_modules/antd/es/_util/wave/useWave.mjs +0 -38
  498. package/dist/node_modules/antd/es/_util/wave/util.mjs +0 -16
  499. package/dist/node_modules/antd/es/_util/zindexContext.mjs +0 -7
  500. package/dist/node_modules/antd/es/button/IconWrapper.mjs +0 -18
  501. package/dist/node_modules/antd/es/button/LoadingIcon.mjs +0 -70
  502. package/dist/node_modules/antd/es/button/button-group.mjs +0 -65
  503. package/dist/node_modules/antd/es/button/button.mjs +0 -177
  504. package/dist/node_modules/antd/es/button/buttonHelpers.mjs +0 -44
  505. package/dist/node_modules/antd/es/button/index.mjs +0 -4
  506. package/dist/node_modules/antd/es/button/style/compactCmp.mjs +0 -75
  507. package/dist/node_modules/antd/es/button/style/group.mjs +0 -70
  508. package/dist/node_modules/antd/es/button/style/index.mjs +0 -373
  509. package/dist/node_modules/antd/es/button/style/token.mjs +0 -81
  510. package/dist/node_modules/antd/es/calendar/locale/en_US.mjs +0 -4
  511. package/dist/node_modules/antd/es/color-picker/color.mjs +0 -96
  512. package/dist/node_modules/antd/es/color-picker/components/ColorPresets.mjs +0 -17
  513. package/dist/node_modules/antd/es/config-provider/DisabledContext.mjs +0 -15
  514. package/dist/node_modules/antd/es/config-provider/MotionWrapper.mjs +0 -32
  515. package/dist/node_modules/antd/es/config-provider/PropWarning.mjs +0 -13
  516. package/dist/node_modules/antd/es/config-provider/SizeContext.mjs +0 -15
  517. package/dist/node_modules/antd/es/config-provider/context.mjs +0 -11
  518. package/dist/node_modules/antd/es/config-provider/cssVariables.mjs +0 -39
  519. package/dist/node_modules/antd/es/config-provider/hooks/useCSSVarCls.mjs +0 -23
  520. package/dist/node_modules/antd/es/config-provider/hooks/useConfig.mjs +0 -13
  521. package/dist/node_modules/antd/es/config-provider/hooks/useSize.mjs +0 -9
  522. package/dist/node_modules/antd/es/config-provider/hooks/useTheme.mjs +0 -41
  523. package/dist/node_modules/antd/es/config-provider/hooks/useThemeKey.mjs +0 -7
  524. package/dist/node_modules/antd/es/config-provider/index.mjs +0 -327
  525. package/dist/node_modules/antd/es/date-picker/locale/en_US.mjs +0 -20
  526. package/dist/node_modules/antd/es/form/context.mjs +0 -23
  527. package/dist/node_modules/antd/es/form/validateMessagesContext.mjs +0 -5
  528. package/dist/node_modules/antd/es/locale/context.mjs +0 -5
  529. package/dist/node_modules/antd/es/locale/en_US.mjs +0 -146
  530. package/dist/node_modules/antd/es/locale/index.mjs +0 -28
  531. package/dist/node_modules/antd/es/locale/useLocale.mjs +0 -17
  532. package/dist/node_modules/antd/es/modal/ConfirmDialog.mjs +0 -175
  533. package/dist/node_modules/antd/es/modal/Modal.mjs +0 -137
  534. package/dist/node_modules/antd/es/modal/PurePanel.mjs +0 -60
  535. package/dist/node_modules/antd/es/modal/components/ConfirmCancelBtn.mjs +0 -29
  536. package/dist/node_modules/antd/es/modal/components/ConfirmOkBtn.mjs +0 -30
  537. package/dist/node_modules/antd/es/modal/components/NormalCancelBtn.mjs +0 -16
  538. package/dist/node_modules/antd/es/modal/components/NormalOkBtn.mjs +0 -20
  539. package/dist/node_modules/antd/es/modal/confirm.mjs +0 -122
  540. package/dist/node_modules/antd/es/modal/context.mjs +0 -8
  541. package/dist/node_modules/antd/es/modal/destroyFns.mjs +0 -4
  542. package/dist/node_modules/antd/es/modal/index.mjs +0 -37
  543. package/dist/node_modules/antd/es/modal/locale.mjs +0 -19
  544. package/dist/node_modules/antd/es/modal/shared.mjs +0 -51
  545. package/dist/node_modules/antd/es/modal/style/confirm.mjs +0 -113
  546. package/dist/node_modules/antd/es/modal/style/index.mjs +0 -292
  547. package/dist/node_modules/antd/es/modal/useModal/HookModal.mjs +0 -60
  548. package/dist/node_modules/antd/es/modal/useModal/index.mjs +0 -73
  549. package/dist/node_modules/antd/es/progress/Circle.mjs +0 -60
  550. package/dist/node_modules/antd/es/progress/Line.mjs +0 -109
  551. package/dist/node_modules/antd/es/progress/Steps.mjs +0 -38
  552. package/dist/node_modules/antd/es/progress/index.mjs +0 -4
  553. package/dist/node_modules/antd/es/progress/progress.mjs +0 -120
  554. package/dist/node_modules/antd/es/progress/style/index.mjs +0 -313
  555. package/dist/node_modules/antd/es/progress/utils.mjs +0 -51
  556. package/dist/node_modules/antd/es/skeleton/Avatar.mjs +0 -31
  557. package/dist/node_modules/antd/es/skeleton/Button.mjs +0 -31
  558. package/dist/node_modules/antd/es/skeleton/Element.mjs +0 -29
  559. package/dist/node_modules/antd/es/skeleton/Image.mjs +0 -34
  560. package/dist/node_modules/antd/es/skeleton/Input.mjs +0 -31
  561. package/dist/node_modules/antd/es/skeleton/Node.mjs +0 -28
  562. package/dist/node_modules/antd/es/skeleton/Paragraph.mjs +0 -35
  563. package/dist/node_modules/antd/es/skeleton/Skeleton.mjs +0 -108
  564. package/dist/node_modules/antd/es/skeleton/Title.mjs +0 -22
  565. package/dist/node_modules/antd/es/skeleton/index.mjs +0 -4
  566. package/dist/node_modules/antd/es/skeleton/style/index.mjs +0 -311
  567. package/dist/node_modules/antd/es/slider/Context.mjs +0 -5
  568. package/dist/node_modules/antd/es/slider/SliderTooltip.mjs +0 -30
  569. package/dist/node_modules/antd/es/slider/index.mjs +0 -153
  570. package/dist/node_modules/antd/es/slider/style/index.mjs +0 -325
  571. package/dist/node_modules/antd/es/slider/useRafLock.mjs +0 -15
  572. package/dist/node_modules/antd/es/space/Compact.mjs +0 -37
  573. package/dist/node_modules/antd/es/style/compact-item-vertical.mjs +0 -44
  574. package/dist/node_modules/antd/es/style/compact-item.mjs +0 -61
  575. package/dist/node_modules/antd/es/style/index.mjs +0 -125
  576. package/dist/node_modules/antd/es/style/motion/collapse.mjs +0 -20
  577. package/dist/node_modules/antd/es/style/motion/fade.mjs +0 -50
  578. package/dist/node_modules/antd/es/style/motion/motion.mjs +0 -35
  579. package/dist/node_modules/antd/es/style/motion/zoom.mjs +0 -195
  580. package/dist/node_modules/antd/es/style/placementArrow.mjs +0 -164
  581. package/dist/node_modules/antd/es/style/roundedArrow.mjs +0 -74
  582. package/dist/node_modules/antd/es/table/ExpandIcon.mjs +0 -29
  583. package/dist/node_modules/antd/es/theme/context.mjs +0 -25
  584. package/dist/node_modules/antd/es/theme/getDesignToken.mjs +0 -23
  585. package/dist/node_modules/antd/es/theme/interface/presetColors.mjs +0 -4
  586. package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.mjs +0 -20
  587. package/dist/node_modules/antd/es/theme/themes/compact/index.mjs +0 -16
  588. package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.mjs +0 -6
  589. package/dist/node_modules/antd/es/theme/themes/dark/colors.mjs +0 -51
  590. package/dist/node_modules/antd/es/theme/themes/dark/index.mjs +0 -21
  591. package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.mjs +0 -6
  592. package/dist/node_modules/antd/es/theme/themes/default/colors.mjs +0 -49
  593. package/dist/node_modules/antd/es/theme/themes/default/index.mjs +0 -23
  594. package/dist/node_modules/antd/es/theme/themes/seed.mjs +0 -69
  595. package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.mjs +0 -78
  596. package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.mjs +0 -20
  597. package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.mjs +0 -13
  598. package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.mjs +0 -29
  599. package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.mjs +0 -17
  600. package/dist/node_modules/antd/es/theme/themes/shared/genRadius.mjs +0 -13
  601. package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.mjs +0 -29
  602. package/dist/node_modules/antd/es/theme/useToken.mjs +0 -118
  603. package/dist/node_modules/antd/es/theme/util/alias.mjs +0 -162
  604. package/dist/node_modules/antd/es/theme/util/genPresetColor.mjs +0 -15
  605. package/dist/node_modules/antd/es/theme/util/genStyleUtils.mjs +0 -50
  606. package/dist/node_modules/antd/es/theme/util/getAlphaColor.mjs +0 -38
  607. package/dist/node_modules/antd/es/theme/util/useResetIconStyle.mjs +0 -36
  608. package/dist/node_modules/antd/es/time-picker/locale/en_US.mjs +0 -7
  609. package/dist/node_modules/antd/es/tooltip/PurePanel.mjs +0 -33
  610. package/dist/node_modules/antd/es/tooltip/index.mjs +0 -148
  611. package/dist/node_modules/antd/es/tooltip/style/index.mjs +0 -139
  612. package/dist/node_modules/antd/es/tooltip/util.mjs +0 -15
  613. package/dist/node_modules/antd/es/typography/hooks/useCopyClick.mjs +0 -64
  614. package/dist/node_modules/antd/es/upload/Dragger.mjs +0 -32
  615. package/dist/node_modules/antd/es/upload/Upload.mjs +0 -304
  616. package/dist/node_modules/antd/es/upload/UploadList/ListItem.mjs +0 -156
  617. package/dist/node_modules/antd/es/upload/UploadList/index.mjs +0 -167
  618. package/dist/node_modules/antd/es/upload/index.mjs +0 -9
  619. package/dist/node_modules/antd/es/upload/style/dragger.mjs +0 -84
  620. package/dist/node_modules/antd/es/upload/style/index.mjs +0 -65
  621. package/dist/node_modules/antd/es/upload/style/list.mjs +0 -115
  622. package/dist/node_modules/antd/es/upload/style/motion.mjs +0 -54
  623. package/dist/node_modules/antd/es/upload/style/picture.mjs +0 -240
  624. package/dist/node_modules/antd/es/upload/style/rtl.mjs +0 -13
  625. package/dist/node_modules/antd/es/upload/utils.mjs +0 -79
  626. package/dist/node_modules/antd/es/version/index.mjs +0 -4
  627. package/dist/node_modules/antd/es/version/version.mjs +0 -4
  628. package/dist/node_modules/antd/es/watermark/context.mjs +0 -25
  629. package/dist/node_modules/antd/lib/calendar/locale/en_US.mjs +0 -11
  630. package/dist/node_modules/antd/lib/date-picker/locale/en_US.mjs +0 -28
  631. package/dist/node_modules/antd/lib/locale/en_US.mjs +0 -157
  632. package/dist/node_modules/antd/lib/time-picker/locale/en_US.mjs +0 -10
  633. package/dist/node_modules/antd/locale/en_US.mjs +0 -8
  634. package/dist/node_modules/antd-img-crop/dist/antd-img-crop.esm.mjs +0 -137
  635. package/dist/node_modules/better-scroll/dist/better-scroll.esm.mjs +0 -3670
  636. package/dist/node_modules/classnames/index.mjs +0 -42
  637. package/dist/node_modules/clsx/dist/clsx.mjs +0 -23
  638. package/dist/node_modules/copy-to-clipboard/index.mjs +0 -46
  639. package/dist/node_modules/dayjs/locale/zh-cn.mjs +0 -19
  640. package/dist/node_modules/dayjs/plugin/isBetween.mjs +0 -19
  641. package/dist/node_modules/dayjs/plugin/isSameOrAfter.mjs +0 -18
  642. package/dist/node_modules/dayjs/plugin/isSameOrBefore.mjs +0 -18
  643. package/dist/node_modules/dayjs/plugin/isToday.mjs +0 -19
  644. package/dist/node_modules/dayjs/plugin/isoWeek.mjs +0 -34
  645. package/dist/node_modules/dayjs/plugin/objectSupport.mjs +0 -49
  646. package/dist/node_modules/dayjs/plugin/relativeTime.mjs +0 -49
  647. package/dist/node_modules/dayjs/plugin/utc.mjs +0 -87
  648. package/dist/node_modules/dayjs/plugin/weekOfYear.mjs +0 -31
  649. package/dist/node_modules/immer/dist/immer.mjs +0 -473
  650. package/dist/node_modules/lodash/_Symbol.mjs +0 -5
  651. package/dist/node_modules/lodash/_baseGetTag.mjs +0 -11
  652. package/dist/node_modules/lodash/_baseTrim.mjs +0 -9
  653. package/dist/node_modules/lodash/_freeGlobal.mjs +0 -5
  654. package/dist/node_modules/lodash/_getRawTag.mjs +0 -16
  655. package/dist/node_modules/lodash/_objectToString.mjs +0 -8
  656. package/dist/node_modules/lodash/_root.mjs +0 -5
  657. package/dist/node_modules/lodash/_trimmedEndIndex.mjs +0 -10
  658. package/dist/node_modules/lodash/debounce.mjs +0 -55
  659. package/dist/node_modules/lodash/isObject.mjs +0 -8
  660. package/dist/node_modules/lodash/isObjectLike.mjs +0 -7
  661. package/dist/node_modules/lodash/isSymbol.mjs +0 -10
  662. package/dist/node_modules/lodash/lodash.mjs +0 -3680
  663. package/dist/node_modules/lodash/now.mjs +0 -7
  664. package/dist/node_modules/lodash/throttle.mjs +0 -19
  665. package/dist/node_modules/lodash/toNumber.mjs +0 -23
  666. package/dist/node_modules/normalize-wheel/index.mjs +0 -7
  667. package/dist/node_modules/normalize-wheel/src/ExecutionEnvironment.mjs +0 -11
  668. package/dist/node_modules/normalize-wheel/src/UserAgent_DEPRECATED.mjs +0 -142
  669. package/dist/node_modules/normalize-wheel/src/isEventSupported.mjs +0 -33
  670. package/dist/node_modules/normalize-wheel/src/normalizeWheel.mjs +0 -19
  671. package/dist/node_modules/object-assign/index.mjs +0 -55
  672. package/dist/node_modules/preact/compat/dist/compat.module.mjs +0 -202
  673. package/dist/node_modules/preact/dist/preact.module.mjs +0 -343
  674. package/dist/node_modules/preact/hooks/dist/hooks.module.mjs +0 -63
  675. package/dist/node_modules/prop-types/checkPropTypes.mjs +0 -55
  676. package/dist/node_modules/prop-types/factoryWithThrowingShims.mjs +0 -53
  677. package/dist/node_modules/prop-types/factoryWithTypeCheckers.mjs +0 -330
  678. package/dist/node_modules/prop-types/index.mjs +0 -16
  679. package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +0 -11
  680. package/dist/node_modules/prop-types/lib/has.mjs +0 -7
  681. package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.mjs +0 -11
  682. package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.mjs +0 -93
  683. package/dist/node_modules/rc-dialog/es/Dialog/Content/index.mjs +0 -43
  684. package/dist/node_modules/rc-dialog/es/Dialog/Mask.mjs +0 -25
  685. package/dist/node_modules/rc-dialog/es/Dialog/index.mjs +0 -114
  686. package/dist/node_modules/rc-dialog/es/DialogWrap.mjs +0 -32
  687. package/dist/node_modules/rc-dialog/es/context.mjs +0 -5
  688. package/dist/node_modules/rc-dialog/es/index.mjs +0 -6
  689. package/dist/node_modules/rc-dialog/es/util.mjs +0 -23
  690. package/dist/node_modules/rc-field-form/es/Field.mjs +0 -300
  691. package/dist/node_modules/rc-field-form/es/FieldContext.mjs +0 -41
  692. package/dist/node_modules/rc-field-form/es/Form.mjs +0 -78
  693. package/dist/node_modules/rc-field-form/es/FormContext.mjs +0 -46
  694. package/dist/node_modules/rc-field-form/es/List.mjs +0 -82
  695. package/dist/node_modules/rc-field-form/es/ListContext.mjs +0 -5
  696. package/dist/node_modules/rc-field-form/es/index.mjs +0 -22
  697. package/dist/node_modules/rc-field-form/es/useForm.mjs +0 -541
  698. package/dist/node_modules/rc-field-form/es/useWatch.mjs +0 -53
  699. package/dist/node_modules/rc-field-form/es/utils/NameMap.mjs +0 -66
  700. package/dist/node_modules/rc-field-form/es/utils/asyncUtil.mjs +0 -15
  701. package/dist/node_modules/rc-field-form/es/utils/messages.mjs +0 -50
  702. package/dist/node_modules/rc-field-form/es/utils/typeUtil.mjs +0 -10
  703. package/dist/node_modules/rc-field-form/es/utils/validateUtil.mjs +0 -203
  704. package/dist/node_modules/rc-field-form/es/utils/valueUtil.mjs +0 -60
  705. package/dist/node_modules/rc-motion/es/CSSMotion.mjs +0 -73
  706. package/dist/node_modules/rc-motion/es/CSSMotionList.mjs +0 -95
  707. package/dist/node_modules/rc-motion/es/DomWrapper.mjs +0 -21
  708. package/dist/node_modules/rc-motion/es/context.mjs +0 -13
  709. package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.mjs +0 -20
  710. package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.mjs +0 -6
  711. package/dist/node_modules/rc-motion/es/hooks/useNextFrame.mjs +0 -28
  712. package/dist/node_modules/rc-motion/es/hooks/useStatus.mjs +0 -91
  713. package/dist/node_modules/rc-motion/es/hooks/useStepQueue.mjs +0 -38
  714. package/dist/node_modules/rc-motion/es/index.mjs +0 -7
  715. package/dist/node_modules/rc-motion/es/interface.mjs +0 -13
  716. package/dist/node_modules/rc-motion/es/util/diff.mjs +0 -65
  717. package/dist/node_modules/rc-motion/es/util/motion.mjs +0 -51
  718. package/dist/node_modules/rc-pagination/es/locale/en_US.mjs +0 -18
  719. package/dist/node_modules/rc-pagination/lib/locale/en_US.mjs +0 -21
  720. package/dist/node_modules/rc-picker/es/locale/common.mjs +0 -9
  721. package/dist/node_modules/rc-picker/es/locale/en_US.mjs +0 -31
  722. package/dist/node_modules/rc-picker/lib/locale/common.mjs +0 -14
  723. package/dist/node_modules/rc-picker/lib/locale/en_US.mjs +0 -37
  724. package/dist/node_modules/rc-progress/es/Circle/PtgCircle.mjs +0 -52
  725. package/dist/node_modules/rc-progress/es/Circle/index.mjs +0 -83
  726. package/dist/node_modules/rc-progress/es/Circle/util.mjs +0 -23
  727. package/dist/node_modules/rc-progress/es/Line.mjs +0 -3
  728. package/dist/node_modules/rc-progress/es/common.mjs +0 -27
  729. package/dist/node_modules/rc-progress/es/hooks/useId.mjs +0 -18
  730. package/dist/node_modules/rc-resize-observer/es/Collection.mjs +0 -22
  731. package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.mjs +0 -21
  732. package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.mjs +0 -59
  733. package/dist/node_modules/rc-resize-observer/es/index.mjs +0 -24
  734. package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.mjs +0 -23
  735. package/dist/node_modules/rc-slider/es/Handles/Handle.mjs +0 -103
  736. package/dist/node_modules/rc-slider/es/Handles/index.mjs +0 -69
  737. package/dist/node_modules/rc-slider/es/Marks/Mark.mjs +0 -22
  738. package/dist/node_modules/rc-slider/es/Marks/index.mjs +0 -20
  739. package/dist/node_modules/rc-slider/es/Slider.mjs +0 -225
  740. package/dist/node_modules/rc-slider/es/Steps/Dot.mjs +0 -16
  741. package/dist/node_modules/rc-slider/es/Steps/index.mjs +0 -28
  742. package/dist/node_modules/rc-slider/es/Tracks/Track.mjs +0 -34
  743. package/dist/node_modules/rc-slider/es/Tracks/index.mjs +0 -50
  744. package/dist/node_modules/rc-slider/es/context.mjs +0 -17
  745. package/dist/node_modules/rc-slider/es/hooks/useDrag.mjs +0 -104
  746. package/dist/node_modules/rc-slider/es/hooks/useOffset.mjs +0 -104
  747. package/dist/node_modules/rc-slider/es/hooks/useRange.mjs +0 -13
  748. package/dist/node_modules/rc-slider/es/index.mjs +0 -5
  749. package/dist/node_modules/rc-slider/es/util.mjs +0 -29
  750. package/dist/node_modules/rc-tooltip/es/Popup.mjs +0 -17
  751. package/dist/node_modules/rc-tooltip/es/Tooltip.mjs +0 -52
  752. package/dist/node_modules/rc-tooltip/es/index.mjs +0 -6
  753. package/dist/node_modules/rc-tooltip/es/placements.mjs +0 -84
  754. package/dist/node_modules/rc-upload/es/AjaxUploader.mjs +0 -284
  755. package/dist/node_modules/rc-upload/es/Upload.mjs +0 -57
  756. package/dist/node_modules/rc-upload/es/attr-accept.mjs +0 -22
  757. package/dist/node_modules/rc-upload/es/index.mjs +0 -4
  758. package/dist/node_modules/rc-upload/es/request.mjs +0 -46
  759. package/dist/node_modules/rc-upload/es/traverseFileTree.mjs +0 -137
  760. package/dist/node_modules/rc-upload/es/uid.mjs +0 -7
  761. package/dist/node_modules/rc-util/es/Children/toArray.mjs +0 -11
  762. package/dist/node_modules/rc-util/es/Dom/canUseDom.mjs +0 -6
  763. package/dist/node_modules/rc-util/es/Dom/contains.mjs +0 -15
  764. package/dist/node_modules/rc-util/es/Dom/dynamicCSS.mjs +0 -87
  765. package/dist/node_modules/rc-util/es/Dom/findDOMNode.mjs +0 -24
  766. package/dist/node_modules/rc-util/es/Dom/isVisible.mjs +0 -22
  767. package/dist/node_modules/rc-util/es/Dom/shadow.mjs +0 -14
  768. package/dist/node_modules/rc-util/es/KeyCode.mjs +0 -517
  769. package/dist/node_modules/rc-util/es/React/render.mjs +0 -81
  770. package/dist/node_modules/rc-util/es/getScrollBarSize.mjs +0 -38
  771. package/dist/node_modules/rc-util/es/hooks/useEvent.mjs +0 -14
  772. package/dist/node_modules/rc-util/es/hooks/useId.mjs +0 -27
  773. package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.mjs +0 -21
  774. package/dist/node_modules/rc-util/es/hooks/useMemo.mjs +0 -8
  775. package/dist/node_modules/rc-util/es/hooks/useMergedState.mjs +0 -25
  776. package/dist/node_modules/rc-util/es/hooks/useState.mjs +0 -17
  777. package/dist/node_modules/rc-util/es/hooks/useSyncState.mjs +0 -16
  778. package/dist/node_modules/rc-util/es/isEqual.mjs +0 -35
  779. package/dist/node_modules/rc-util/es/isMobile.mjs +0 -9
  780. package/dist/node_modules/rc-util/es/omit.mjs +0 -9
  781. package/dist/node_modules/rc-util/es/pickAttrs.mjs +0 -42
  782. package/dist/node_modules/rc-util/es/raf.mjs +0 -40
  783. package/dist/node_modules/rc-util/es/ref.mjs +0 -39
  784. package/dist/node_modules/rc-util/es/utils/get.mjs +0 -11
  785. package/dist/node_modules/rc-util/es/utils/set.mjs +0 -47
  786. package/dist/node_modules/rc-util/es/warning.mjs +0 -44
  787. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.mjs +0 -103
  788. package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.mjs +0 -82
  789. package/dist/node_modules/rc-util/node_modules/react-is/index.mjs +0 -8
  790. package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs +0 -616
  791. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +0 -32
  792. package/dist/node_modules/react/jsx-runtime.mjs +0 -8
  793. package/dist/node_modules/react-device-detect/dist/lib.mjs +0 -721
  794. package/dist/node_modules/react-dom/client.mjs +0 -26
  795. package/dist/node_modules/react-draggable/build/cjs/Draggable.mjs +0 -343
  796. package/dist/node_modules/react-draggable/build/cjs/DraggableCore.mjs +0 -324
  797. package/dist/node_modules/react-draggable/build/cjs/cjs.mjs +0 -14
  798. package/dist/node_modules/react-draggable/build/cjs/utils/domFns.mjs +0 -174
  799. package/dist/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +0 -35
  800. package/dist/node_modules/react-draggable/build/cjs/utils/log.mjs +0 -7
  801. package/dist/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +0 -107
  802. package/dist/node_modules/react-draggable/build/cjs/utils/shims.mjs +0 -30
  803. package/dist/node_modules/react-draggable/node_modules/clsx/dist/clsx.m.mjs +0 -22
  804. package/dist/node_modules/react-easy-crop/index.module.mjs +0 -543
  805. package/dist/node_modules/react-i18next/dist/es/context.mjs +0 -19
  806. package/dist/node_modules/react-i18next/dist/es/defaults.mjs +0 -17
  807. package/dist/node_modules/react-i18next/dist/es/i18nInstance.mjs +0 -7
  808. package/dist/node_modules/react-i18next/dist/es/unescape.mjs +0 -25
  809. package/dist/node_modules/react-i18next/dist/es/useTranslation.mjs +0 -74
  810. package/dist/node_modules/react-i18next/dist/es/utils.mjs +0 -61
  811. package/dist/node_modules/react-intersection-observer/dist/index.mjs +0 -123
  812. package/dist/node_modules/react-is/cjs/react-is.development.mjs +0 -95
  813. package/dist/node_modules/react-is/cjs/react-is.production.min.mjs +0 -79
  814. package/dist/node_modules/react-is/index.mjs +0 -10
  815. package/dist/node_modules/react-resizable/build/Resizable.mjs +0 -201
  816. package/dist/node_modules/react-resizable/build/ResizableBox.mjs +0 -162
  817. package/dist/node_modules/react-resizable/build/propTypes.mjs +0 -118
  818. package/dist/node_modules/react-resizable/build/utils.mjs +0 -54
  819. package/dist/node_modules/react-resizable/index.mjs +0 -13
  820. package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.mjs +0 -290
  821. package/dist/node_modules/screenfull/index.mjs +0 -122
  822. package/dist/node_modules/stylis/src/Enum.mjs +0 -12
  823. package/dist/node_modules/stylis/src/Middleware.mjs +0 -18
  824. package/dist/node_modules/stylis/src/Parser.mjs +0 -114
  825. package/dist/node_modules/stylis/src/Serializer.mjs +0 -28
  826. package/dist/node_modules/stylis/src/Tokenizer.mjs +0 -131
  827. package/dist/node_modules/stylis/src/Utility.mjs +0 -50
  828. package/dist/node_modules/throttle-debounce/esm/index.mjs +0 -35
  829. package/dist/node_modules/toggle-selection/index.mjs +0 -25
  830. package/dist/node_modules/tslib/tslib.es6.mjs +0 -97
  831. package/dist/node_modules/ua-parser-js/dist/ua-parser.min.mjs +0 -86
  832. package/dist/node_modules/use-immer/dist/use-immer.module.mjs +0 -13
  833. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -61
  834. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +0 -60
  835. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -85
  836. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +0 -50
  837. package/dist/node_modules/use-sync-external-store/shim/index.mjs +0 -10
  838. package/dist/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -10
  839. package/dist/node_modules/zustand/esm/index.mjs +0 -24
  840. package/dist/node_modules/zustand/esm/vanilla.mjs +0 -16
  841. package/dist/utils/WithFluent.mjs +0 -58
  842. package/dist/utils/create.mjs +0 -14
  843. package/dist/utils/findNode.mjs +0 -18
  844. package/dist/utils/get-default-props.mjs +0 -14
  845. package/dist/utils/scroll.mjs +0 -15
  846. package/dist/utils/select-query.mjs +0 -29
  847. package/dist/utils/time.mjs +0 -18
  848. package/dist/utils/uuid.mjs +0 -21
@@ -1,1377 +0,0 @@
1
- /*!
2
- * better-scroll / core
3
- * (c) 2016-2023 ustbhuangyi
4
- * Released under the MIT License.
5
- */
6
- /*! *****************************************************************************
7
- Copyright (c) Microsoft Corporation.
8
-
9
- Permission to use, copy, modify, and/or distribute this software for any
10
- purpose with or without fee is hereby granted.
11
-
12
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
13
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
14
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
15
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
16
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
- PERFORMANCE OF THIS SOFTWARE.
19
- ***************************************************************************** */
20
- var z = function(o, t) {
21
- return z = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, r) {
22
- e.__proto__ = r;
23
- } || function(e, r) {
24
- for (var i in r)
25
- Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
26
- }, z(o, t);
27
- };
28
- function O(o, t) {
29
- z(o, t);
30
- function e() {
31
- this.constructor = o;
32
- }
33
- o.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
34
- }
35
- var E = function() {
36
- return E = Object.assign || function(t) {
37
- for (var e, r = 1, i = arguments.length; r < i; r++) {
38
- e = arguments[r];
39
- for (var n in e)
40
- Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
41
- }
42
- return t;
43
- }, E.apply(this, arguments);
44
- };
45
- function et() {
46
- for (var o = 0, t = 0, e = arguments.length; t < e; t++)
47
- o += arguments[t].length;
48
- for (var r = Array(o), i = 0, t = 0; t < e; t++)
49
- for (var n = arguments[t], s = 0, a = n.length; s < a; s++, i++)
50
- r[i] = n[s];
51
- return r;
52
- }
53
- var ut = [
54
- {
55
- sourceKey: "scroller.scrollBehaviorX.currentPos",
56
- key: "x"
57
- },
58
- {
59
- sourceKey: "scroller.scrollBehaviorY.currentPos",
60
- key: "y"
61
- },
62
- {
63
- sourceKey: "scroller.scrollBehaviorX.hasScroll",
64
- key: "hasHorizontalScroll"
65
- },
66
- {
67
- sourceKey: "scroller.scrollBehaviorY.hasScroll",
68
- key: "hasVerticalScroll"
69
- },
70
- {
71
- sourceKey: "scroller.scrollBehaviorX.contentSize",
72
- key: "scrollerWidth"
73
- },
74
- {
75
- sourceKey: "scroller.scrollBehaviorY.contentSize",
76
- key: "scrollerHeight"
77
- },
78
- {
79
- sourceKey: "scroller.scrollBehaviorX.maxScrollPos",
80
- key: "maxScrollX"
81
- },
82
- {
83
- sourceKey: "scroller.scrollBehaviorY.maxScrollPos",
84
- key: "maxScrollY"
85
- },
86
- {
87
- sourceKey: "scroller.scrollBehaviorX.minScrollPos",
88
- key: "minScrollX"
89
- },
90
- {
91
- sourceKey: "scroller.scrollBehaviorY.minScrollPos",
92
- key: "minScrollY"
93
- },
94
- {
95
- sourceKey: "scroller.scrollBehaviorX.movingDirection",
96
- key: "movingDirectionX"
97
- },
98
- {
99
- sourceKey: "scroller.scrollBehaviorY.movingDirection",
100
- key: "movingDirectionY"
101
- },
102
- {
103
- sourceKey: "scroller.scrollBehaviorX.direction",
104
- key: "directionX"
105
- },
106
- {
107
- sourceKey: "scroller.scrollBehaviorY.direction",
108
- key: "directionY"
109
- },
110
- {
111
- sourceKey: "scroller.actions.enabled",
112
- key: "enabled"
113
- },
114
- {
115
- sourceKey: "scroller.animater.pending",
116
- key: "pending"
117
- },
118
- {
119
- sourceKey: "scroller.animater.stop",
120
- key: "stop"
121
- },
122
- {
123
- sourceKey: "scroller.scrollTo",
124
- key: "scrollTo"
125
- },
126
- {
127
- sourceKey: "scroller.scrollBy",
128
- key: "scrollBy"
129
- },
130
- {
131
- sourceKey: "scroller.scrollToElement",
132
- key: "scrollToElement"
133
- },
134
- {
135
- sourceKey: "scroller.resetPosition",
136
- key: "resetPosition"
137
- }
138
- ];
139
- function M(o) {
140
- console.error("[BScroll warn]: " + o);
141
- }
142
- var v = typeof window < "u", w = v && navigator.userAgent.toLowerCase(), pt = !!(w && /wechatdevtools/.test(w)), ft = w && w.indexOf("android") > 0, vt = function() {
143
- if (typeof w == "string") {
144
- var o = /os (\d\d?_\d(_\d)?)/, t = o.exec(w);
145
- if (!t)
146
- return !1;
147
- var e = t[1].split("_").map(function(r) {
148
- return parseInt(r, 10);
149
- });
150
- return e[0] === 13 && e[1] >= 4;
151
- }
152
- return !1;
153
- }(), ot = !1;
154
- if (v) {
155
- var dt = "test-passive";
156
- try {
157
- var U = {};
158
- Object.defineProperty(U, "passive", {
159
- get: function() {
160
- ot = !0;
161
- }
162
- }), window.addEventListener(dt, function() {
163
- }, U);
164
- } catch {
165
- }
166
- }
167
- function b() {
168
- return window.performance && window.performance.now && window.performance.timing ? window.performance.now() + window.performance.timing.navigationStart : +/* @__PURE__ */ new Date();
169
- }
170
- var K = function(o, t) {
171
- for (var e in t)
172
- o[e] = t[e];
173
- return o;
174
- };
175
- function R(o) {
176
- return o == null;
177
- }
178
- function V(o, t, e) {
179
- return o < t ? t : o > e ? e : o;
180
- }
181
- var W = v && document.createElement("div").style, P = function() {
182
- if (!v)
183
- return !1;
184
- for (var o = [
185
- {
186
- key: "standard",
187
- value: "transform"
188
- },
189
- {
190
- key: "webkit",
191
- value: "webkitTransform"
192
- },
193
- {
194
- key: "Moz",
195
- value: "MozTransform"
196
- },
197
- {
198
- key: "O",
199
- value: "OTransform"
200
- },
201
- {
202
- key: "ms",
203
- value: "msTransform"
204
- }
205
- ], t = 0, e = o; t < e.length; t++) {
206
- var r = e[t];
207
- if (W[r.value] !== void 0)
208
- return r.key;
209
- }
210
- return !1;
211
- }();
212
- function d(o) {
213
- return P === !1 ? o : P === "standard" ? o === "transitionEnd" ? "transitionend" : o : P + o.charAt(0).toUpperCase() + o.substr(1);
214
- }
215
- function rt(o) {
216
- return typeof o == "string" ? document.querySelector(o) : o;
217
- }
218
- function yt(o, t, e, r) {
219
- var i = ot ? {
220
- passive: !1,
221
- capture: !!r
222
- } : !!r;
223
- o.addEventListener(t, e, i);
224
- }
225
- function mt(o, t, e, r) {
226
- o.removeEventListener(t, e, {
227
- capture: !!r
228
- });
229
- }
230
- function it(o) {
231
- o.cancelable && o.preventDefault();
232
- }
233
- function j(o) {
234
- for (var t = 0, e = 0; o; )
235
- t -= o.offsetLeft, e -= o.offsetTop, o = o.offsetParent;
236
- return {
237
- left: t,
238
- top: e
239
- };
240
- }
241
- P && P !== "standard" && "" + P.toLowerCase();
242
- var gt = d("transform"), nt = d("transition"), kt = v && d("perspective") in W, q = v && ("ontouchstart" in window || pt), Tt = v && nt in W, T = {
243
- transform: gt,
244
- transition: nt,
245
- transitionTimingFunction: d("transitionTimingFunction"),
246
- transitionDuration: d("transitionDuration"),
247
- transitionDelay: d("transitionDelay"),
248
- transformOrigin: d("transformOrigin"),
249
- transitionEnd: d("transitionEnd"),
250
- transitionProperty: d("transitionProperty")
251
- }, F = {
252
- touchstart: 1,
253
- touchmove: 1,
254
- touchend: 1,
255
- touchcancel: 1,
256
- mousedown: 2,
257
- mousemove: 2,
258
- mouseup: 2
259
- };
260
- function Z(o) {
261
- if (o instanceof window.SVGElement) {
262
- var t = o.getBoundingClientRect();
263
- return {
264
- top: t.top,
265
- left: t.left,
266
- width: t.width,
267
- height: t.height
268
- };
269
- } else
270
- return {
271
- top: o.offsetTop,
272
- left: o.offsetLeft,
273
- width: o.offsetWidth,
274
- height: o.offsetHeight
275
- };
276
- }
277
- function B(o, t) {
278
- for (var e in t)
279
- if (t[e].test(o[e]))
280
- return !0;
281
- return !1;
282
- }
283
- var bt = B;
284
- function St(o, t) {
285
- var e = document.createEvent("Event");
286
- e.initEvent(t, !0, !0), e.pageX = o.pageX, e.pageY = o.pageY, o.target.dispatchEvent(e);
287
- }
288
- function st(o, t) {
289
- t === void 0 && (t = "click");
290
- var e;
291
- o.type === "mouseup" ? e = o : (o.type === "touchend" || o.type === "touchcancel") && (e = o.changedTouches[0]);
292
- var r = {};
293
- e && (r.screenX = e.screenX || 0, r.screenY = e.screenY || 0, r.clientX = e.clientX || 0, r.clientY = e.clientY || 0);
294
- var i, n = !0, s = !0, a = o.ctrlKey, c = o.shiftKey, h = o.altKey, l = o.metaKey, u = {
295
- ctrlKey: a,
296
- shiftKey: c,
297
- altKey: h,
298
- metaKey: l
299
- };
300
- if (typeof MouseEvent < "u")
301
- try {
302
- i = new MouseEvent(t, K(E({
303
- bubbles: n,
304
- cancelable: s
305
- }, u), r));
306
- } catch {
307
- p();
308
- }
309
- else
310
- p();
311
- function p() {
312
- i = document.createEvent("Event"), i.initEvent(t, n, s), K(i, r);
313
- }
314
- i.forwardedTouchEvent = !0, i._constructed = !0, o.target.dispatchEvent(i);
315
- }
316
- function Pt(o) {
317
- st(o, "dblclick");
318
- }
319
- var k = {
320
- // easeOutQuint
321
- swipe: {
322
- style: "cubic-bezier(0.23, 1, 0.32, 1)",
323
- fn: function(o) {
324
- return 1 + --o * o * o * o * o;
325
- }
326
- },
327
- // easeOutQuard
328
- swipeBounce: {
329
- style: "cubic-bezier(0.25, 0.46, 0.45, 0.94)",
330
- fn: function(o) {
331
- return o * (2 - o);
332
- }
333
- },
334
- // easeOutQuart
335
- bounce: {
336
- style: "cubic-bezier(0.165, 0.84, 0.44, 1)",
337
- fn: function(o) {
338
- return 1 - --o * o * o * o;
339
- }
340
- }
341
- }, wt = 1e3 / 60, m = v && window;
342
- function at() {
343
- }
344
- var ht = function() {
345
- return v ? m.requestAnimationFrame || m.webkitRequestAnimationFrame || m.mozRequestAnimationFrame || m.oRequestAnimationFrame || // if all else fails, use setTimeout
346
- function(o) {
347
- return window.setTimeout(o, o.interval || wt);
348
- } : at;
349
- }(), S = function() {
350
- return v ? m.cancelAnimationFrame || m.webkitCancelAnimationFrame || m.mozCancelAnimationFrame || m.oCancelAnimationFrame || function(o) {
351
- window.clearTimeout(o);
352
- } : at;
353
- }(), G = function(o) {
354
- }, H = {
355
- enumerable: !0,
356
- configurable: !0,
357
- get: G,
358
- set: G
359
- }, Et = function(o, t) {
360
- for (var e = t.split("."), r = 0; r < e.length - 1; r++)
361
- if (o = o[e[r]], typeof o != "object" || !o)
362
- return;
363
- var i = e.pop();
364
- return typeof o[i] == "function" ? function() {
365
- return o[i].apply(o, arguments);
366
- } : o[i];
367
- }, Bt = function(o, t, e) {
368
- for (var r = t.split("."), i, n = 0; n < r.length - 1; n++)
369
- i = r[n], o[i] || (o[i] = {}), o = o[i];
370
- o[r.pop()] = e;
371
- };
372
- function Ct(o, t, e) {
373
- H.get = function() {
374
- return Et(this, t);
375
- }, H.set = function(i) {
376
- Bt(this, t, i);
377
- }, Object.defineProperty(o, e, H);
378
- }
379
- var g = (
380
- /** @class */
381
- function() {
382
- function o(t) {
383
- this.events = {}, this.eventTypes = {}, this.registerType(t);
384
- }
385
- return o.prototype.on = function(t, e, r) {
386
- return r === void 0 && (r = this), this.hasType(t), this.events[t] || (this.events[t] = []), this.events[t].push([e, r]), this;
387
- }, o.prototype.once = function(t, e, r) {
388
- var i = this;
389
- r === void 0 && (r = this), this.hasType(t);
390
- var n = function() {
391
- for (var s = [], a = 0; a < arguments.length; a++)
392
- s[a] = arguments[a];
393
- i.off(t, n);
394
- var c = e.apply(r, s);
395
- if (c === !0)
396
- return c;
397
- };
398
- return n.fn = e, this.on(t, n), this;
399
- }, o.prototype.off = function(t, e) {
400
- if (!t && !e)
401
- return this.events = {}, this;
402
- if (t) {
403
- if (this.hasType(t), !e)
404
- return this.events[t] = [], this;
405
- var r = this.events[t];
406
- if (!r)
407
- return this;
408
- for (var i = r.length; i--; )
409
- (r[i][0] === e || r[i][0] && r[i][0].fn === e) && r.splice(i, 1);
410
- return this;
411
- }
412
- }, o.prototype.trigger = function(t) {
413
- for (var e = [], r = 1; r < arguments.length; r++)
414
- e[r - 1] = arguments[r];
415
- this.hasType(t);
416
- var i = this.events[t];
417
- if (i)
418
- for (var n = i.length, s = et(i), a, c = 0; c < n; c++) {
419
- var h = s[c], l = h[0], u = h[1];
420
- if (l && (a = l.apply(u, e), a === !0))
421
- return a;
422
- }
423
- }, o.prototype.registerType = function(t) {
424
- var e = this;
425
- t.forEach(function(r) {
426
- e.eventTypes[r] = r;
427
- });
428
- }, o.prototype.destroy = function() {
429
- this.events = {}, this.eventTypes = {};
430
- }, o.prototype.hasType = function(t) {
431
- var e = this.eventTypes, r = e[t] === t;
432
- r || M('EventEmitter has used unknown event type: "' + t + '", should be oneof [' + ("" + Object.keys(e).map(function(i) {
433
- return JSON.stringify(i);
434
- })) + "]");
435
- }, o;
436
- }()
437
- ), Y = (
438
- /** @class */
439
- function() {
440
- function o(t, e) {
441
- this.wrapper = t, this.events = e, this.addDOMEvents();
442
- }
443
- return o.prototype.destroy = function() {
444
- this.removeDOMEvents(), this.events = [];
445
- }, o.prototype.addDOMEvents = function() {
446
- this.handleDOMEvents(yt);
447
- }, o.prototype.removeDOMEvents = function() {
448
- this.handleDOMEvents(mt);
449
- }, o.prototype.handleDOMEvents = function(t) {
450
- var e = this, r = this.wrapper;
451
- this.events.forEach(function(i) {
452
- t(r, i.name, e, !!i.capture);
453
- });
454
- }, o.prototype.handleEvent = function(t) {
455
- var e = t.type;
456
- this.events.some(function(r) {
457
- return r.name === e ? (r.handler(t), !0) : !1;
458
- });
459
- }, o;
460
- }()
461
- ), Dt = (
462
- /** @class */
463
- function() {
464
- function o() {
465
- }
466
- return o;
467
- }()
468
- ), xt = (
469
- /** @class */
470
- function(o) {
471
- O(t, o);
472
- function t() {
473
- var e = o.call(this) || this;
474
- return e.startX = 0, e.startY = 0, e.scrollX = !1, e.scrollY = !0, e.freeScroll = !1, e.directionLockThreshold = 0, e.eventPassthrough = "", e.click = !1, e.dblclick = !1, e.tap = "", e.bounce = {
475
- top: !0,
476
- bottom: !0,
477
- left: !0,
478
- right: !0
479
- }, e.bounceTime = 800, e.momentum = !0, e.momentumLimitTime = 300, e.momentumLimitDistance = 15, e.swipeTime = 2500, e.swipeBounceTime = 500, e.deceleration = 15e-4, e.flickLimitTime = 200, e.flickLimitDistance = 100, e.resizePolling = 60, e.probeType = 0, e.stopPropagation = !1, e.preventDefault = !0, e.preventDefaultException = {
480
- tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT|AUDIO)$/
481
- }, e.tagException = {
482
- tagName: /^TEXTAREA$/
483
- }, e.HWCompositing = !0, e.useTransition = !0, e.bindToWrapper = !1, e.bindToTarget = !1, e.disableMouse = q, e.disableTouch = !q, e.autoBlur = !0, e.autoEndDistance = 5, e.outOfBoundaryDampingFactor = 1 / 3, e.specifiedIndexAsContent = 0, e.quadrant = 1, e;
484
- }
485
- return t.prototype.merge = function(e) {
486
- if (!e)
487
- return this;
488
- for (var r in e) {
489
- if (r === "bounce") {
490
- this.bounce = this.resolveBounce(e[r]);
491
- continue;
492
- }
493
- this[r] = e[r];
494
- }
495
- return this;
496
- }, t.prototype.process = function() {
497
- return this.translateZ = this.HWCompositing && kt ? " translateZ(1px)" : "", this.useTransition = this.useTransition && Tt, this.preventDefault = !this.eventPassthrough && this.preventDefault, this.scrollX = this.eventPassthrough === "horizontal" ? !1 : this.scrollX, this.scrollY = this.eventPassthrough === "vertical" ? !1 : this.scrollY, this.freeScroll = this.freeScroll && !this.eventPassthrough, this.scrollX = this.freeScroll ? !0 : this.scrollX, this.scrollY = this.freeScroll ? !0 : this.scrollY, this.directionLockThreshold = this.eventPassthrough ? 0 : this.directionLockThreshold, this;
498
- }, t.prototype.resolveBounce = function(e) {
499
- var r = {
500
- top: !0,
501
- right: !0,
502
- bottom: !0,
503
- left: !0
504
- }, i = {
505
- top: !1,
506
- right: !1,
507
- bottom: !1,
508
- left: !1
509
- }, n;
510
- return typeof e == "object" ? n = K(r, e) : n = e ? r : i, n;
511
- }, t;
512
- }(Dt)
513
- ), Xt = (
514
- /** @class */
515
- function() {
516
- function o(t, e) {
517
- this.wrapper = t, this.options = e, this.hooks = new g([
518
- "beforeStart",
519
- "start",
520
- "move",
521
- "end",
522
- "click"
523
- ]), this.handleDOMEvents();
524
- }
525
- return o.prototype.handleDOMEvents = function() {
526
- var t = this.options, e = t.bindToWrapper, r = t.disableMouse, i = t.disableTouch, n = t.click, s = this.wrapper, a = e ? s : window, c = [], h = [], l = !i, u = !r;
527
- n && c.push({
528
- name: "click",
529
- handler: this.click.bind(this),
530
- capture: !0
531
- }), l && (c.push({
532
- name: "touchstart",
533
- handler: this.start.bind(this)
534
- }), h.push({
535
- name: "touchmove",
536
- handler: this.move.bind(this)
537
- }, {
538
- name: "touchend",
539
- handler: this.end.bind(this)
540
- }, {
541
- name: "touchcancel",
542
- handler: this.end.bind(this)
543
- })), u && (c.push({
544
- name: "mousedown",
545
- handler: this.start.bind(this)
546
- }), h.push({
547
- name: "mousemove",
548
- handler: this.move.bind(this)
549
- }, {
550
- name: "mouseup",
551
- handler: this.end.bind(this)
552
- })), this.wrapperEventRegister = new Y(s, c), this.targetEventRegister = new Y(a, h);
553
- }, o.prototype.beforeHandler = function(t, e) {
554
- var r = this.options, i = r.preventDefault, n = r.stopPropagation, s = r.preventDefaultException, a = {
555
- start: function() {
556
- return i && !B(t.target, s);
557
- },
558
- end: function() {
559
- return i && !B(t.target, s);
560
- },
561
- move: function() {
562
- return i;
563
- }
564
- };
565
- a[e]() && t.preventDefault(), n && t.stopPropagation();
566
- }, o.prototype.setInitiated = function(t) {
567
- t === void 0 && (t = 0), this.initiated = t;
568
- }, o.prototype.start = function(t) {
569
- var e = F[t.type];
570
- if (!(this.initiated && this.initiated !== e)) {
571
- if (this.setInitiated(e), bt(t.target, this.options.tagException)) {
572
- this.setInitiated();
573
- return;
574
- }
575
- if (!(e === 2 && t.button !== 0) && !this.hooks.trigger(this.hooks.eventTypes.beforeStart, t)) {
576
- this.beforeHandler(t, "start");
577
- var r = t.touches ? t.touches[0] : t;
578
- this.pointX = r.pageX, this.pointY = r.pageY, this.hooks.trigger(this.hooks.eventTypes.start, t);
579
- }
580
- }
581
- }, o.prototype.move = function(t) {
582
- if (F[t.type] === this.initiated) {
583
- this.beforeHandler(t, "move");
584
- var e = t.touches ? t.touches[0] : t, r = e.pageX - this.pointX, i = e.pageY - this.pointY;
585
- if (this.pointX = e.pageX, this.pointY = e.pageY, !this.hooks.trigger(this.hooks.eventTypes.move, {
586
- deltaX: r,
587
- deltaY: i,
588
- e: t
589
- })) {
590
- var n = document.documentElement.scrollLeft || window.pageXOffset || document.body.scrollLeft, s = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop, a = this.pointX - n, c = this.pointY - s, h = this.options.autoEndDistance;
591
- (a > document.documentElement.clientWidth - h || c > document.documentElement.clientHeight - h || a < h || c < h) && this.end(t);
592
- }
593
- }
594
- }, o.prototype.end = function(t) {
595
- F[t.type] === this.initiated && (this.setInitiated(), this.beforeHandler(t, "end"), this.hooks.trigger(this.hooks.eventTypes.end, t));
596
- }, o.prototype.click = function(t) {
597
- this.hooks.trigger(this.hooks.eventTypes.click, t);
598
- }, o.prototype.setContent = function(t) {
599
- t !== this.wrapper && (this.wrapper = t, this.rebindDOMEvents());
600
- }, o.prototype.rebindDOMEvents = function() {
601
- this.wrapperEventRegister.destroy(), this.targetEventRegister.destroy(), this.handleDOMEvents();
602
- }, o.prototype.destroy = function() {
603
- this.wrapperEventRegister.destroy(), this.targetEventRegister.destroy(), this.hooks.destroy();
604
- }, o;
605
- }()
606
- ), _ = {
607
- x: ["translateX", "px"],
608
- y: ["translateY", "px"]
609
- }, Mt = (
610
- /** @class */
611
- function() {
612
- function o(t) {
613
- this.setContent(t), this.hooks = new g(["beforeTranslate", "translate"]);
614
- }
615
- return o.prototype.getComputedPosition = function() {
616
- var t = window.getComputedStyle(this.content, null), e = t[T.transform].split(")")[0].split(", "), r = +(e[12] || e[4]) || 0, i = +(e[13] || e[5]) || 0;
617
- return {
618
- x: r,
619
- y: i
620
- };
621
- }, o.prototype.translate = function(t) {
622
- var e = [];
623
- Object.keys(t).forEach(function(r) {
624
- if (_[r]) {
625
- var i = _[r][0];
626
- if (i) {
627
- var n = _[r][1], s = t[r];
628
- e.push(i + "(" + s + n + ")");
629
- }
630
- }
631
- }), this.hooks.trigger(this.hooks.eventTypes.beforeTranslate, e, t), this.style[T.transform] = e.join(" "), this.hooks.trigger(this.hooks.eventTypes.translate, t);
632
- }, o.prototype.setContent = function(t) {
633
- this.content !== t && (this.content = t, this.style = t.style);
634
- }, o.prototype.destroy = function() {
635
- this.hooks.destroy();
636
- }, o;
637
- }()
638
- ), ct = (
639
- /** @class */
640
- function() {
641
- function o(t, e, r) {
642
- this.translater = e, this.options = r, this.timer = 0, this.hooks = new g([
643
- "move",
644
- "end",
645
- "beforeForceStop",
646
- "forceStop",
647
- "callStop",
648
- "time",
649
- "timeFunction"
650
- ]), this.setContent(t);
651
- }
652
- return o.prototype.translate = function(t) {
653
- this.translater.translate(t);
654
- }, o.prototype.setPending = function(t) {
655
- this.pending = t;
656
- }, o.prototype.setForceStopped = function(t) {
657
- this.forceStopped = t;
658
- }, o.prototype.setCallStop = function(t) {
659
- this.callStopWhenPending = t;
660
- }, o.prototype.setContent = function(t) {
661
- this.content !== t && (this.content = t, this.style = t.style, this.stop());
662
- }, o.prototype.clearTimer = function() {
663
- this.timer && (S(this.timer), this.timer = 0);
664
- }, o.prototype.destroy = function() {
665
- this.hooks.destroy(), S(this.timer);
666
- }, o;
667
- }()
668
- ), Yt = function(o, t, e, r) {
669
- var i = function(h, l) {
670
- var u = h - l, p = u > 0 ? -1 : u < 0 ? 1 : 0;
671
- return p;
672
- }, n = i(t.x, o.x), s = i(t.y, o.y), a = e.x - r.x, c = e.y - r.y;
673
- return n * a <= 0 && s * c <= 0;
674
- }, Ot = (
675
- /** @class */
676
- function(o) {
677
- O(t, o);
678
- function t() {
679
- return o !== null && o.apply(this, arguments) || this;
680
- }
681
- return t.prototype.startProbe = function(e, r) {
682
- var i = this, n = e, s = function() {
683
- var a = i.translater.getComputedPosition();
684
- Yt(e, r, a, n) && i.hooks.trigger(i.hooks.eventTypes.move, a), i.pending || (i.callStopWhenPending ? i.callStopWhenPending = !1 : i.hooks.trigger(i.hooks.eventTypes.end, a)), n = a, i.pending && (i.timer = ht(s));
685
- };
686
- this.callStopWhenPending && this.setCallStop(!1), S(this.timer), s();
687
- }, t.prototype.transitionTime = function(e) {
688
- e === void 0 && (e = 0), this.style[T.transitionDuration] = e + "ms", this.hooks.trigger(this.hooks.eventTypes.time, e);
689
- }, t.prototype.transitionTimingFunction = function(e) {
690
- this.style[T.transitionTimingFunction] = e, this.hooks.trigger(this.hooks.eventTypes.timeFunction, e);
691
- }, t.prototype.transitionProperty = function() {
692
- this.style[T.transitionProperty] = T.transform;
693
- }, t.prototype.move = function(e, r, i, n) {
694
- this.setPending(i > 0), this.transitionTimingFunction(n), this.transitionProperty(), this.transitionTime(i), this.translate(r);
695
- var s = this.options.probeType === 3;
696
- i && s && this.startProbe(e, r), i || (this._reflow = this.content.offsetHeight, s && this.hooks.trigger(this.hooks.eventTypes.move, r), this.hooks.trigger(this.hooks.eventTypes.end, r));
697
- }, t.prototype.doStop = function() {
698
- var e = this.pending;
699
- if (this.setForceStopped(!1), this.setCallStop(!1), e) {
700
- this.setPending(!1), S(this.timer);
701
- var r = this.translater.getComputedPosition(), i = r.x, n = r.y;
702
- this.transitionTime(), this.translate({ x: i, y: n }), this.setForceStopped(!0), this.setCallStop(!0), this.hooks.trigger(this.hooks.eventTypes.forceStop, { x: i, y: n });
703
- }
704
- return e;
705
- }, t.prototype.stop = function() {
706
- var e = this.doStop();
707
- e && this.hooks.trigger(this.hooks.eventTypes.callStop);
708
- }, t;
709
- }(ct)
710
- ), At = (
711
- /** @class */
712
- function(o) {
713
- O(t, o);
714
- function t() {
715
- return o !== null && o.apply(this, arguments) || this;
716
- }
717
- return t.prototype.move = function(e, r, i, n) {
718
- if (!i) {
719
- this.translate(r), this.options.probeType === 3 && this.hooks.trigger(this.hooks.eventTypes.move, r), this.hooks.trigger(this.hooks.eventTypes.end, r);
720
- return;
721
- }
722
- this.animate(e, r, i, n);
723
- }, t.prototype.animate = function(e, r, i, n) {
724
- var s = this, a = b(), c = a + i, h = this.options.probeType === 3, l = function() {
725
- var u = b();
726
- if (u >= c) {
727
- s.translate(r), h && s.hooks.trigger(s.hooks.eventTypes.move, r), s.hooks.trigger(s.hooks.eventTypes.end, r);
728
- return;
729
- }
730
- u = (u - a) / i;
731
- var p = n(u), y = {};
732
- Object.keys(r).forEach(function(f) {
733
- var N = e[f], lt = r[f];
734
- y[f] = (lt - N) * p + N;
735
- }), s.translate(y), h && s.hooks.trigger(s.hooks.eventTypes.move, y), s.pending && (s.timer = ht(l)), s.pending || (s.callStopWhenPending ? s.callStopWhenPending = !1 : s.hooks.trigger(s.hooks.eventTypes.end, r));
736
- };
737
- this.setPending(!0), this.callStopWhenPending && this.setCallStop(!1), S(this.timer), l();
738
- }, t.prototype.doStop = function() {
739
- var e = this.pending;
740
- if (this.setForceStopped(!1), this.setCallStop(!1), e) {
741
- this.setPending(!1), S(this.timer);
742
- var r = this.translater.getComputedPosition();
743
- this.setForceStopped(!0), this.setCallStop(!0), this.hooks.trigger(this.hooks.eventTypes.forceStop, r);
744
- }
745
- return e;
746
- }, t.prototype.stop = function() {
747
- var e = this.doStop();
748
- e && this.hooks.trigger(this.hooks.eventTypes.callStop);
749
- }, t;
750
- }(ct)
751
- );
752
- function Lt(o, t, e) {
753
- var r = e.useTransition, i = {};
754
- return Object.defineProperty(i, "probeType", {
755
- enumerable: !0,
756
- configurable: !1,
757
- get: function() {
758
- return e.probeType;
759
- }
760
- }), r ? new Ot(o, t, i) : new At(o, t, i);
761
- }
762
- var $ = (
763
- /** @class */
764
- function() {
765
- function o(t, e, r) {
766
- this.wrapper = t, this.options = r, this.hooks = new g([
767
- "beforeComputeBoundary",
768
- "computeBoundary",
769
- "momentum",
770
- "end",
771
- "ignoreHasScroll"
772
- ]), this.refresh(e);
773
- }
774
- return o.prototype.start = function() {
775
- this.dist = 0, this.setMovingDirection(
776
- 0
777
- /* Default */
778
- ), this.setDirection(
779
- 0
780
- /* Default */
781
- );
782
- }, o.prototype.move = function(t) {
783
- return t = this.hasScroll ? t : 0, this.setMovingDirection(t), this.performDampingAlgorithm(t, this.options.outOfBoundaryDampingFactor);
784
- }, o.prototype.setMovingDirection = function(t) {
785
- this.movingDirection = t > 0 ? -1 : t < 0 ? 1 : 0;
786
- }, o.prototype.setDirection = function(t) {
787
- this.direction = t > 0 ? -1 : t < 0 ? 1 : 0;
788
- }, o.prototype.performDampingAlgorithm = function(t, e) {
789
- var r = this.currentPos + t;
790
- return (r > this.minScrollPos || r < this.maxScrollPos) && (r > this.minScrollPos && this.options.bounces[0] || r < this.maxScrollPos && this.options.bounces[1] ? r = this.currentPos + t * e : r = r > this.minScrollPos ? this.minScrollPos : this.maxScrollPos), r;
791
- }, o.prototype.end = function(t) {
792
- var e = {
793
- duration: 0
794
- }, r = Math.abs(this.currentPos - this.startPos);
795
- if (this.options.momentum && t < this.options.momentumLimitTime && r > this.options.momentumLimitDistance) {
796
- var i = this.direction === -1 && this.options.bounces[0] || this.direction === 1 && this.options.bounces[1] ? this.wrapperSize : 0;
797
- e = this.hasScroll ? this.momentum(this.currentPos, this.startPos, t, this.maxScrollPos, this.minScrollPos, i, this.options) : { destination: this.currentPos, duration: 0 };
798
- } else
799
- this.hooks.trigger(this.hooks.eventTypes.end, e);
800
- return e;
801
- }, o.prototype.momentum = function(t, e, r, i, n, s, a) {
802
- a === void 0 && (a = this.options);
803
- var c = t - e, h = Math.abs(c) / r, l = a.deceleration, u = a.swipeBounceTime, p = a.swipeTime, y = Math.min(p, h * 2 / l), f = {
804
- destination: t + h * h / l * (c < 0 ? -1 : 1),
805
- duration: y,
806
- rate: 15
807
- };
808
- return this.hooks.trigger(this.hooks.eventTypes.momentum, f, c), f.destination < i ? (f.destination = s ? Math.max(i - s / 4, i - s / f.rate * h) : i, f.duration = u) : f.destination > n && (f.destination = s ? Math.min(n + s / 4, n + s / f.rate * h) : n, f.duration = u), f.destination = Math.round(f.destination), f;
809
- }, o.prototype.updateDirection = function() {
810
- var t = this.currentPos - this.absStartPos;
811
- this.setDirection(t);
812
- }, o.prototype.refresh = function(t) {
813
- var e = this.options.rect, r = e.size, i = e.position, n = window.getComputedStyle(this.wrapper, null).position === "static", s = Z(this.wrapper);
814
- this.wrapperSize = this.wrapper[r === "width" ? "clientWidth" : "clientHeight"], this.setContent(t);
815
- var a = Z(this.content);
816
- this.contentSize = a[r], this.relativeOffset = a[i], n && (this.relativeOffset -= s[i]), this.computeBoundary(), this.setDirection(
817
- 0
818
- /* Default */
819
- );
820
- }, o.prototype.setContent = function(t) {
821
- t !== this.content && (this.content = t, this.resetState());
822
- }, o.prototype.resetState = function() {
823
- this.currentPos = 0, this.startPos = 0, this.dist = 0, this.setDirection(
824
- 0
825
- /* Default */
826
- ), this.setMovingDirection(
827
- 0
828
- /* Default */
829
- ), this.resetStartPos();
830
- }, o.prototype.computeBoundary = function() {
831
- this.hooks.trigger(this.hooks.eventTypes.beforeComputeBoundary);
832
- var t = {
833
- minScrollPos: 0,
834
- maxScrollPos: this.wrapperSize - this.contentSize
835
- };
836
- t.maxScrollPos < 0 && (t.maxScrollPos -= this.relativeOffset, this.options.specifiedIndexAsContent === 0 && (t.minScrollPos = -this.relativeOffset)), this.hooks.trigger(this.hooks.eventTypes.computeBoundary, t), this.minScrollPos = t.minScrollPos, this.maxScrollPos = t.maxScrollPos, this.hasScroll = this.options.scrollable && this.maxScrollPos < this.minScrollPos, !this.hasScroll && this.minScrollPos < this.maxScrollPos && (this.maxScrollPos = this.minScrollPos, this.contentSize = this.wrapperSize);
837
- }, o.prototype.updatePosition = function(t) {
838
- this.currentPos = t;
839
- }, o.prototype.getCurrentPos = function() {
840
- return this.currentPos;
841
- }, o.prototype.checkInBoundary = function() {
842
- var t = this.adjustPosition(this.currentPos), e = t === this.getCurrentPos();
843
- return {
844
- position: t,
845
- inBoundary: e
846
- };
847
- }, o.prototype.adjustPosition = function(t) {
848
- return !this.hasScroll && !this.hooks.trigger(this.hooks.eventTypes.ignoreHasScroll) ? t = this.minScrollPos : t > this.minScrollPos ? t = this.minScrollPos : t < this.maxScrollPos && (t = this.maxScrollPos), t;
849
- }, o.prototype.updateStartPos = function() {
850
- this.startPos = this.currentPos;
851
- }, o.prototype.updateAbsStartPos = function() {
852
- this.absStartPos = this.currentPos;
853
- }, o.prototype.resetStartPos = function() {
854
- this.updateStartPos(), this.updateAbsStartPos();
855
- }, o.prototype.getAbsDist = function(t) {
856
- return this.dist += t, Math.abs(this.dist);
857
- }, o.prototype.destroy = function() {
858
- this.hooks.destroy();
859
- }, o;
860
- }()
861
- ), C, D, x, X, J = (C = {}, C.yes = function(o) {
862
- return !0;
863
- }, C.no = function(o) {
864
- return it(o), !1;
865
- }, C), Ft = (D = {}, D.horizontal = (x = {}, x.yes = "horizontal", x.no = "vertical", x), D.vertical = (X = {}, X.yes = "vertical", X.no = "horizontal", X), D), Ht = (
866
- /** @class */
867
- function() {
868
- function o(t, e, r) {
869
- this.directionLockThreshold = t, this.freeScroll = e, this.eventPassthrough = r, this.reset();
870
- }
871
- return o.prototype.reset = function() {
872
- this.directionLocked = "";
873
- }, o.prototype.checkMovingDirection = function(t, e, r) {
874
- return this.computeDirectionLock(t, e), this.handleEventPassthrough(r);
875
- }, o.prototype.adjustDelta = function(t, e) {
876
- return this.directionLocked === "horizontal" ? e = 0 : this.directionLocked === "vertical" && (t = 0), {
877
- deltaX: t,
878
- deltaY: e
879
- };
880
- }, o.prototype.computeDirectionLock = function(t, e) {
881
- this.directionLocked === "" && !this.freeScroll && (t > e + this.directionLockThreshold ? this.directionLocked = "horizontal" : e >= t + this.directionLockThreshold ? this.directionLocked = "vertical" : this.directionLocked = "none");
882
- }, o.prototype.handleEventPassthrough = function(t) {
883
- var e = Ft[this.directionLocked];
884
- if (e) {
885
- if (this.eventPassthrough === e.yes)
886
- return J.yes(t);
887
- if (this.eventPassthrough === e.no)
888
- return J.no(t);
889
- }
890
- return !1;
891
- }, o;
892
- }()
893
- ), _t = function(o, t, e) {
894
- return e === 2 ? [t, -o] : e === 3 ? [-o, -t] : e === 4 ? [-t, o] : [o, t];
895
- }, zt = (
896
- /** @class */
897
- function() {
898
- function o(t, e, r, i, n) {
899
- this.hooks = new g([
900
- "start",
901
- "beforeMove",
902
- "scrollStart",
903
- "scroll",
904
- "beforeEnd",
905
- "end",
906
- "scrollEnd",
907
- "contentNotMoved",
908
- "detectMovingDirection",
909
- "coordinateTransformation"
910
- ]), this.scrollBehaviorX = t, this.scrollBehaviorY = e, this.actionsHandler = r, this.animater = i, this.options = n, this.directionLockAction = new Ht(n.directionLockThreshold, n.freeScroll, n.eventPassthrough), this.enabled = !0, this.bindActionsHandler();
911
- }
912
- return o.prototype.bindActionsHandler = function() {
913
- var t = this;
914
- this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.start, function(e) {
915
- return t.enabled ? t.handleStart(e) : !0;
916
- }), this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.move, function(e) {
917
- var r = e.deltaX, i = e.deltaY, n = e.e;
918
- if (!t.enabled)
919
- return !0;
920
- var s = _t(r, i, t.options.quadrant), a = s[0], c = s[1], h = {
921
- deltaX: a,
922
- deltaY: c
923
- };
924
- return t.hooks.trigger(t.hooks.eventTypes.coordinateTransformation, h), t.handleMove(h.deltaX, h.deltaY, n);
925
- }), this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.end, function(e) {
926
- return t.enabled ? t.handleEnd(e) : !0;
927
- }), this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.click, function(e) {
928
- t.enabled && !e._constructed && t.handleClick(e);
929
- });
930
- }, o.prototype.handleStart = function(t) {
931
- var e = b();
932
- this.fingerMoved = !1, this.contentMoved = !1, this.startTime = e, this.directionLockAction.reset(), this.scrollBehaviorX.start(), this.scrollBehaviorY.start(), this.animater.doStop(), this.scrollBehaviorX.resetStartPos(), this.scrollBehaviorY.resetStartPos(), this.hooks.trigger(this.hooks.eventTypes.start, t);
933
- }, o.prototype.handleMove = function(t, e, r) {
934
- if (!this.hooks.trigger(this.hooks.eventTypes.beforeMove, r)) {
935
- var i = this.scrollBehaviorX.getAbsDist(t), n = this.scrollBehaviorY.getAbsDist(e), s = b();
936
- if (this.checkMomentum(i, n, s))
937
- return !0;
938
- if (this.directionLockAction.checkMovingDirection(i, n, r))
939
- return this.actionsHandler.setInitiated(), !0;
940
- var a = this.directionLockAction.adjustDelta(t, e), c = this.scrollBehaviorX.getCurrentPos(), h = this.scrollBehaviorX.move(a.deltaX), l = this.scrollBehaviorY.getCurrentPos(), u = this.scrollBehaviorY.move(a.deltaY);
941
- if (!this.hooks.trigger(this.hooks.eventTypes.detectMovingDirection)) {
942
- this.fingerMoved || (this.fingerMoved = !0);
943
- var p = h !== c || u !== l;
944
- !this.contentMoved && !p && this.hooks.trigger(this.hooks.eventTypes.contentNotMoved), !this.contentMoved && p && (this.contentMoved = !0, this.hooks.trigger(this.hooks.eventTypes.scrollStart)), this.contentMoved && p && (this.animater.translate({
945
- x: h,
946
- y: u
947
- }), this.dispatchScroll(s));
948
- }
949
- }
950
- }, o.prototype.dispatchScroll = function(t) {
951
- t - this.startTime > this.options.momentumLimitTime && (this.startTime = t, this.scrollBehaviorX.updateStartPos(), this.scrollBehaviorY.updateStartPos(), this.options.probeType === 1 && this.hooks.trigger(this.hooks.eventTypes.scroll, this.getCurrentPos())), this.options.probeType > 1 && this.hooks.trigger(this.hooks.eventTypes.scroll, this.getCurrentPos());
952
- }, o.prototype.checkMomentum = function(t, e, r) {
953
- return r - this.endTime > this.options.momentumLimitTime && e < this.options.momentumLimitDistance && t < this.options.momentumLimitDistance;
954
- }, o.prototype.handleEnd = function(t) {
955
- if (!this.hooks.trigger(this.hooks.eventTypes.beforeEnd, t)) {
956
- var e = this.getCurrentPos();
957
- if (this.scrollBehaviorX.updateDirection(), this.scrollBehaviorY.updateDirection(), this.hooks.trigger(this.hooks.eventTypes.end, t, e))
958
- return !0;
959
- e = this.ensureIntegerPos(e), this.animater.translate(e), this.endTime = b();
960
- var r = this.endTime - this.startTime;
961
- this.hooks.trigger(this.hooks.eventTypes.scrollEnd, e, r);
962
- }
963
- }, o.prototype.ensureIntegerPos = function(t) {
964
- this.ensuringInteger = !0;
965
- var e = t.x, r = t.y, i = this.scrollBehaviorX, n = i.minScrollPos, s = i.maxScrollPos, a = this.scrollBehaviorY, c = a.minScrollPos, h = a.maxScrollPos;
966
- return e = e > 0 ? Math.ceil(e) : Math.floor(e), r = r > 0 ? Math.ceil(r) : Math.floor(r), e = V(e, s, n), r = V(r, h, c), { x: e, y: r };
967
- }, o.prototype.handleClick = function(t) {
968
- B(t.target, this.options.preventDefaultException) || (it(t), t.stopPropagation());
969
- }, o.prototype.getCurrentPos = function() {
970
- return {
971
- x: this.scrollBehaviorX.getCurrentPos(),
972
- y: this.scrollBehaviorY.getCurrentPos()
973
- };
974
- }, o.prototype.refresh = function() {
975
- this.endTime = 0;
976
- }, o.prototype.destroy = function() {
977
- this.hooks.destroy();
978
- }, o;
979
- }()
980
- );
981
- function Kt(o) {
982
- var t = [
983
- "click",
984
- "bindToWrapper",
985
- "disableMouse",
986
- "disableTouch",
987
- "preventDefault",
988
- "stopPropagation",
989
- "tagException",
990
- "preventDefaultException",
991
- "autoEndDistance"
992
- ].reduce(function(e, r) {
993
- return e[r] = o[r], e;
994
- }, {});
995
- return t;
996
- }
997
- function Q(o, t, e, r) {
998
- var i = [
999
- "momentum",
1000
- "momentumLimitTime",
1001
- "momentumLimitDistance",
1002
- "deceleration",
1003
- "swipeBounceTime",
1004
- "swipeTime",
1005
- "outOfBoundaryDampingFactor",
1006
- "specifiedIndexAsContent"
1007
- ].reduce(function(n, s) {
1008
- return n[s] = o[s], n;
1009
- }, {});
1010
- return i.scrollable = !!o[t], i.bounces = e, i.rect = r, i;
1011
- }
1012
- function I(o, t, e) {
1013
- e.forEach(function(r) {
1014
- var i, n;
1015
- typeof r == "string" ? i = n = r : (i = r.source, n = r.target), o.on(i, function() {
1016
- for (var s = [], a = 0; a < arguments.length; a++)
1017
- s[a] = arguments[a];
1018
- return t.trigger.apply(t, et([n], s));
1019
- });
1020
- });
1021
- }
1022
- function Rt(o, t) {
1023
- for (var e = Object.keys(o), r = 0, i = e; r < i.length; r++) {
1024
- var n = i[r];
1025
- if (o[n] !== t[n])
1026
- return !1;
1027
- }
1028
- return !0;
1029
- }
1030
- var tt = 1, It = (
1031
- /** @class */
1032
- function() {
1033
- function o(t, e, r) {
1034
- this.wrapper = t, this.content = e, this.resizeTimeout = 0, this.hooks = new g([
1035
- "beforeStart",
1036
- "beforeMove",
1037
- "beforeScrollStart",
1038
- "scrollStart",
1039
- "scroll",
1040
- "beforeEnd",
1041
- "scrollEnd",
1042
- "resize",
1043
- "touchEnd",
1044
- "end",
1045
- "flick",
1046
- "scrollCancel",
1047
- "momentum",
1048
- "scrollTo",
1049
- "minDistanceScroll",
1050
- "scrollToElement",
1051
- "beforeRefresh"
1052
- ]), this.options = r;
1053
- var i = this.options.bounce, n = i.left, s = i.right, a = i.top, c = i.bottom;
1054
- this.scrollBehaviorX = new $(t, e, Q(r, "scrollX", [n, s], {
1055
- size: "width",
1056
- position: "left"
1057
- })), this.scrollBehaviorY = new $(t, e, Q(r, "scrollY", [a, c], {
1058
- size: "height",
1059
- position: "top"
1060
- })), this.translater = new Mt(this.content), this.animater = Lt(this.content, this.translater, this.options), this.actionsHandler = new Xt(this.options.bindToTarget ? this.content : t, Kt(this.options)), this.actions = new zt(this.scrollBehaviorX, this.scrollBehaviorY, this.actionsHandler, this.animater, this.options);
1061
- var h = this.resize.bind(this);
1062
- this.resizeRegister = new Y(window, [
1063
- {
1064
- name: "orientationchange",
1065
- handler: h
1066
- },
1067
- {
1068
- name: "resize",
1069
- handler: h
1070
- }
1071
- ]), this.registerTransitionEnd(), this.init();
1072
- }
1073
- return o.prototype.init = function() {
1074
- var t = this;
1075
- this.bindTranslater(), this.bindAnimater(), this.bindActions(), this.hooks.on(this.hooks.eventTypes.scrollEnd, function() {
1076
- t.togglePointerEvents(!0);
1077
- });
1078
- }, o.prototype.registerTransitionEnd = function() {
1079
- this.transitionEndRegister = new Y(this.content, [
1080
- {
1081
- name: T.transitionEnd,
1082
- handler: this.transitionEnd.bind(this)
1083
- }
1084
- ]);
1085
- }, o.prototype.bindTranslater = function() {
1086
- var t = this, e = this.translater.hooks;
1087
- e.on(e.eventTypes.beforeTranslate, function(r) {
1088
- t.options.translateZ && r.push(t.options.translateZ);
1089
- }), e.on(e.eventTypes.translate, function(r) {
1090
- var i = t.getCurrentPos();
1091
- if (t.updatePositions(r), t.actions.ensuringInteger === !0) {
1092
- t.actions.ensuringInteger = !1;
1093
- return;
1094
- }
1095
- (r.x !== i.x || r.y !== i.y) && t.togglePointerEvents(!1);
1096
- });
1097
- }, o.prototype.bindAnimater = function() {
1098
- var t = this;
1099
- this.animater.hooks.on(this.animater.hooks.eventTypes.end, function(e) {
1100
- t.resetPosition(t.options.bounceTime) || (t.animater.setPending(!1), t.hooks.trigger(t.hooks.eventTypes.scrollEnd, e));
1101
- }), I(this.animater.hooks, this.hooks, [
1102
- {
1103
- source: this.animater.hooks.eventTypes.move,
1104
- target: this.hooks.eventTypes.scroll
1105
- },
1106
- {
1107
- source: this.animater.hooks.eventTypes.forceStop,
1108
- target: this.hooks.eventTypes.scrollEnd
1109
- }
1110
- ]);
1111
- }, o.prototype.bindActions = function() {
1112
- var t = this, e = this.actions;
1113
- I(e.hooks, this.hooks, [
1114
- {
1115
- source: e.hooks.eventTypes.start,
1116
- target: this.hooks.eventTypes.beforeStart
1117
- },
1118
- {
1119
- source: e.hooks.eventTypes.start,
1120
- target: this.hooks.eventTypes.beforeScrollStart
1121
- },
1122
- {
1123
- source: e.hooks.eventTypes.beforeMove,
1124
- target: this.hooks.eventTypes.beforeMove
1125
- },
1126
- {
1127
- source: e.hooks.eventTypes.scrollStart,
1128
- target: this.hooks.eventTypes.scrollStart
1129
- },
1130
- {
1131
- source: e.hooks.eventTypes.scroll,
1132
- target: this.hooks.eventTypes.scroll
1133
- },
1134
- {
1135
- source: e.hooks.eventTypes.beforeEnd,
1136
- target: this.hooks.eventTypes.beforeEnd
1137
- }
1138
- ]), e.hooks.on(e.hooks.eventTypes.end, function(r, i) {
1139
- if (t.hooks.trigger(t.hooks.eventTypes.touchEnd, i), t.hooks.trigger(t.hooks.eventTypes.end, i) || !e.fingerMoved && (t.hooks.trigger(t.hooks.eventTypes.scrollCancel), t.checkClick(r)))
1140
- return !0;
1141
- if (t.resetPosition(t.options.bounceTime, k.bounce))
1142
- return t.animater.setForceStopped(!1), !0;
1143
- }), e.hooks.on(e.hooks.eventTypes.scrollEnd, function(r, i) {
1144
- var n = Math.abs(r.x - t.scrollBehaviorX.startPos), s = Math.abs(r.y - t.scrollBehaviorY.startPos);
1145
- if (t.checkFlick(i, n, s)) {
1146
- t.animater.setForceStopped(!1), t.hooks.trigger(t.hooks.eventTypes.flick);
1147
- return;
1148
- }
1149
- if (t.momentum(r, i)) {
1150
- t.animater.setForceStopped(!1);
1151
- return;
1152
- }
1153
- e.contentMoved && t.hooks.trigger(t.hooks.eventTypes.scrollEnd, r), t.animater.forceStopped && t.animater.setForceStopped(!1);
1154
- });
1155
- }, o.prototype.checkFlick = function(t, e, r) {
1156
- var i = 1;
1157
- if (this.hooks.events.flick.length > 1 && t < this.options.flickLimitTime && e < this.options.flickLimitDistance && r < this.options.flickLimitDistance && (r > i || e > i))
1158
- return !0;
1159
- }, o.prototype.momentum = function(t, e) {
1160
- var r = {
1161
- time: 0,
1162
- easing: k.swiper,
1163
- newX: t.x,
1164
- newY: t.y
1165
- }, i = this.scrollBehaviorX.end(e), n = this.scrollBehaviorY.end(e);
1166
- if (r.newX = R(i.destination) ? r.newX : i.destination, r.newY = R(n.destination) ? r.newY : n.destination, r.time = Math.max(i.duration, n.duration), this.hooks.trigger(this.hooks.eventTypes.momentum, r, this), r.newX !== t.x || r.newY !== t.y)
1167
- return (r.newX > this.scrollBehaviorX.minScrollPos || r.newX < this.scrollBehaviorX.maxScrollPos || r.newY > this.scrollBehaviorY.minScrollPos || r.newY < this.scrollBehaviorY.maxScrollPos) && (r.easing = k.swipeBounce), this.scrollTo(r.newX, r.newY, r.time, r.easing), !0;
1168
- }, o.prototype.checkClick = function(t) {
1169
- var e = {
1170
- preventClick: this.animater.forceStopped
1171
- };
1172
- if (this.hooks.trigger(this.hooks.eventTypes.checkClick))
1173
- return this.animater.setForceStopped(!1), !0;
1174
- if (!e.preventClick) {
1175
- var r = this.options.dblclick, i = !1;
1176
- if (r && this.lastClickTime) {
1177
- var n = r.delay, s = n === void 0 ? 300 : n;
1178
- b() - this.lastClickTime < s && (i = !0, Pt(t));
1179
- }
1180
- return this.options.tap && St(t, this.options.tap), this.options.click && !B(t.target, this.options.preventDefaultException) && st(t), this.lastClickTime = i ? null : b(), !0;
1181
- }
1182
- return !1;
1183
- }, o.prototype.resize = function() {
1184
- var t = this;
1185
- this.actions.enabled && (ft && (this.wrapper.scrollTop = 0), clearTimeout(this.resizeTimeout), this.resizeTimeout = window.setTimeout(function() {
1186
- t.hooks.trigger(t.hooks.eventTypes.resize);
1187
- }, this.options.resizePolling));
1188
- }, o.prototype.transitionEnd = function(t) {
1189
- if (!(t.target !== this.content || !this.animater.pending)) {
1190
- var e = this.animater;
1191
- e.transitionTime(), this.resetPosition(this.options.bounceTime, k.bounce) || (this.animater.setPending(!1), this.options.probeType !== 3 && this.hooks.trigger(this.hooks.eventTypes.scrollEnd, this.getCurrentPos()));
1192
- }
1193
- }, o.prototype.togglePointerEvents = function(t) {
1194
- t === void 0 && (t = !0);
1195
- for (var e = this.content.children.length ? this.content.children : [this.content], r = t ? "auto" : "none", i = 0; i < e.length; i++) {
1196
- var n = e[i];
1197
- n.isBScrollContainer || (n.style.pointerEvents = r);
1198
- }
1199
- }, o.prototype.refresh = function(t) {
1200
- var e = this.setContent(t);
1201
- this.hooks.trigger(this.hooks.eventTypes.beforeRefresh), this.scrollBehaviorX.refresh(t), this.scrollBehaviorY.refresh(t), e && (this.translater.setContent(t), this.animater.setContent(t), this.transitionEndRegister.destroy(), this.registerTransitionEnd(), this.options.bindToTarget && this.actionsHandler.setContent(t)), this.actions.refresh(), this.wrapperOffset = j(this.wrapper);
1202
- }, o.prototype.setContent = function(t) {
1203
- var e = t !== this.content;
1204
- return e && (this.content = t), e;
1205
- }, o.prototype.scrollBy = function(t, e, r, i) {
1206
- r === void 0 && (r = 0);
1207
- var n = this.getCurrentPos(), s = n.x, a = n.y;
1208
- i = i || k.bounce, t += s, e += a, this.scrollTo(t, e, r, i);
1209
- }, o.prototype.scrollTo = function(t, e, r, i, n) {
1210
- r === void 0 && (r = 0), i === void 0 && (i = k.bounce), n === void 0 && (n = {
1211
- start: {},
1212
- end: {}
1213
- });
1214
- var s = this.options.useTransition ? i.style : i.fn, a = this.getCurrentPos(), c = E({ x: a.x, y: a.y }, n.start), h = E({
1215
- x: t,
1216
- y: e
1217
- }, n.end);
1218
- if (this.hooks.trigger(this.hooks.eventTypes.scrollTo, h), !Rt(c, h)) {
1219
- var l = Math.abs(h.x - c.x), u = Math.abs(h.y - c.y);
1220
- l < tt && u < tt && (r = 0, this.hooks.trigger(this.hooks.eventTypes.minDistanceScroll)), this.animater.move(c, h, r, s);
1221
- }
1222
- }, o.prototype.scrollToElement = function(t, e, r, i, n) {
1223
- var s = rt(t), a = j(s), c = function(l, u, p) {
1224
- return typeof l == "number" ? l : l ? Math.round(u / 2 - p / 2) : 0;
1225
- };
1226
- r = c(r, s.offsetWidth, this.wrapper.offsetWidth), i = c(i, s.offsetHeight, this.wrapper.offsetHeight);
1227
- var h = function(l, u, p, y) {
1228
- return l -= u, l = y.adjustPosition(l - p), l;
1229
- };
1230
- a.left = h(a.left, this.wrapperOffset.left, r, this.scrollBehaviorX), a.top = h(a.top, this.wrapperOffset.top, i, this.scrollBehaviorY), !this.hooks.trigger(this.hooks.eventTypes.scrollToElement, s, a) && this.scrollTo(a.left, a.top, e, n);
1231
- }, o.prototype.resetPosition = function(t, e) {
1232
- t === void 0 && (t = 0), e === void 0 && (e = k.bounce);
1233
- var r = this.scrollBehaviorX.checkInBoundary(), i = r.position, n = r.inBoundary, s = this.scrollBehaviorY.checkInBoundary(), a = s.position, c = s.inBoundary;
1234
- return n && c ? !1 : (vt && this.reflow(), this.scrollTo(i, a, t, e), !0);
1235
- }, o.prototype.reflow = function() {
1236
- this._reflow = this.content.offsetHeight;
1237
- }, o.prototype.updatePositions = function(t) {
1238
- this.scrollBehaviorX.updatePosition(t.x), this.scrollBehaviorY.updatePosition(t.y);
1239
- }, o.prototype.getCurrentPos = function() {
1240
- return this.actions.getCurrentPos();
1241
- }, o.prototype.enable = function() {
1242
- this.actions.enabled = !0;
1243
- }, o.prototype.disable = function() {
1244
- S(this.animater.timer), this.actions.enabled = !1;
1245
- }, o.prototype.destroy = function() {
1246
- var t = this, e = [
1247
- "resizeRegister",
1248
- "transitionEndRegister",
1249
- "actionsHandler",
1250
- "actions",
1251
- "hooks",
1252
- "animater",
1253
- "translater",
1254
- "scrollBehaviorX",
1255
- "scrollBehaviorY"
1256
- ];
1257
- e.forEach(function(r) {
1258
- return t[r].destroy();
1259
- });
1260
- }, o;
1261
- }()
1262
- ), A = (
1263
- /** @class */
1264
- function(o) {
1265
- O(t, o);
1266
- function t(e, r) {
1267
- var i = o.call(this, [
1268
- "refresh",
1269
- "contentChanged",
1270
- "enable",
1271
- "disable",
1272
- "beforeScrollStart",
1273
- "scrollStart",
1274
- "scroll",
1275
- "scrollEnd",
1276
- "scrollCancel",
1277
- "touchEnd",
1278
- "flick",
1279
- "destroy"
1280
- ]) || this, n = rt(e);
1281
- return n ? (i.plugins = {}, i.options = new xt().merge(r).process(), i.setContent(n).valid && (i.hooks = new g([
1282
- "refresh",
1283
- "enable",
1284
- "disable",
1285
- "destroy",
1286
- "beforeInitialScrollTo",
1287
- "contentChanged"
1288
- ]), i.init(n)), i) : (M("Can not resolve the wrapper DOM."), i);
1289
- }
1290
- return t.use = function(e) {
1291
- var r = e.pluginName, i = t.plugins.some(function(n) {
1292
- return e === n.ctor;
1293
- });
1294
- return i ? t : R(r) ? (M("Plugin Class must specify plugin's name in static property by 'pluginName' field."), t) : (t.pluginsMap[r] = !0, t.plugins.push({
1295
- name: r,
1296
- applyOrder: e.applyOrder,
1297
- ctor: e
1298
- }), t);
1299
- }, t.prototype.setContent = function(e) {
1300
- var r = !1, i = !0, n = e.children[this.options.specifiedIndexAsContent];
1301
- return n ? (r = this.content !== n, r && (this.content = n)) : (M("The wrapper need at least one child element to be content element to scroll."), i = !1), {
1302
- valid: i,
1303
- contentChanged: r
1304
- };
1305
- }, t.prototype.init = function(e) {
1306
- var r = this;
1307
- this.wrapper = e, e.isBScrollContainer = !0, this.scroller = new It(e, this.content, this.options), this.scroller.hooks.on(this.scroller.hooks.eventTypes.resize, function() {
1308
- r.refresh();
1309
- }), this.eventBubbling(), this.handleAutoBlur(), this.enable(), this.proxy(ut), this.applyPlugins(), this.refreshWithoutReset(this.content);
1310
- var i = this.options, n = i.startX, s = i.startY, a = {
1311
- x: n,
1312
- y: s
1313
- };
1314
- this.hooks.trigger(this.hooks.eventTypes.beforeInitialScrollTo, a) || this.scroller.scrollTo(a.x, a.y);
1315
- }, t.prototype.applyPlugins = function() {
1316
- var e = this, r = this.options;
1317
- t.plugins.sort(function(i, n) {
1318
- var s, a = (s = {}, s.pre = -1, s.post = 1, s), c = i.applyOrder ? a[i.applyOrder] : 0, h = n.applyOrder ? a[n.applyOrder] : 0;
1319
- return c - h;
1320
- }).forEach(function(i) {
1321
- var n = i.ctor;
1322
- r[i.name] && typeof n == "function" && (e.plugins[i.name] = new n(e));
1323
- });
1324
- }, t.prototype.handleAutoBlur = function() {
1325
- this.options.autoBlur && this.on(this.eventTypes.beforeScrollStart, function() {
1326
- var e = document.activeElement;
1327
- e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA") && e.blur();
1328
- });
1329
- }, t.prototype.eventBubbling = function() {
1330
- I(this.scroller.hooks, this, [
1331
- this.eventTypes.beforeScrollStart,
1332
- this.eventTypes.scrollStart,
1333
- this.eventTypes.scroll,
1334
- this.eventTypes.scrollEnd,
1335
- this.eventTypes.scrollCancel,
1336
- this.eventTypes.touchEnd,
1337
- this.eventTypes.flick
1338
- ]);
1339
- }, t.prototype.refreshWithoutReset = function(e) {
1340
- this.scroller.refresh(e), this.hooks.trigger(this.hooks.eventTypes.refresh, e), this.trigger(this.eventTypes.refresh, e);
1341
- }, t.prototype.proxy = function(e) {
1342
- var r = this;
1343
- e.forEach(function(i) {
1344
- var n = i.key, s = i.sourceKey;
1345
- Ct(r, s, n);
1346
- });
1347
- }, t.prototype.refresh = function() {
1348
- var e = this.setContent(this.wrapper), r = e.contentChanged, i = e.valid;
1349
- if (i) {
1350
- var n = this.content;
1351
- this.refreshWithoutReset(n), r && (this.hooks.trigger(this.hooks.eventTypes.contentChanged, n), this.trigger(this.eventTypes.contentChanged, n)), this.scroller.resetPosition();
1352
- }
1353
- }, t.prototype.enable = function() {
1354
- this.scroller.enable(), this.hooks.trigger(this.hooks.eventTypes.enable), this.trigger(this.eventTypes.enable);
1355
- }, t.prototype.disable = function() {
1356
- this.scroller.disable(), this.hooks.trigger(this.hooks.eventTypes.disable), this.trigger(this.eventTypes.disable);
1357
- }, t.prototype.destroy = function() {
1358
- this.hooks.trigger(this.hooks.eventTypes.destroy), this.trigger(this.eventTypes.destroy), this.scroller.destroy();
1359
- }, t.prototype.eventRegister = function(e) {
1360
- this.registerType(e);
1361
- }, t.plugins = [], t.pluginsMap = {}, t;
1362
- }(g)
1363
- );
1364
- function L(o, t) {
1365
- var e = new A(o, t);
1366
- return e;
1367
- }
1368
- L.use = A.use;
1369
- L.plugins = A.plugins;
1370
- L.pluginsMap = A.pluginsMap;
1371
- var Wt = L;
1372
- export {
1373
- $ as Behavior,
1374
- Dt as CustomOptions,
1375
- L as createBScroll,
1376
- Wt as default
1377
- };