bitz-react-admin-ui 2.7.4 → 2.7.6
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.
- package/dist/_virtual/dayjs.min.mjs +5 -2
- package/dist/_virtual/dayjs.min2.mjs +4 -0
- package/dist/assets/iconfont/IconChenggong.mjs +25 -4
- package/dist/assets/iconfont/IconClose.mjs +24 -3
- package/dist/assets/iconfont/IconColumnCancelFixed.mjs +23 -2
- package/dist/assets/iconfont/IconColumnFixedLeft.mjs +27 -6
- package/dist/assets/iconfont/IconColumnFixedRight.mjs +27 -6
- package/dist/assets/iconfont/IconCuowu.mjs +23 -2
- package/dist/assets/iconfont/IconDragOrder.mjs +25 -4
- package/dist/assets/iconfont/IconDuigoux.mjs +25 -4
- package/dist/assets/iconfont/IconFabu.mjs +35 -5
- package/dist/assets/iconfont/IconFanhui.mjs +25 -4
- package/dist/assets/iconfont/IconGaojisousuo.mjs +26 -5
- package/dist/assets/iconfont/IconHangfengexian.mjs +41 -3
- package/dist/assets/iconfont/IconHangliefengexian.mjs +42 -4
- package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +26 -5
- package/dist/assets/iconfont/IconIcon21.mjs +25 -4
- package/dist/assets/iconfont/IconJincoude.mjs +25 -4
- package/dist/assets/iconfont/IconJinggao.mjs +25 -4
- package/dist/assets/iconfont/IconKuansongde.mjs +26 -5
- package/dist/assets/iconfont/IconLiefengexian.mjs +41 -3
- package/dist/assets/iconfont/IconMore.mjs +41 -4
- package/dist/assets/iconfont/IconShanchu.mjs +27 -6
- package/dist/assets/iconfont/IconShanchu1.mjs +35 -5
- package/dist/assets/iconfont/IconSousuo.mjs +27 -6
- package/dist/assets/iconfont/IconTejincou.mjs +25 -4
- package/dist/assets/iconfont/IconTekuansong.mjs +26 -5
- package/dist/assets/iconfont/IconTishi1.mjs +27 -6
- package/dist/assets/iconfont/IconTuodong.mjs +28 -7
- package/dist/assets/iconfont/IconWubanmawentianchong.mjs +35 -3
- package/dist/assets/iconfont/IconWufengexian.mjs +26 -4
- package/dist/assets/iconfont/IconXinxitishi.mjs +27 -6
- package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +34 -3
- package/dist/assets/iconfont/IconZhongdengde.mjs +24 -3
- package/dist/assets/iconfont/IconZhongzhi.mjs +24 -3
- package/dist/assets/iconfont/index.mjs +33 -33
- package/dist/components/BitzAddTag/index.mjs +41 -8
- package/dist/components/BitzAddressBook/index.mjs +122 -35
- package/dist/components/BitzAppPage/index.mjs +18 -4
- package/dist/components/BitzAppRefresh/index.mjs +27 -15
- package/dist/components/BitzBetterScroll/index.mjs +5 -5
- package/dist/components/BitzButton/index.mjs +23 -9
- package/dist/components/BitzCalendar/index.mjs +53 -20
- package/dist/components/BitzCascader/BitzCascaderMobile.mjs +68 -30
- package/dist/components/BitzCascader/index.mjs +6 -2
- package/dist/components/BitzCollapse/index.mjs +4 -4
- package/dist/components/BitzConfigProvider/context.mjs +3 -1
- package/dist/components/BitzConfigProvider/index.mjs +12 -8
- package/dist/components/BitzConfirmModal/index.mjs +24 -1
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzDescriptions/index.mjs +11 -1
- package/dist/components/BitzDrawer/index.mjs +17 -2
- package/dist/components/BitzEmpty/index.mjs +6 -2
- package/dist/components/BitzException/index.mjs +6 -1
- package/dist/components/BitzFloatLayout/index.mjs +10 -1
- package/dist/components/BitzFluentDatePicker/index.mjs +1 -1
- package/dist/components/BitzFluentRangePicker/index.mjs +1 -1
- package/dist/components/BitzFluentRangeTimePicker/index.mjs +1 -1
- package/dist/components/BitzFluentTimePicker/index.mjs +6 -6
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +13 -16
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +27 -21
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +22 -4
- package/dist/components/BitzFuiCalendar/CalendarBody.mjs +28 -5
- package/dist/components/BitzFuiCalendar/CalendarHead.mjs +6 -3
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +13 -4
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +48 -16
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +26 -10
- package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +44 -8
- package/dist/components/BitzFuiCalendar/index.mjs +7 -1
- package/dist/components/BitzFullScreen/index.mjs +9 -6
- package/dist/components/BitzHighlight/Child.mjs +23 -9
- package/dist/components/BitzHighlight/Highlight.mjs +26 -5
- package/dist/components/BitzHighlight/chunks.mjs +20 -17
- package/dist/components/BitzHighlight/style.mjs +4 -1
- package/dist/components/BitzImage/index.mjs +1 -1
- package/dist/components/BitzImage/previewImage.mjs +12 -5
- package/dist/components/BitzLanguageTabs/index.mjs +14 -3
- package/dist/components/BitzLazyLoad/index.mjs +7 -1
- package/dist/components/BitzList/List.mjs +17 -3
- package/dist/components/BitzList/LoadMore.mjs +29 -20
- package/dist/components/BitzLoadMore/index.mjs +34 -14
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +25 -12
- package/dist/components/BitzMeetingTime/index.mjs +11 -7
- package/dist/components/BitzMobileLoading/index.mjs +1 -1
- package/dist/components/BitzModal/index.mjs +24 -11
- package/dist/components/BitzNoData/index.mjs +4 -1
- package/dist/components/BitzNoMore/index.mjs +1 -1
- package/dist/components/BitzOrganizationSelection/index.mjs +43 -14
- package/dist/components/BitzPageContainer/index.mjs +107 -46
- package/dist/components/BitzPageHeader/index.mjs +89 -21
- package/dist/components/BitzPagination/index.mjs +71 -22
- package/dist/components/BitzPopover/index.mjs +4 -4
- package/dist/components/BitzPullRefresh/PullRefresh.mjs +47 -18
- package/dist/components/BitzQRCode/index.mjs +6 -1
- package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +35 -17
- package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +20 -13
- package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +4 -1
- package/dist/components/BitzQueryFilter/index.mjs +69 -20
- package/dist/components/BitzRefresh/index.mjs +5 -1
- package/dist/components/BitzRemark/index.mjs +4 -4
- package/dist/components/BitzScheduleCenter/index.mjs +24 -30
- package/dist/components/BitzSearch/index.mjs +1 -1
- package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +123 -48
- package/dist/components/BitzSelect/index.mjs +1 -1
- package/dist/components/BitzSkeleton/index.mjs +31 -1
- package/dist/components/BitzSwitch/index.mjs +7 -2
- package/dist/components/BitzTabbar/BitzTabbar.mjs +25 -8
- package/dist/components/BitzTabbar/BitzTabbarItem.mjs +4 -1
- package/dist/components/BitzTable/ActionBar/ActionBar.mjs +80 -12
- package/dist/components/BitzTable/ActionBar/Button.mjs +20 -15
- package/dist/components/BitzTable/ActionBar/style.mjs +12 -9
- package/dist/components/BitzTable/ActionCol/index.mjs +183 -58
- package/dist/components/BitzTable/ActionCol/style.mjs +15 -12
- package/dist/components/BitzTable/Dropdown/index.mjs +8 -1
- package/dist/components/BitzTable/Dropdown/style.mjs +9 -6
- package/dist/components/BitzTable/SelectionBar/Button.mjs +19 -6
- package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +11 -4
- package/dist/components/BitzTable/SelectionBar/style.mjs +18 -8
- package/dist/components/BitzTable/Store/index.mjs +103 -62
- package/dist/components/BitzTable/Store/utils/index.mjs +5 -5
- package/dist/components/BitzTable/SubTable/index.mjs +122 -73
- package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +43 -21
- package/dist/components/BitzTable/Table/SortTableContext.mjs +39 -17
- package/dist/components/BitzTable/Table/SortableRow.mjs +44 -20
- package/dist/components/BitzTable/Table/index.mjs +444 -211
- package/dist/components/BitzTable/Table/style.mjs +10 -1
- package/dist/components/BitzTable/Table/utils.mjs +11 -4
- package/dist/components/BitzTable/TextOverflow/index.mjs +12 -3
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +105 -31
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +104 -23
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +68 -29
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +325 -159
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +50 -16
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +42 -16
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +135 -38
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +9 -2
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +18 -5
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +121 -49
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +62 -18
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +59 -16
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +42 -14
- package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +17 -4
- package/dist/components/BitzTable/ToolBar/Modal/index.mjs +46 -14
- package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +20 -9
- package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +49 -2
- package/dist/components/BitzTable/ToolBar/style.mjs +6 -1
- package/dist/components/BitzTable/index.d.ts +1 -0
- package/dist/components/BitzTableOperations/index.mjs +13 -3
- package/dist/components/BitzTableSelect/Picker/index.mjs +43 -10
- package/dist/components/BitzTableSelect/Select/index.mjs +90 -21
- package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +23 -13
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +219 -69
- package/dist/components/BitzTableSelect/SingleSelect/index.mjs +87 -22
- package/dist/components/BitzTableSelect/TableCell/index.mjs +52 -11
- package/dist/components/BitzTableSelect/TextBlock/index.mjs +30 -12
- package/dist/components/BitzTableSelect/index.mjs +65 -14
- package/dist/components/BitzTableSelect/utils.mjs +3 -3
- package/dist/components/BitzTag/index.mjs +1 -1
- package/dist/components/BitzText/index.mjs +41 -14
- package/dist/components/BitzText/utils.mjs +3 -3
- package/dist/components/BitzTheme/index.mjs +6 -6
- package/dist/components/BitzTimeline/index.mjs +11 -1
- package/dist/components/BitzTimer/Form.mjs +32 -11
- package/dist/components/BitzTimer/Timer.mjs +76 -38
- package/dist/components/BitzTimer/index.mjs +66 -43
- package/dist/components/BitzToast/Toast/index.mjs +28 -10
- package/dist/components/BitzToast/index.mjs +1 -1
- package/dist/components/BitzTooltip/index.mjs +59 -20
- package/dist/components/BitzTooltip/style.mjs +9 -6
- package/dist/components/BitzTooltip/utils.mjs +2 -2
- package/dist/components/BitzTree/index.mjs +4 -1
- package/dist/components/BitzUeEditor/index.mjs +5 -5
- package/dist/components/BitzUpload/index.mjs +81 -43
- package/dist/components/BitzWebAppDrawer/index.mjs +35 -4
- package/dist/components/BitzWebAppModal/index.mjs +6 -3
- package/dist/hooks/use-event-listener.mjs +11 -2
- package/dist/hooks/use-lock-fn.mjs +13 -10
- package/dist/hooks/use-scroll-parent.mjs +16 -14
- package/dist/hooks/useEvent.mjs +7 -4
- package/dist/hooks/useMergedState.mjs +11 -11
- package/dist/node_modules/@ant-design/colors/es/generate.mjs +93 -0
- package/dist/node_modules/@ant-design/colors/es/presets.mjs +72 -0
- package/dist/node_modules/@ant-design/cssinjs/es/Cache.mjs +40 -0
- package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.mjs +18 -0
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.mjs +38 -0
- package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.mjs +9 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.mjs +51 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs +92 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs +15 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs +27 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.mjs +47 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs +22 -0
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs +210 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.mjs +10 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.mjs +7 -0
- package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.mjs +8 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.mjs +20 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.mjs +104 -0
- package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.mjs +10 -0
- package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs +4 -0
- package/dist/node_modules/@ant-design/cssinjs/es/util/cacheMapUtil.mjs +42 -0
- package/dist/node_modules/@ant-design/cssinjs/es/util/css-variables.mjs +28 -0
- package/dist/node_modules/@ant-design/cssinjs/es/util/index.mjs +52 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.browser.esm.mjs +22 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Enum.mjs +9 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Parser.mjs +114 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Serializer.mjs +29 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Tokenizer.mjs +127 -0
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Utility.mjs +37 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.mjs +63 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/hooks/useCSP.mjs +6 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.mjs +59 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.mjs +44 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/calculator.mjs +8 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/index.mjs +11 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/genStyleUtils.mjs +156 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getCompVarPrefix.mjs +6 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getComponentToken.mjs +26 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getDefaultComponentToken.mjs +11 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/maxmin.mjs +36 -0
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/statistic.mjs +55 -0
- package/dist/node_modules/@ant-design/fast-color/es/FastColor.mjs +327 -0
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +42 -0
- package/dist/node_modules/@ant-design/icons/es/components/Context.mjs +6 -0
- package/dist/node_modules/@ant-design/icons/es/components/IconBase.mjs +46 -0
- package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.mjs +18 -0
- package/dist/node_modules/@ant-design/icons/es/icons/AlignCenterOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/AppstoreOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ArrowLeftOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ArrowRightOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CaretDownFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CaretDownOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ClockCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/CopyOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/DeleteOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/DownOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/DownloadOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EditOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/FileTwoTone.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/FullscreenExitOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/FullscreenOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/LeftOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/MenuFoldOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/MenuOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/MenuUnfoldOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/MinusCircleOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PaperClipOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PauseCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PictureTwoTone.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PlayCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PlusCircleFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/PlusOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/RedoOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/ReloadOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/RightOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SearchOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SettingFilled.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SettingOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/SwapRightOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/icons/UploadOutlined.mjs +15 -0
- package/dist/node_modules/@ant-design/icons/es/utils.mjs +127 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/AlignCenterOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/AppstoreOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowLeftOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ArrowRightOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CaretDownOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ClockCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CopyOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownloadOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EditOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FileTwoTone.mjs +7 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenExitOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FullscreenOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LeftOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuFoldOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MenuUnfoldOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/MinusCircleOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PaperClipOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PauseCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PictureTwoTone.mjs +7 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlayCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusCircleFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PlusOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RedoOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ReloadOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/RightOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SearchOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingFilled.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SettingOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/SwapRightOutlined.mjs +5 -0
- package/dist/node_modules/@ant-design/icons-svg/es/asn/UploadOutlined.mjs +5 -0
- package/dist/node_modules/@babel/runtime/helpers/defineProperty.mjs +18 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.mjs +26 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/construct.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.mjs +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.mjs +18 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.mjs +17 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.mjs +29 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.mjs +25 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.mjs +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.mjs +315 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.mjs +8 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toArray.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.mjs +32 -0
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.mjs +13 -0
- package/dist/node_modules/@babel/runtime/helpers/objectSpread2.mjs +31 -0
- package/dist/node_modules/@babel/runtime/helpers/toPrimitive.mjs +22 -0
- package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.mjs +15 -0
- package/dist/node_modules/@babel/runtime/helpers/typeof.mjs +16 -0
- package/dist/node_modules/@better-scroll/core/dist/core.esm.mjs +1377 -0
- package/dist/node_modules/@better-scroll/wheel/dist/wheel.esm.mjs +253 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.mjs +115 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.mjs +153 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.mjs +68 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/index.mjs +183 -0
- package/dist/node_modules/@ctrl/tinycolor/dist/module/util.mjs +32 -0
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.mjs +54 -0
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.mjs +2524 -0
- package/dist/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.mjs +27 -0
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs +367 -0
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs +235 -0
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.mjs +251 -0
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.mjs +86 -0
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.mjs +7 -0
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.mjs +22 -0
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.mjs +9 -0
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs +134 -0
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.mjs +53 -0
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.mjs +45 -0
- package/dist/node_modules/@emotion/unitless/dist/unitless.browser.esm.mjs +51 -0
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.mjs +34 -0
- package/dist/node_modules/@fullcalendar/core/index.mjs +1365 -0
- package/dist/node_modules/@fullcalendar/core/internal-common.mjs +4823 -0
- package/dist/node_modules/@fullcalendar/core/locales/zh-cn.mjs +28 -0
- package/dist/node_modules/@fullcalendar/daygrid/index.mjs +32 -0
- package/dist/node_modules/@fullcalendar/daygrid/internal.mjs +746 -0
- package/dist/node_modules/@fullcalendar/interaction/index.mjs +842 -0
- package/dist/node_modules/@fullcalendar/list/index.mjs +54 -0
- package/dist/node_modules/@fullcalendar/list/internal.mjs +207 -0
- package/dist/node_modules/@fullcalendar/react/dist/index.mjs +71 -0
- package/dist/node_modules/@fullcalendar/timegrid/index.mjs +31 -0
- package/dist/node_modules/@fullcalendar/timegrid/internal.mjs +900 -0
- package/dist/node_modules/@rc-component/async-validator/es/index.mjs +159 -0
- package/dist/node_modules/@rc-component/async-validator/es/messages.mjs +58 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/enum.mjs +7 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/index.mjs +17 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/pattern.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/range.mjs +10 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/required.mjs +7 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/type.mjs +63 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/url.mjs +37 -0
- package/dist/node_modules/@rc-component/async-validator/es/rule/whitespace.mjs +7 -0
- package/dist/node_modules/@rc-component/async-validator/es/util.mjs +167 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/any.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/array.mjs +13 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/boolean.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/date.mjs +17 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/enum.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/float.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/index.mjs +37 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/integer.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/method.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/number.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/object.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/pattern.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/regexp.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/required.mjs +9 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/string.mjs +14 -0
- package/dist/node_modules/@rc-component/async-validator/es/validator/type.mjs +14 -0
- package/dist/node_modules/@rc-component/color-picker/es/ColorPicker.mjs +103 -0
- package/dist/node_modules/@rc-component/color-picker/es/color.mjs +47 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/ColorBlock.mjs +18 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Gradient.mjs +22 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Handler.mjs +15 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Palette.mjs +14 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Picker.mjs +58 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Slider.mjs +76 -0
- package/dist/node_modules/@rc-component/color-picker/es/components/Transform.mjs +17 -0
- package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorDrag.mjs +41 -0
- package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorState.mjs +17 -0
- package/dist/node_modules/@rc-component/color-picker/es/hooks/useComponent.mjs +11 -0
- package/dist/node_modules/@rc-component/color-picker/es/util.mjs +50 -0
- package/dist/node_modules/@rc-component/portal/es/Context.mjs +5 -0
- package/dist/node_modules/@rc-component/portal/es/Portal.mjs +45 -0
- package/dist/node_modules/@rc-component/portal/es/index.mjs +4 -0
- package/dist/node_modules/@rc-component/portal/es/mock.mjs +8 -0
- package/dist/node_modules/@rc-component/portal/es/useDom.mjs +37 -0
- package/dist/node_modules/@rc-component/portal/es/useScrollLocker.mjs +29 -0
- package/dist/node_modules/@rc-component/portal/es/util.mjs +6 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.mjs +22 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.mjs +24 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/PopupContent.mjs +11 -0
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.mjs +92 -0
- package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.mjs +14 -0
- package/dist/node_modules/@rc-component/trigger/es/context.mjs +5 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.mjs +13 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.mjs +187 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.mjs +27 -0
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWinClick.mjs +27 -0
- package/dist/node_modules/@rc-component/trigger/es/index.mjs +213 -0
- package/dist/node_modules/@rc-component/trigger/es/util.mjs +61 -0
- package/dist/node_modules/ahooks/es/createUpdateEffect/index.mjs +20 -0
- package/dist/node_modules/ahooks/es/useClickAway/index.mjs +27 -0
- package/dist/node_modules/ahooks/es/useControllableValue/index.mjs +23 -0
- package/dist/node_modules/ahooks/es/useInterval/index.mjs +17 -0
- package/dist/node_modules/ahooks/es/useLatest/index.mjs +8 -0
- package/dist/node_modules/ahooks/es/useMemoizedFn/index.mjs +19 -0
- package/dist/node_modules/ahooks/es/useRafState/index.mjs +16 -0
- package/dist/node_modules/ahooks/es/useSetState/index.mjs +16 -0
- package/dist/node_modules/ahooks/es/useSize/index.mjs +34 -0
- package/dist/node_modules/ahooks/es/useThrottleFn/index.mjs +28 -0
- package/dist/node_modules/ahooks/es/useUnmount/index.mjs +17 -0
- package/dist/node_modules/ahooks/es/useUpdate/index.mjs +12 -0
- package/dist/node_modules/ahooks/es/useUpdateEffect/index.mjs +6 -0
- package/dist/node_modules/ahooks/es/useUpdateLayoutEffect/index.mjs +6 -0
- package/dist/node_modules/ahooks/es/utils/createEffectWithTarget.mjs +27 -0
- package/dist/node_modules/ahooks/es/utils/depsAreSame.mjs +11 -0
- package/dist/node_modules/ahooks/es/utils/domTarget.mjs +13 -0
- package/dist/node_modules/ahooks/es/utils/getDocumentOrShadow.mjs +18 -0
- package/dist/node_modules/ahooks/es/utils/index.mjs +9 -0
- package/dist/node_modules/ahooks/es/utils/isBrowser.mjs +5 -0
- package/dist/node_modules/ahooks/es/utils/isDev.mjs +5 -0
- package/dist/node_modules/ahooks/es/utils/useEffectWithTarget.mjs +7 -0
- package/dist/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.mjs +8 -0
- package/dist/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.mjs +7 -0
- package/dist/node_modules/antd/es/_util/ActionButton.mjs +70 -0
- package/dist/node_modules/antd/es/_util/ContextIsolator.mjs +20 -0
- package/dist/node_modules/antd/es/_util/PurePanel.mjs +16 -0
- package/dist/node_modules/antd/es/_util/colors.mjs +9 -0
- package/dist/node_modules/antd/es/_util/hooks/useClosable.mjs +66 -0
- package/dist/node_modules/antd/es/_util/hooks/useForceUpdate.mjs +8 -0
- package/dist/node_modules/antd/es/_util/hooks/usePatchElement.mjs +11 -0
- package/dist/node_modules/antd/es/_util/hooks/useZIndex.mjs +45 -0
- package/dist/node_modules/antd/es/_util/motion.mjs +34 -0
- package/dist/node_modules/antd/es/_util/placements.mjs +150 -0
- package/dist/node_modules/antd/es/_util/reactNode.mjs +13 -0
- package/dist/node_modules/antd/es/_util/styleChecker.mjs +5 -0
- package/dist/node_modules/antd/es/_util/toList.mjs +6 -0
- package/dist/node_modules/antd/es/_util/warning.mjs +38 -0
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.mjs +96 -0
- package/dist/node_modules/antd/es/_util/wave/index.mjs +40 -0
- package/dist/node_modules/antd/es/_util/wave/interface.mjs +6 -0
- package/dist/node_modules/antd/es/_util/wave/style.mjs +47 -0
- package/dist/node_modules/antd/es/_util/wave/useWave.mjs +38 -0
- package/dist/node_modules/antd/es/_util/wave/util.mjs +16 -0
- package/dist/node_modules/antd/es/_util/zindexContext.mjs +7 -0
- package/dist/node_modules/antd/es/button/IconWrapper.mjs +18 -0
- package/dist/node_modules/antd/es/button/LoadingIcon.mjs +70 -0
- package/dist/node_modules/antd/es/button/button-group.mjs +65 -0
- package/dist/node_modules/antd/es/button/button.mjs +177 -0
- package/dist/node_modules/antd/es/button/buttonHelpers.mjs +44 -0
- package/dist/node_modules/antd/es/button/index.mjs +4 -0
- package/dist/node_modules/antd/es/button/style/compactCmp.mjs +75 -0
- package/dist/node_modules/antd/es/button/style/group.mjs +70 -0
- package/dist/node_modules/antd/es/button/style/index.mjs +373 -0
- package/dist/node_modules/antd/es/button/style/token.mjs +81 -0
- package/dist/node_modules/antd/es/calendar/locale/en_US.mjs +4 -0
- package/dist/node_modules/antd/es/color-picker/color.mjs +96 -0
- package/dist/node_modules/antd/es/color-picker/components/ColorPresets.mjs +17 -0
- package/dist/node_modules/antd/es/config-provider/DisabledContext.mjs +15 -0
- package/dist/node_modules/antd/es/config-provider/MotionWrapper.mjs +32 -0
- package/dist/node_modules/antd/es/config-provider/PropWarning.mjs +13 -0
- package/dist/node_modules/antd/es/config-provider/SizeContext.mjs +15 -0
- package/dist/node_modules/antd/es/config-provider/context.mjs +11 -0
- package/dist/node_modules/antd/es/config-provider/cssVariables.mjs +39 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useCSSVarCls.mjs +23 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useConfig.mjs +13 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useSize.mjs +9 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useTheme.mjs +41 -0
- package/dist/node_modules/antd/es/config-provider/hooks/useThemeKey.mjs +7 -0
- package/dist/node_modules/antd/es/config-provider/index.mjs +327 -0
- package/dist/node_modules/antd/es/date-picker/locale/en_US.mjs +20 -0
- package/dist/node_modules/antd/es/form/context.mjs +23 -0
- package/dist/node_modules/antd/es/form/validateMessagesContext.mjs +5 -0
- package/dist/node_modules/antd/es/locale/context.mjs +5 -0
- package/dist/node_modules/antd/es/locale/en_US.mjs +146 -0
- package/dist/node_modules/antd/es/locale/index.mjs +28 -0
- package/dist/node_modules/antd/es/locale/useLocale.mjs +17 -0
- package/dist/node_modules/antd/es/modal/ConfirmDialog.mjs +175 -0
- package/dist/node_modules/antd/es/modal/Modal.mjs +137 -0
- package/dist/node_modules/antd/es/modal/PurePanel.mjs +60 -0
- package/dist/node_modules/antd/es/modal/components/ConfirmCancelBtn.mjs +29 -0
- package/dist/node_modules/antd/es/modal/components/ConfirmOkBtn.mjs +30 -0
- package/dist/node_modules/antd/es/modal/components/NormalCancelBtn.mjs +16 -0
- package/dist/node_modules/antd/es/modal/components/NormalOkBtn.mjs +20 -0
- package/dist/node_modules/antd/es/modal/confirm.mjs +122 -0
- package/dist/node_modules/antd/es/modal/context.mjs +8 -0
- package/dist/node_modules/antd/es/modal/destroyFns.mjs +4 -0
- package/dist/node_modules/antd/es/modal/index.mjs +37 -0
- package/dist/node_modules/antd/es/modal/locale.mjs +19 -0
- package/dist/node_modules/antd/es/modal/shared.mjs +51 -0
- package/dist/node_modules/antd/es/modal/style/confirm.mjs +113 -0
- package/dist/node_modules/antd/es/modal/style/index.mjs +292 -0
- package/dist/node_modules/antd/es/modal/useModal/HookModal.mjs +60 -0
- package/dist/node_modules/antd/es/modal/useModal/index.mjs +73 -0
- package/dist/node_modules/antd/es/progress/Circle.mjs +60 -0
- package/dist/node_modules/antd/es/progress/Line.mjs +109 -0
- package/dist/node_modules/antd/es/progress/Steps.mjs +38 -0
- package/dist/node_modules/antd/es/progress/index.mjs +4 -0
- package/dist/node_modules/antd/es/progress/progress.mjs +120 -0
- package/dist/node_modules/antd/es/progress/style/index.mjs +313 -0
- package/dist/node_modules/antd/es/progress/utils.mjs +51 -0
- package/dist/node_modules/antd/es/skeleton/Avatar.mjs +31 -0
- package/dist/node_modules/antd/es/skeleton/Button.mjs +31 -0
- package/dist/node_modules/antd/es/skeleton/Element.mjs +29 -0
- package/dist/node_modules/antd/es/skeleton/Image.mjs +34 -0
- package/dist/node_modules/antd/es/skeleton/Input.mjs +31 -0
- package/dist/node_modules/antd/es/skeleton/Node.mjs +28 -0
- package/dist/node_modules/antd/es/skeleton/Paragraph.mjs +35 -0
- package/dist/node_modules/antd/es/skeleton/Skeleton.mjs +108 -0
- package/dist/node_modules/antd/es/skeleton/Title.mjs +22 -0
- package/dist/node_modules/antd/es/skeleton/index.mjs +4 -0
- package/dist/node_modules/antd/es/skeleton/style/index.mjs +311 -0
- package/dist/node_modules/antd/es/slider/Context.mjs +5 -0
- package/dist/node_modules/antd/es/slider/SliderTooltip.mjs +30 -0
- package/dist/node_modules/antd/es/slider/index.mjs +153 -0
- package/dist/node_modules/antd/es/slider/style/index.mjs +325 -0
- package/dist/node_modules/antd/es/slider/useRafLock.mjs +15 -0
- package/dist/node_modules/antd/es/space/Compact.mjs +37 -0
- package/dist/node_modules/antd/es/style/compact-item-vertical.mjs +44 -0
- package/dist/node_modules/antd/es/style/compact-item.mjs +61 -0
- package/dist/node_modules/antd/es/style/index.mjs +125 -0
- package/dist/node_modules/antd/es/style/motion/collapse.mjs +20 -0
- package/dist/node_modules/antd/es/style/motion/fade.mjs +50 -0
- package/dist/node_modules/antd/es/style/motion/motion.mjs +35 -0
- package/dist/node_modules/antd/es/style/motion/zoom.mjs +195 -0
- package/dist/node_modules/antd/es/style/placementArrow.mjs +164 -0
- package/dist/node_modules/antd/es/style/roundedArrow.mjs +74 -0
- package/dist/node_modules/antd/es/table/ExpandIcon.mjs +29 -0
- package/dist/node_modules/antd/es/theme/context.mjs +25 -0
- package/dist/node_modules/antd/es/theme/getDesignToken.mjs +23 -0
- package/dist/node_modules/antd/es/theme/interface/presetColors.mjs +4 -0
- package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.mjs +20 -0
- package/dist/node_modules/antd/es/theme/themes/compact/index.mjs +16 -0
- package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.mjs +6 -0
- package/dist/node_modules/antd/es/theme/themes/dark/colors.mjs +51 -0
- package/dist/node_modules/antd/es/theme/themes/dark/index.mjs +21 -0
- package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.mjs +6 -0
- package/dist/node_modules/antd/es/theme/themes/default/colors.mjs +49 -0
- package/dist/node_modules/antd/es/theme/themes/default/index.mjs +23 -0
- package/dist/node_modules/antd/es/theme/themes/seed.mjs +69 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.mjs +78 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.mjs +20 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.mjs +13 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.mjs +29 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.mjs +17 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genRadius.mjs +13 -0
- package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.mjs +29 -0
- package/dist/node_modules/antd/es/theme/useToken.mjs +118 -0
- package/dist/node_modules/antd/es/theme/util/alias.mjs +162 -0
- package/dist/node_modules/antd/es/theme/util/genPresetColor.mjs +15 -0
- package/dist/node_modules/antd/es/theme/util/genStyleUtils.mjs +50 -0
- package/dist/node_modules/antd/es/theme/util/getAlphaColor.mjs +38 -0
- package/dist/node_modules/antd/es/theme/util/useResetIconStyle.mjs +36 -0
- package/dist/node_modules/antd/es/time-picker/locale/en_US.mjs +7 -0
- package/dist/node_modules/antd/es/tooltip/PurePanel.mjs +33 -0
- package/dist/node_modules/antd/es/tooltip/index.mjs +148 -0
- package/dist/node_modules/antd/es/tooltip/style/index.mjs +139 -0
- package/dist/node_modules/antd/es/tooltip/util.mjs +15 -0
- package/dist/node_modules/antd/es/typography/hooks/useCopyClick.mjs +64 -0
- package/dist/node_modules/antd/es/upload/Dragger.mjs +32 -0
- package/dist/node_modules/antd/es/upload/Upload.mjs +304 -0
- package/dist/node_modules/antd/es/upload/UploadList/ListItem.mjs +156 -0
- package/dist/node_modules/antd/es/upload/UploadList/index.mjs +167 -0
- package/dist/node_modules/antd/es/upload/index.mjs +9 -0
- package/dist/node_modules/antd/es/upload/style/dragger.mjs +84 -0
- package/dist/node_modules/antd/es/upload/style/index.mjs +65 -0
- package/dist/node_modules/antd/es/upload/style/list.mjs +115 -0
- package/dist/node_modules/antd/es/upload/style/motion.mjs +54 -0
- package/dist/node_modules/antd/es/upload/style/picture.mjs +240 -0
- package/dist/node_modules/antd/es/upload/style/rtl.mjs +13 -0
- package/dist/node_modules/antd/es/upload/utils.mjs +79 -0
- package/dist/node_modules/antd/es/version/index.mjs +4 -0
- package/dist/node_modules/antd/es/version/version.mjs +4 -0
- package/dist/node_modules/antd/es/watermark/context.mjs +25 -0
- package/dist/node_modules/antd/lib/calendar/locale/en_US.mjs +11 -0
- package/dist/node_modules/antd/lib/date-picker/locale/en_US.mjs +28 -0
- package/dist/node_modules/antd/lib/locale/en_US.mjs +157 -0
- package/dist/node_modules/antd/lib/time-picker/locale/en_US.mjs +10 -0
- package/dist/node_modules/antd/locale/en_US.mjs +8 -0
- package/dist/node_modules/antd-img-crop/dist/antd-img-crop.esm.mjs +137 -0
- package/dist/node_modules/better-scroll/dist/better-scroll.esm.mjs +3670 -0
- package/dist/node_modules/classnames/index.mjs +42 -0
- package/dist/node_modules/clsx/dist/clsx.mjs +23 -0
- package/dist/node_modules/copy-to-clipboard/index.mjs +46 -0
- package/dist/node_modules/dayjs/dayjs.min.mjs +297 -0
- package/dist/node_modules/dayjs/locale/zh-cn.mjs +19 -0
- package/dist/node_modules/dayjs/plugin/isBetween.mjs +19 -0
- package/dist/node_modules/dayjs/plugin/isSameOrAfter.mjs +18 -0
- package/dist/node_modules/dayjs/plugin/isSameOrBefore.mjs +18 -0
- package/dist/node_modules/dayjs/plugin/isToday.mjs +19 -0
- package/dist/node_modules/dayjs/plugin/isoWeek.mjs +34 -0
- package/dist/node_modules/dayjs/plugin/objectSupport.mjs +49 -0
- package/dist/node_modules/dayjs/plugin/relativeTime.mjs +49 -0
- package/dist/node_modules/dayjs/plugin/utc.mjs +87 -0
- package/dist/node_modules/dayjs/plugin/weekOfYear.mjs +31 -0
- package/dist/node_modules/immer/dist/immer.mjs +473 -0
- package/dist/node_modules/lodash/_Symbol.mjs +5 -0
- package/dist/node_modules/lodash/_baseGetTag.mjs +11 -0
- package/dist/node_modules/lodash/_baseTrim.mjs +9 -0
- package/dist/node_modules/lodash/_freeGlobal.mjs +5 -0
- package/dist/node_modules/lodash/_getRawTag.mjs +16 -0
- package/dist/node_modules/lodash/_objectToString.mjs +8 -0
- package/dist/node_modules/lodash/_root.mjs +5 -0
- package/dist/node_modules/lodash/_trimmedEndIndex.mjs +10 -0
- package/dist/node_modules/lodash/debounce.mjs +55 -0
- package/dist/node_modules/lodash/isObject.mjs +8 -0
- package/dist/node_modules/lodash/isObjectLike.mjs +7 -0
- package/dist/node_modules/lodash/isSymbol.mjs +10 -0
- package/dist/node_modules/lodash/now.mjs +7 -0
- package/dist/node_modules/lodash/throttle.mjs +19 -0
- package/dist/node_modules/lodash/toNumber.mjs +23 -0
- package/dist/node_modules/lodash-es/_DataView.mjs +7 -0
- package/dist/node_modules/lodash-es/_Hash.mjs +20 -0
- package/dist/node_modules/lodash-es/_ListCache.mjs +20 -0
- package/dist/node_modules/lodash-es/_Map.mjs +7 -0
- package/dist/node_modules/lodash-es/_MapCache.mjs +20 -0
- package/dist/node_modules/lodash-es/_Promise.mjs +7 -0
- package/dist/node_modules/lodash-es/_Set.mjs +7 -0
- package/dist/node_modules/lodash-es/_Stack.mjs +18 -0
- package/dist/node_modules/lodash-es/_Symbol.mjs +6 -0
- package/dist/node_modules/lodash-es/_Uint8Array.mjs +6 -0
- package/dist/node_modules/lodash-es/_WeakMap.mjs +7 -0
- package/dist/node_modules/lodash-es/_apply.mjs +16 -0
- package/dist/node_modules/lodash-es/_arrayEach.mjs +8 -0
- package/dist/node_modules/lodash-es/_arrayFilter.mjs +10 -0
- package/dist/node_modules/lodash-es/_arrayLikeKeys.mjs +20 -0
- package/dist/node_modules/lodash-es/_arrayMap.mjs +8 -0
- package/dist/node_modules/lodash-es/_arrayPush.mjs +8 -0
- package/dist/node_modules/lodash-es/_assignMergeValue.mjs +8 -0
- package/dist/node_modules/lodash-es/_assignValue.mjs +10 -0
- package/dist/node_modules/lodash-es/_assocIndexOf.mjs +10 -0
- package/dist/node_modules/lodash-es/_baseAssign.mjs +8 -0
- package/dist/node_modules/lodash-es/_baseAssignIn.mjs +8 -0
- package/dist/node_modules/lodash-es/_baseAssignValue.mjs +12 -0
- package/dist/node_modules/lodash-es/_baseAt.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseClone.mjs +65 -0
- package/dist/node_modules/lodash-es/_baseCreate.mjs +18 -0
- package/dist/node_modules/lodash-es/_baseFlatten.mjs +13 -0
- package/dist/node_modules/lodash-es/_baseFor.mjs +6 -0
- package/dist/node_modules/lodash-es/_baseGet.mjs +11 -0
- package/dist/node_modules/lodash-es/_baseGetAllKeys.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseGetTag.mjs +10 -0
- package/dist/node_modules/lodash-es/_baseIsArguments.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseIsMap.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseIsNative.mjs +16 -0
- package/dist/node_modules/lodash-es/_baseIsSet.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseIsTypedArray.mjs +12 -0
- package/dist/node_modules/lodash-es/_baseKeys.mjs +14 -0
- package/dist/node_modules/lodash-es/_baseKeysIn.mjs +15 -0
- package/dist/node_modules/lodash-es/_baseMerge.mjs +20 -0
- package/dist/node_modules/lodash-es/_baseMergeDeep.mjs +31 -0
- package/dist/node_modules/lodash-es/_baseRest.mjs +9 -0
- package/dist/node_modules/lodash-es/_baseSetToString.mjs +15 -0
- package/dist/node_modules/lodash-es/_baseSlice.mjs +10 -0
- package/dist/node_modules/lodash-es/_baseTimes.mjs +8 -0
- package/dist/node_modules/lodash-es/_baseToString.mjs +18 -0
- package/dist/node_modules/lodash-es/_baseUnary.mjs +8 -0
- package/dist/node_modules/lodash-es/_baseUnset.mjs +10 -0
- package/dist/node_modules/lodash-es/_castPath.mjs +10 -0
- package/dist/node_modules/lodash-es/_cloneArrayBuffer.mjs +8 -0
- package/dist/node_modules/lodash-es/_cloneBuffer.mjs +11 -0
- package/dist/node_modules/lodash-es/_cloneDataView.mjs +8 -0
- package/dist/node_modules/lodash-es/_cloneRegExp.mjs +8 -0
- package/dist/node_modules/lodash-es/_cloneSymbol.mjs +8 -0
- package/dist/node_modules/lodash-es/_cloneTypedArray.mjs +8 -0
- package/dist/node_modules/lodash-es/_copyArray.mjs +9 -0
- package/dist/node_modules/lodash-es/_copyObject.mjs +14 -0
- package/dist/node_modules/lodash-es/_copySymbols.mjs +8 -0
- package/dist/node_modules/lodash-es/_copySymbolsIn.mjs +8 -0
- package/dist/node_modules/lodash-es/_coreJsData.mjs +6 -0
- package/dist/node_modules/lodash-es/_createAssigner.mjs +15 -0
- package/dist/node_modules/lodash-es/_createBaseFor.mjs +13 -0
- package/dist/node_modules/lodash-es/_customOmitClone.mjs +7 -0
- package/dist/node_modules/lodash-es/_defineProperty.mjs +12 -0
- package/dist/node_modules/lodash-es/_flatRest.mjs +9 -0
- package/dist/node_modules/lodash-es/_freeGlobal.mjs +5 -0
- package/dist/node_modules/lodash-es/_getAllKeys.mjs +9 -0
- package/dist/node_modules/lodash-es/_getAllKeysIn.mjs +9 -0
- package/dist/node_modules/lodash-es/_getMapData.mjs +8 -0
- package/dist/node_modules/lodash-es/_getNative.mjs +9 -0
- package/dist/node_modules/lodash-es/_getPrototype.mjs +6 -0
- package/dist/node_modules/lodash-es/_getRawTag.mjs +15 -0
- package/dist/node_modules/lodash-es/_getSymbols.mjs +11 -0
- package/dist/node_modules/lodash-es/_getSymbolsIn.mjs +13 -0
- package/dist/node_modules/lodash-es/_getTag.mjs +29 -0
- package/dist/node_modules/lodash-es/_getValue.mjs +6 -0
- package/dist/node_modules/lodash-es/_hashClear.mjs +7 -0
- package/dist/node_modules/lodash-es/_hashDelete.mjs +7 -0
- package/dist/node_modules/lodash-es/_hashGet.mjs +13 -0
- package/dist/node_modules/lodash-es/_hashHas.mjs +9 -0
- package/dist/node_modules/lodash-es/_hashSet.mjs +9 -0
- package/dist/node_modules/lodash-es/_initCloneArray.mjs +8 -0
- package/dist/node_modules/lodash-es/_initCloneByTag.mjs +42 -0
- package/dist/node_modules/lodash-es/_initCloneObject.mjs +9 -0
- package/dist/node_modules/lodash-es/_isFlattenable.mjs +10 -0
- package/dist/node_modules/lodash-es/_isIndex.mjs +8 -0
- package/dist/node_modules/lodash-es/_isIterateeCall.mjs +13 -0
- package/dist/node_modules/lodash-es/_isKey.mjs +12 -0
- package/dist/node_modules/lodash-es/_isKeyable.mjs +7 -0
- package/dist/node_modules/lodash-es/_isMasked.mjs +11 -0
- package/dist/node_modules/lodash-es/_isPrototype.mjs +8 -0
- package/dist/node_modules/lodash-es/_listCacheClear.mjs +6 -0
- package/dist/node_modules/lodash-es/_listCacheDelete.mjs +12 -0
- package/dist/node_modules/lodash-es/_listCacheGet.mjs +8 -0
- package/dist/node_modules/lodash-es/_listCacheHas.mjs +7 -0
- package/dist/node_modules/lodash-es/_listCacheSet.mjs +8 -0
- package/dist/node_modules/lodash-es/_mapCacheClear.mjs +13 -0
- package/dist/node_modules/lodash-es/_mapCacheDelete.mjs +8 -0
- package/dist/node_modules/lodash-es/_mapCacheGet.mjs +7 -0
- package/dist/node_modules/lodash-es/_mapCacheHas.mjs +7 -0
- package/dist/node_modules/lodash-es/_mapCacheSet.mjs +8 -0
- package/dist/node_modules/lodash-es/_memoizeCapped.mjs +11 -0
- package/dist/node_modules/lodash-es/_nativeCreate.mjs +6 -0
- package/dist/node_modules/lodash-es/_nativeKeys.mjs +6 -0
- package/dist/node_modules/lodash-es/_nativeKeysIn.mjs +10 -0
- package/dist/node_modules/lodash-es/_nodeUtil.mjs +12 -0
- package/dist/node_modules/lodash-es/_objectToString.mjs +7 -0
- package/dist/node_modules/lodash-es/_overArg.mjs +8 -0
- package/dist/node_modules/lodash-es/_overRest.mjs +15 -0
- package/dist/node_modules/lodash-es/_parent.mjs +8 -0
- package/dist/node_modules/lodash-es/_root.mjs +6 -0
- package/dist/node_modules/lodash-es/_safeGet.mjs +7 -0
- package/dist/node_modules/lodash-es/_setToString.mjs +7 -0
- package/dist/node_modules/lodash-es/_shortOut.mjs +16 -0
- package/dist/node_modules/lodash-es/_stackClear.mjs +7 -0
- package/dist/node_modules/lodash-es/_stackDelete.mjs +7 -0
- package/dist/node_modules/lodash-es/_stackGet.mjs +6 -0
- package/dist/node_modules/lodash-es/_stackHas.mjs +6 -0
- package/dist/node_modules/lodash-es/_stackSet.mjs +17 -0
- package/dist/node_modules/lodash-es/_stringToPath.mjs +11 -0
- package/dist/node_modules/lodash-es/_toKey.mjs +11 -0
- package/dist/node_modules/lodash-es/_toSource.mjs +17 -0
- package/dist/node_modules/lodash-es/at.mjs +7 -0
- package/dist/node_modules/lodash-es/constant.mjs +8 -0
- package/dist/node_modules/lodash-es/eq.mjs +6 -0
- package/dist/node_modules/lodash-es/flatten.mjs +8 -0
- package/dist/node_modules/lodash-es/get.mjs +8 -0
- package/dist/node_modules/lodash-es/identity.mjs +6 -0
- package/dist/node_modules/lodash-es/isArguments.mjs +11 -0
- package/dist/node_modules/lodash-es/isArray.mjs +5 -0
- package/dist/node_modules/lodash-es/isArrayLike.mjs +8 -0
- package/dist/node_modules/lodash-es/isArrayLikeObject.mjs +8 -0
- package/dist/node_modules/lodash-es/isBoolean.mjs +9 -0
- package/dist/node_modules/lodash-es/isBuffer.mjs +7 -0
- package/dist/node_modules/lodash-es/isFunction.mjs +12 -0
- package/dist/node_modules/lodash-es/isLength.mjs +7 -0
- package/dist/node_modules/lodash-es/isMap.mjs +8 -0
- package/dist/node_modules/lodash-es/isObject.mjs +7 -0
- package/dist/node_modules/lodash-es/isObjectLike.mjs +6 -0
- package/dist/node_modules/lodash-es/isPlainObject.mjs +16 -0
- package/dist/node_modules/lodash-es/isSet.mjs +8 -0
- package/dist/node_modules/lodash-es/isSymbol.mjs +9 -0
- package/dist/node_modules/lodash-es/isTypedArray.mjs +8 -0
- package/dist/node_modules/lodash-es/keys.mjs +9 -0
- package/dist/node_modules/lodash-es/keysIn.mjs +9 -0
- package/dist/node_modules/lodash-es/last.mjs +7 -0
- package/dist/node_modules/lodash-es/memoize.mjs +18 -0
- package/dist/node_modules/lodash-es/merge.mjs +9 -0
- package/dist/node_modules/lodash-es/omit.mjs +24 -0
- package/dist/node_modules/lodash-es/stubArray.mjs +6 -0
- package/dist/node_modules/lodash-es/stubFalse.mjs +6 -0
- package/dist/node_modules/lodash-es/toPlainObject.mjs +8 -0
- package/dist/node_modules/lodash-es/toString.mjs +7 -0
- package/dist/node_modules/normalize-wheel/index.mjs +7 -0
- package/dist/node_modules/normalize-wheel/src/ExecutionEnvironment.mjs +11 -0
- package/dist/node_modules/normalize-wheel/src/UserAgent_DEPRECATED.mjs +142 -0
- package/dist/node_modules/normalize-wheel/src/isEventSupported.mjs +33 -0
- package/dist/node_modules/normalize-wheel/src/normalizeWheel.mjs +19 -0
- package/dist/node_modules/object-assign/index.mjs +55 -0
- package/dist/node_modules/preact/compat/dist/compat.module.mjs +202 -0
- package/dist/node_modules/preact/dist/preact.module.mjs +343 -0
- package/dist/node_modules/preact/hooks/dist/hooks.module.mjs +63 -0
- package/dist/node_modules/prop-types/checkPropTypes.mjs +55 -0
- package/dist/node_modules/prop-types/factoryWithThrowingShims.mjs +53 -0
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.mjs +330 -0
- package/dist/node_modules/prop-types/index.mjs +16 -0
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +11 -0
- package/dist/node_modules/prop-types/lib/has.mjs +7 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.mjs +11 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.mjs +93 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Content/index.mjs +43 -0
- package/dist/node_modules/rc-dialog/es/Dialog/Mask.mjs +25 -0
- package/dist/node_modules/rc-dialog/es/Dialog/index.mjs +114 -0
- package/dist/node_modules/rc-dialog/es/DialogWrap.mjs +32 -0
- package/dist/node_modules/rc-dialog/es/context.mjs +5 -0
- package/dist/node_modules/rc-dialog/es/index.mjs +6 -0
- package/dist/node_modules/rc-dialog/es/util.mjs +23 -0
- package/dist/node_modules/rc-field-form/es/Field.mjs +300 -0
- package/dist/node_modules/rc-field-form/es/FieldContext.mjs +41 -0
- package/dist/node_modules/rc-field-form/es/Form.mjs +78 -0
- package/dist/node_modules/rc-field-form/es/FormContext.mjs +46 -0
- package/dist/node_modules/rc-field-form/es/List.mjs +82 -0
- package/dist/node_modules/rc-field-form/es/ListContext.mjs +5 -0
- package/dist/node_modules/rc-field-form/es/index.mjs +22 -0
- package/dist/node_modules/rc-field-form/es/useForm.mjs +541 -0
- package/dist/node_modules/rc-field-form/es/useWatch.mjs +53 -0
- package/dist/node_modules/rc-field-form/es/utils/NameMap.mjs +66 -0
- package/dist/node_modules/rc-field-form/es/utils/asyncUtil.mjs +15 -0
- package/dist/node_modules/rc-field-form/es/utils/messages.mjs +50 -0
- package/dist/node_modules/rc-field-form/es/utils/typeUtil.mjs +10 -0
- package/dist/node_modules/rc-field-form/es/utils/validateUtil.mjs +203 -0
- package/dist/node_modules/rc-field-form/es/utils/valueUtil.mjs +60 -0
- package/dist/node_modules/rc-motion/es/CSSMotion.mjs +73 -0
- package/dist/node_modules/rc-motion/es/CSSMotionList.mjs +95 -0
- package/dist/node_modules/rc-motion/es/DomWrapper.mjs +21 -0
- package/dist/node_modules/rc-motion/es/context.mjs +13 -0
- package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.mjs +20 -0
- package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.mjs +6 -0
- package/dist/node_modules/rc-motion/es/hooks/useNextFrame.mjs +28 -0
- package/dist/node_modules/rc-motion/es/hooks/useStatus.mjs +91 -0
- package/dist/node_modules/rc-motion/es/hooks/useStepQueue.mjs +38 -0
- package/dist/node_modules/rc-motion/es/index.mjs +7 -0
- package/dist/node_modules/rc-motion/es/interface.mjs +13 -0
- package/dist/node_modules/rc-motion/es/util/diff.mjs +65 -0
- package/dist/node_modules/rc-motion/es/util/motion.mjs +51 -0
- package/dist/node_modules/rc-pagination/es/locale/en_US.mjs +18 -0
- package/dist/node_modules/rc-pagination/lib/locale/en_US.mjs +21 -0
- package/dist/node_modules/rc-picker/es/locale/common.mjs +9 -0
- package/dist/node_modules/rc-picker/es/locale/en_US.mjs +31 -0
- package/dist/node_modules/rc-picker/lib/locale/common.mjs +14 -0
- package/dist/node_modules/rc-picker/lib/locale/en_US.mjs +37 -0
- package/dist/node_modules/rc-progress/es/Circle/PtgCircle.mjs +52 -0
- package/dist/node_modules/rc-progress/es/Circle/index.mjs +83 -0
- package/dist/node_modules/rc-progress/es/Circle/util.mjs +23 -0
- package/dist/node_modules/rc-progress/es/Line.mjs +3 -0
- package/dist/node_modules/rc-progress/es/common.mjs +27 -0
- package/dist/node_modules/rc-progress/es/hooks/useId.mjs +18 -0
- package/dist/node_modules/rc-resize-observer/es/Collection.mjs +22 -0
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.mjs +21 -0
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.mjs +59 -0
- package/dist/node_modules/rc-resize-observer/es/index.mjs +24 -0
- package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.mjs +23 -0
- package/dist/node_modules/rc-slider/es/Handles/Handle.mjs +103 -0
- package/dist/node_modules/rc-slider/es/Handles/index.mjs +69 -0
- package/dist/node_modules/rc-slider/es/Marks/Mark.mjs +22 -0
- package/dist/node_modules/rc-slider/es/Marks/index.mjs +20 -0
- package/dist/node_modules/rc-slider/es/Slider.mjs +225 -0
- package/dist/node_modules/rc-slider/es/Steps/Dot.mjs +16 -0
- package/dist/node_modules/rc-slider/es/Steps/index.mjs +28 -0
- package/dist/node_modules/rc-slider/es/Tracks/Track.mjs +34 -0
- package/dist/node_modules/rc-slider/es/Tracks/index.mjs +50 -0
- package/dist/node_modules/rc-slider/es/context.mjs +17 -0
- package/dist/node_modules/rc-slider/es/hooks/useDrag.mjs +104 -0
- package/dist/node_modules/rc-slider/es/hooks/useOffset.mjs +104 -0
- package/dist/node_modules/rc-slider/es/hooks/useRange.mjs +13 -0
- package/dist/node_modules/rc-slider/es/index.mjs +5 -0
- package/dist/node_modules/rc-slider/es/util.mjs +29 -0
- package/dist/node_modules/rc-tooltip/es/Popup.mjs +17 -0
- package/dist/node_modules/rc-tooltip/es/Tooltip.mjs +52 -0
- package/dist/node_modules/rc-tooltip/es/index.mjs +6 -0
- package/dist/node_modules/rc-tooltip/es/placements.mjs +84 -0
- package/dist/node_modules/rc-upload/es/AjaxUploader.mjs +284 -0
- package/dist/node_modules/rc-upload/es/Upload.mjs +57 -0
- package/dist/node_modules/rc-upload/es/attr-accept.mjs +22 -0
- package/dist/node_modules/rc-upload/es/index.mjs +4 -0
- package/dist/node_modules/rc-upload/es/request.mjs +46 -0
- package/dist/node_modules/rc-upload/es/traverseFileTree.mjs +137 -0
- package/dist/node_modules/rc-upload/es/uid.mjs +7 -0
- package/dist/node_modules/rc-util/es/Children/toArray.mjs +11 -0
- package/dist/node_modules/rc-util/es/Dom/canUseDom.mjs +6 -0
- package/dist/node_modules/rc-util/es/Dom/contains.mjs +15 -0
- package/dist/node_modules/rc-util/es/Dom/dynamicCSS.mjs +87 -0
- package/dist/node_modules/rc-util/es/Dom/findDOMNode.mjs +24 -0
- package/dist/node_modules/rc-util/es/Dom/isVisible.mjs +22 -0
- package/dist/node_modules/rc-util/es/Dom/shadow.mjs +14 -0
- package/dist/node_modules/rc-util/es/KeyCode.mjs +517 -0
- package/dist/node_modules/rc-util/es/React/render.mjs +81 -0
- package/dist/node_modules/rc-util/es/getScrollBarSize.mjs +38 -0
- package/dist/node_modules/rc-util/es/hooks/useEvent.mjs +14 -0
- package/dist/node_modules/rc-util/es/hooks/useId.mjs +27 -0
- package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.mjs +21 -0
- package/dist/node_modules/rc-util/es/hooks/useMemo.mjs +8 -0
- package/dist/node_modules/rc-util/es/hooks/useMergedState.mjs +25 -0
- package/dist/node_modules/rc-util/es/hooks/useState.mjs +17 -0
- package/dist/node_modules/rc-util/es/hooks/useSyncState.mjs +16 -0
- package/dist/node_modules/rc-util/es/isEqual.mjs +35 -0
- package/dist/node_modules/rc-util/es/isMobile.mjs +9 -0
- package/dist/node_modules/rc-util/es/omit.mjs +9 -0
- package/dist/node_modules/rc-util/es/pickAttrs.mjs +42 -0
- package/dist/node_modules/rc-util/es/raf.mjs +40 -0
- package/dist/node_modules/rc-util/es/ref.mjs +39 -0
- package/dist/node_modules/rc-util/es/utils/get.mjs +11 -0
- package/dist/node_modules/rc-util/es/utils/set.mjs +47 -0
- package/dist/node_modules/rc-util/es/warning.mjs +44 -0
- package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.mjs +103 -0
- package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.mjs +82 -0
- package/dist/node_modules/rc-util/node_modules/react-is/index.mjs +8 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs +616 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +32 -0
- package/dist/node_modules/react/jsx-runtime.mjs +8 -0
- package/dist/node_modules/react-device-detect/dist/lib.mjs +721 -0
- package/dist/node_modules/react-dom/client.mjs +26 -0
- package/dist/node_modules/react-draggable/build/cjs/Draggable.mjs +343 -0
- package/dist/node_modules/react-draggable/build/cjs/DraggableCore.mjs +324 -0
- package/dist/node_modules/react-draggable/build/cjs/cjs.mjs +14 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/domFns.mjs +174 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +35 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/log.mjs +7 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +107 -0
- package/dist/node_modules/react-draggable/build/cjs/utils/shims.mjs +30 -0
- package/dist/node_modules/react-draggable/node_modules/clsx/dist/clsx.m.mjs +22 -0
- package/dist/node_modules/react-easy-crop/index.module.mjs +543 -0
- package/dist/node_modules/react-i18next/dist/es/context.mjs +19 -0
- package/dist/node_modules/react-i18next/dist/es/defaults.mjs +17 -0
- package/dist/node_modules/react-i18next/dist/es/i18nInstance.mjs +7 -0
- package/dist/node_modules/react-i18next/dist/es/unescape.mjs +25 -0
- package/dist/node_modules/react-i18next/dist/es/useTranslation.mjs +74 -0
- package/dist/node_modules/react-i18next/dist/es/utils.mjs +61 -0
- package/dist/node_modules/react-is/cjs/react-is.development.mjs +95 -0
- package/dist/node_modules/react-is/cjs/react-is.production.min.mjs +79 -0
- package/dist/node_modules/react-is/index.mjs +10 -0
- package/dist/node_modules/react-resizable/build/Resizable.mjs +201 -0
- package/dist/node_modules/react-resizable/build/ResizableBox.mjs +162 -0
- package/dist/node_modules/react-resizable/build/propTypes.mjs +118 -0
- package/dist/node_modules/react-resizable/build/utils.mjs +54 -0
- package/dist/node_modules/react-resizable/index.mjs +13 -0
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.mjs +290 -0
- package/dist/node_modules/screenfull/index.mjs +122 -0
- package/dist/node_modules/stylis/src/Enum.mjs +12 -0
- package/dist/node_modules/stylis/src/Middleware.mjs +18 -0
- package/dist/node_modules/stylis/src/Parser.mjs +114 -0
- package/dist/node_modules/stylis/src/Serializer.mjs +28 -0
- package/dist/node_modules/stylis/src/Tokenizer.mjs +131 -0
- package/dist/node_modules/stylis/src/Utility.mjs +50 -0
- package/dist/node_modules/throttle-debounce/esm/index.mjs +35 -0
- package/dist/node_modules/toggle-selection/index.mjs +25 -0
- package/dist/node_modules/tslib/tslib.es6.mjs +97 -0
- package/dist/node_modules/ua-parser-js/dist/ua-parser.min.mjs +86 -0
- package/dist/node_modules/use-immer/dist/use-immer.module.mjs +13 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +61 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +60 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +85 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +50 -0
- package/dist/node_modules/use-sync-external-store/shim/index.mjs +10 -0
- package/dist/node_modules/use-sync-external-store/shim/with-selector.mjs +10 -0
- package/dist/node_modules/zustand/esm/index.mjs +24 -0
- package/dist/node_modules/zustand/esm/vanilla.mjs +16 -0
- package/dist/style.css +1 -1
- package/dist/utils/WithFluent.mjs +19 -13
- package/dist/utils/create.mjs +7 -1
- package/dist/utils/time.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1377 @@
|
|
|
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
|
+
};
|