bitz-react-admin-ui 2.13.0 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/BitzAddTag/index.mjs +40 -40
- package/dist/components/BitzAddressBook/index.mjs +58 -58
- package/dist/components/BitzAppPage/index.mjs +13 -13
- package/dist/components/BitzAppRefresh/index.mjs +19 -19
- package/dist/components/BitzBetterScroll/index.mjs +21 -21
- package/dist/components/BitzButton/index.mjs +13 -13
- package/dist/components/BitzCalendar/index.mjs +33 -33
- package/dist/components/BitzCascader/BitzCascaderMobile.mjs +30 -30
- package/dist/components/BitzCascader/index.mjs +9 -9
- package/dist/components/BitzCollapse/index.mjs +7 -7
- package/dist/components/BitzConfigProvider/index.d.ts +14 -0
- package/dist/components/BitzConfigProvider/index.mjs +13 -13
- package/dist/components/BitzConfirmModal/index.mjs +25 -25
- package/dist/components/BitzDayJs/index.mjs +1 -1
- package/dist/components/BitzDescriptions/index.mjs +5 -5
- package/dist/components/BitzDrawer/index.mjs +11 -11
- package/dist/components/BitzEmpty/index.mjs +2 -2
- package/dist/components/BitzException/index.mjs +3 -3
- package/dist/components/BitzFloatLayout/index.mjs +26 -26
- package/dist/components/BitzFluentDatePicker/index.mjs +6 -6
- package/dist/components/BitzFluentInput/index.mjs +1 -1
- package/dist/components/BitzFluentRangePicker/index.mjs +3 -3
- package/dist/components/BitzFluentRangeTimePicker/index.mjs +7 -7
- package/dist/components/BitzFluentSelect/index.mjs +1 -1
- package/dist/components/BitzFluentTimePicker/index.mjs +7 -7
- package/dist/components/BitzFluentTreeSelect/index.mjs +1 -1
- package/dist/components/BitzFuiCalendar/BitzFuiCalendarStore.mjs +1 -1
- package/dist/components/BitzFuiCalendar/CalendarAgendum.mjs +36 -36
- package/dist/components/BitzFuiCalendar/CalendarAgendumItem.mjs +29 -29
- package/dist/components/BitzFuiCalendar/CalendarBody.mjs +29 -29
- package/dist/components/BitzFuiCalendar/CalendarHead.mjs +12 -12
- package/dist/components/BitzFuiCalendar/CalendarHeadItem.mjs +13 -13
- package/dist/components/BitzFuiCalendar/CalendarToolbar.mjs +44 -44
- package/dist/components/BitzFuiCalendar/ColumnData.mjs +19 -19
- package/dist/components/BitzFuiCalendar/FuiCalendarItem.mjs +33 -33
- package/dist/components/BitzFuiCalendar/index.mjs +14 -14
- package/dist/components/BitzFullScreen/index.mjs +16 -16
- package/dist/components/BitzHighlight/Child.mjs +21 -21
- package/dist/components/BitzHighlight/Highlight.mjs +19 -19
- package/dist/components/BitzHighlight/style.mjs +22 -33
- package/dist/components/BitzImage/index.mjs +3 -3
- package/dist/components/BitzImage/previewImage.mjs +9 -10
- package/dist/components/BitzLanguageTabs/index.mjs +15 -18
- package/dist/components/BitzLazyLoad/index.mjs +4 -4
- package/dist/components/BitzList/List.mjs +7 -7
- package/dist/components/BitzList/LoadMore.mjs +32 -32
- package/dist/components/BitzLoadMore/index.mjs +20 -20
- package/dist/components/BitzMeetingTime/BitzMeetingTimeItem.mjs +40 -40
- package/dist/components/BitzMeetingTime/index.mjs +16 -16
- package/dist/components/BitzMobileLoading/index.mjs +6 -6
- package/dist/components/BitzModal/index.mjs +10 -10
- package/dist/components/BitzNoData/index.mjs +12 -12
- package/dist/components/BitzNoMore/index.mjs +5 -5
- package/dist/components/BitzOrganizationSelection/index.d.ts +1 -1
- package/dist/components/BitzOrganizationSelection/index.mjs +39 -39
- package/dist/components/BitzPageContainer/index.mjs +100 -100
- package/dist/components/BitzPageHeader/index.mjs +35 -35
- package/dist/components/BitzPagination/index.mjs +30 -30
- package/dist/components/BitzPopover/index.mjs +7 -7
- package/dist/components/BitzPullRefresh/PullRefresh.mjs +30 -31
- package/dist/components/BitzQRCode/index.mjs +4 -4
- package/dist/components/BitzQueryFilter/QueryFilterContent.mjs +48 -48
- package/dist/components/BitzQueryFilter/QueryFilterDrawer.mjs +22 -22
- package/dist/components/BitzQueryFilter/QueryFilterMobile.mjs +20 -20
- package/dist/components/BitzQueryFilter/index.mjs +31 -31
- package/dist/components/BitzRefresh/index.mjs +7 -7
- package/dist/components/BitzRemark/index.mjs +7 -7
- package/dist/components/BitzScheduleCenter/index.mjs +13 -13
- package/dist/components/BitzSearch/index.mjs +10 -10
- package/dist/components/BitzSelect/component/BitzSelectMobile.mjs +80 -80
- package/dist/components/BitzSelect/index.mjs +9 -9
- package/dist/components/BitzSkeleton/index.mjs +6 -6
- package/dist/components/BitzSwitch/index.mjs +8 -8
- package/dist/components/BitzTabbar/BitzTabbar.mjs +19 -19
- package/dist/components/BitzTabbar/BitzTabbarItem.mjs +11 -11
- package/dist/components/BitzTable/ActionBar/ActionBar.mjs +37 -37
- package/dist/components/BitzTable/ActionBar/Button.mjs +15 -15
- package/dist/components/BitzTable/ActionBar/style.mjs +29 -43
- package/dist/components/BitzTable/ActionCol/index.mjs +82 -82
- package/dist/components/BitzTable/ActionCol/style.mjs +14 -28
- package/dist/components/BitzTable/Dropdown/index.mjs +12 -12
- package/dist/components/BitzTable/Dropdown/style.mjs +13 -27
- package/dist/components/BitzTable/SelectionBar/Button.mjs +19 -19
- package/dist/components/BitzTable/SelectionBar/SelectionBar.mjs +18 -18
- package/dist/components/BitzTable/SelectionBar/style.mjs +20 -34
- package/dist/components/BitzTable/Store/index.mjs +53 -53
- package/dist/components/BitzTable/Store/utils/index.mjs +5 -5
- package/dist/components/BitzTable/SubTable/index.mjs +61 -62
- package/dist/components/BitzTable/Table/ResizableTitle copy.mjs +39 -39
- package/dist/components/BitzTable/Table/SortTableContext.mjs +19 -19
- package/dist/components/BitzTable/Table/SortableRow.mjs +23 -23
- package/dist/components/BitzTable/Table/TdCell.mjs +7 -7
- package/dist/components/BitzTable/Table/index.mjs +305 -308
- package/dist/components/BitzTable/Table/useScrollConfig.mjs +1 -1
- package/dist/components/BitzTable/Table/utils.mjs +15 -15
- package/dist/components/BitzTable/TextOverflow/index.mjs +11 -11
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnConfigModal.mjs +79 -79
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndItem.mjs +62 -65
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/DndList.mjs +33 -33
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ColumnsSort/index.mjs +196 -196
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndItem.mjs +30 -30
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/DndList.mjs +17 -17
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/ExportConfig/index.mjs +79 -79
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/RadioCard.mjs +6 -6
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/ScopeSwitch.mjs +10 -10
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/StylesConfig/index.mjs +98 -108
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/index.mjs +37 -37
- package/dist/components/BitzTable/ToolBar/ColConfigIcon/style.mjs +8 -19
- package/dist/components/BitzTable/ToolBar/ExportIcon/ExportModal.mjs +39 -39
- package/dist/components/BitzTable/ToolBar/ExportIcon/index.mjs +25 -25
- package/dist/components/BitzTable/ToolBar/FullscreenIcon/index.mjs +35 -35
- package/dist/components/BitzTable/ToolBar/Modal/index.d.ts +2 -1
- package/dist/components/BitzTable/ToolBar/Modal/index.mjs +19 -20
- package/dist/components/BitzTable/ToolBar/Modal/style.mjs +18 -29
- package/dist/components/BitzTable/ToolBar/RefreshIcon/index.mjs +21 -21
- package/dist/components/BitzTable/ToolBar/Wrapper/index.mjs +36 -36
- package/dist/components/BitzTable/ToolBar/style.mjs +25 -35
- package/dist/components/BitzTableOperations/index.mjs +9 -9
- package/dist/components/BitzTableSelect/Picker/index.mjs +24 -24
- package/dist/components/BitzTableSelect/Select/index.mjs +17 -17
- package/dist/components/BitzTableSelect/SelectPopup/getData.mjs +13 -13
- package/dist/components/BitzTableSelect/SelectPopup/index.mjs +118 -118
- package/dist/components/BitzTableSelect/SingleSelect/index.mjs +24 -24
- package/dist/components/BitzTableSelect/TableCell/index.mjs +22 -22
- package/dist/components/BitzTableSelect/TextBlock/index.mjs +16 -16
- package/dist/components/BitzTableSelect/index.mjs +21 -21
- package/dist/components/BitzTag/index.mjs +5 -5
- package/dist/components/BitzText/index.mjs +31 -31
- package/dist/components/BitzTheme/index.mjs +11 -11
- package/dist/components/BitzTimeline/index.mjs +2 -2
- package/dist/components/BitzTimer/Form.mjs +20 -20
- package/dist/components/BitzTimer/Timer.mjs +45 -45
- package/dist/components/BitzTimer/index.mjs +58 -58
- package/dist/components/BitzToast/Toast/index.d.ts +19 -6
- package/dist/components/BitzToast/Toast/index.mjs +32 -27
- package/dist/components/BitzToast/index.mjs +5 -5
- package/dist/components/BitzTooltip/index.mjs +63 -63
- package/dist/components/BitzTooltip/style.mjs +16 -31
- package/dist/components/BitzUeEditor/index.mjs +10 -10
- package/dist/components/BitzUpload/index.mjs +66 -66
- package/dist/components/BitzWebAppDrawer/index.mjs +16 -16
- package/dist/components/BitzWebAppModal/index.mjs +10 -10
- package/dist/style.css +1 -1
- package/package.json +1 -63
- package/dist/_virtual/Draggable.mjs +0 -4
- package/dist/_virtual/DraggableCore.mjs +0 -4
- package/dist/_virtual/Resizable.mjs +0 -4
- package/dist/_virtual/ResizableBox.mjs +0 -4
- package/dist/_virtual/_commonjsHelpers.mjs +0 -30
- package/dist/_virtual/cjs.mjs +0 -4
- package/dist/_virtual/client.mjs +0 -4
- package/dist/_virtual/clsx.m.mjs +0 -6
- package/dist/_virtual/common.mjs +0 -4
- package/dist/_virtual/defineProperty.mjs +0 -4
- package/dist/_virtual/domFns.mjs +0 -4
- package/dist/_virtual/en_US.mjs +0 -4
- package/dist/_virtual/en_US2.mjs +0 -4
- package/dist/_virtual/en_US3.mjs +0 -4
- package/dist/_virtual/en_US4.mjs +0 -4
- package/dist/_virtual/en_US5.mjs +0 -4
- package/dist/_virtual/en_US6.mjs +0 -4
- package/dist/_virtual/getPrefix.mjs +0 -4
- package/dist/_virtual/index.mjs +0 -4
- package/dist/_virtual/index2.mjs +0 -4
- package/dist/_virtual/index3.mjs +0 -4
- package/dist/_virtual/index4.mjs +0 -4
- package/dist/_virtual/index5.mjs +0 -4
- package/dist/_virtual/index6.mjs +0 -4
- package/dist/_virtual/interopRequireDefault.mjs +0 -4
- package/dist/_virtual/isBetween.mjs +0 -4
- package/dist/_virtual/isSameOrAfter.mjs +0 -4
- package/dist/_virtual/isSameOrBefore.mjs +0 -4
- package/dist/_virtual/isToday.mjs +0 -4
- package/dist/_virtual/isoWeek.mjs +0 -4
- package/dist/_virtual/jsx-runtime.mjs +0 -4
- package/dist/_virtual/lib.mjs +0 -4
- package/dist/_virtual/lodash.mjs +0 -4
- package/dist/_virtual/log.mjs +0 -4
- package/dist/_virtual/objectSpread2.mjs +0 -4
- package/dist/_virtual/objectSupport.mjs +0 -4
- package/dist/_virtual/positionFns.mjs +0 -4
- package/dist/_virtual/propTypes.mjs +0 -4
- package/dist/_virtual/react-is.development.mjs +0 -4
- package/dist/_virtual/react-is.development2.mjs +0 -4
- package/dist/_virtual/react-is.production.min.mjs +0 -4
- package/dist/_virtual/react-is.production.min2.mjs +0 -4
- package/dist/_virtual/react-jsx-runtime.development.mjs +0 -4
- package/dist/_virtual/react-jsx-runtime.production.min.mjs +0 -4
- package/dist/_virtual/relativeTime.mjs +0 -4
- package/dist/_virtual/shims.mjs +0 -4
- package/dist/_virtual/toPrimitive.mjs +0 -4
- package/dist/_virtual/toPropertyKey.mjs +0 -4
- package/dist/_virtual/typeof.mjs +0 -4
- package/dist/_virtual/ua-parser.min.mjs +0 -4
- package/dist/_virtual/use-sync-external-store-shim.development.mjs +0 -4
- package/dist/_virtual/use-sync-external-store-shim.production.min.mjs +0 -4
- package/dist/_virtual/utc.mjs +0 -4
- package/dist/_virtual/utils.mjs +0 -4
- package/dist/_virtual/weekOfYear.mjs +0 -4
- package/dist/_virtual/with-selector.development.mjs +0 -4
- package/dist/_virtual/with-selector.mjs +0 -4
- package/dist/_virtual/with-selector.production.min.mjs +0 -4
- package/dist/_virtual/zh-cn.mjs +0 -4
- package/dist/assets/iconfont/IconChenggong.mjs +0 -19
- package/dist/assets/iconfont/IconClose.mjs +0 -19
- package/dist/assets/iconfont/IconColumnCancelFixed.mjs +0 -19
- package/dist/assets/iconfont/IconColumnFixedLeft.mjs +0 -19
- package/dist/assets/iconfont/IconColumnFixedRight.mjs +0 -19
- package/dist/assets/iconfont/IconCuowu.mjs +0 -19
- package/dist/assets/iconfont/IconDragOrder.mjs +0 -19
- package/dist/assets/iconfont/IconDuigoux.mjs +0 -19
- package/dist/assets/iconfont/IconFabu.mjs +0 -22
- package/dist/assets/iconfont/IconFanhui.mjs +0 -19
- package/dist/assets/iconfont/IconGaojisousuo.mjs +0 -19
- package/dist/assets/iconfont/IconHangfengexian.mjs +0 -23
- package/dist/assets/iconfont/IconHangliefengexian.mjs +0 -23
- package/dist/assets/iconfont/IconIcFluentHomeRegular.mjs +0 -19
- package/dist/assets/iconfont/IconIcon21.mjs +0 -19
- package/dist/assets/iconfont/IconJincoude.mjs +0 -19
- package/dist/assets/iconfont/IconJinggao.mjs +0 -19
- package/dist/assets/iconfont/IconKuansongde.mjs +0 -19
- package/dist/assets/iconfont/IconLiefengexian.mjs +0 -23
- package/dist/assets/iconfont/IconMore.mjs +0 -23
- package/dist/assets/iconfont/IconShanchu.mjs +0 -19
- package/dist/assets/iconfont/IconShanchu1.mjs +0 -22
- package/dist/assets/iconfont/IconSousuo.mjs +0 -19
- package/dist/assets/iconfont/IconTejincou.mjs +0 -19
- package/dist/assets/iconfont/IconTekuansong.mjs +0 -19
- package/dist/assets/iconfont/IconTishi1.mjs +0 -19
- package/dist/assets/iconfont/IconTuodong.mjs +0 -19
- package/dist/assets/iconfont/IconWubanmawentianchong.mjs +0 -22
- package/dist/assets/iconfont/IconWufengexian.mjs +0 -19
- package/dist/assets/iconfont/IconXinxitishi.mjs +0 -19
- package/dist/assets/iconfont/IconYoubanmawentianchong.mjs +0 -22
- package/dist/assets/iconfont/IconZhongdengde.mjs +0 -19
- package/dist/assets/iconfont/IconZhongzhi.mjs +0 -19
- package/dist/assets/iconfont/helper.mjs +0 -4
- package/dist/assets/iconfont/index.mjs +0 -144
- package/dist/assets/images/language/cn.svg.mjs +0 -4
- package/dist/assets/images/language/gb.svg.mjs +0 -4
- package/dist/assets/images/language/jp.svg.mjs +0 -4
- package/dist/assets/images/language/kr.svg.mjs +0 -4
- package/dist/assets/images/nodata.png.mjs +0 -4
- package/dist/hooks/use-event-listener.mjs +0 -39
- package/dist/hooks/use-lock-fn.mjs +0 -18
- package/dist/hooks/use-scroll-parent.mjs +0 -34
- package/dist/hooks/use-touch.mjs +0 -33
- package/dist/hooks/useEvent.mjs +0 -11
- package/dist/hooks/useMergedState.mjs +0 -27
- package/dist/hooks/useState.mjs +0 -14
- package/dist/node_modules/@ant-design/colors/es/generate.mjs +0 -93
- package/dist/node_modules/@ant-design/colors/es/presets.mjs +0 -72
- package/dist/node_modules/@ant-design/cssinjs/es/Cache.mjs +0 -40
- package/dist/node_modules/@ant-design/cssinjs/es/Keyframes.mjs +0 -18
- package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.mjs +0 -38
- package/dist/node_modules/@ant-design/cssinjs/es/extractStyle.mjs +0 -9
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCSSVarRegister.mjs +0 -51
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.mjs +0 -92
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs +0 -15
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs +0 -27
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.mjs +0 -47
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useHMR.mjs +0 -22
- package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.mjs +0 -210
- package/dist/node_modules/@ant-design/cssinjs/es/linters/contentQuotesLinter.mjs +0 -10
- package/dist/node_modules/@ant-design/cssinjs/es/linters/hashedAnimationLinter.mjs +0 -7
- package/dist/node_modules/@ant-design/cssinjs/es/linters/utils.mjs +0 -8
- package/dist/node_modules/@ant-design/cssinjs/es/theme/Theme.mjs +0 -20
- package/dist/node_modules/@ant-design/cssinjs/es/theme/ThemeCache.mjs +0 -104
- package/dist/node_modules/@ant-design/cssinjs/es/theme/createTheme.mjs +0 -10
- package/dist/node_modules/@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs +0 -4
- package/dist/node_modules/@ant-design/cssinjs/es/util/cacheMapUtil.mjs +0 -42
- package/dist/node_modules/@ant-design/cssinjs/es/util/css-variables.mjs +0 -28
- package/dist/node_modules/@ant-design/cssinjs/es/util/index.mjs +0 -52
- package/dist/node_modules/@ant-design/cssinjs/node_modules/@emotion/hash/dist/hash.browser.esm.mjs +0 -22
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Enum.mjs +0 -9
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Parser.mjs +0 -114
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Serializer.mjs +0 -29
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Tokenizer.mjs +0 -127
- package/dist/node_modules/@ant-design/cssinjs/node_modules/stylis/src/Utility.mjs +0 -37
- package/dist/node_modules/@ant-design/cssinjs-utils/es/_util/hooks/useUniqueMemo.mjs +0 -63
- package/dist/node_modules/@ant-design/cssinjs-utils/es/hooks/useCSP.mjs +0 -6
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/CSSCalculator.mjs +0 -59
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/NumCalculator.mjs +0 -44
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/calculator.mjs +0 -8
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/calc/index.mjs +0 -11
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/genStyleUtils.mjs +0 -156
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getCompVarPrefix.mjs +0 -6
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getComponentToken.mjs +0 -26
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/getDefaultComponentToken.mjs +0 -11
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/maxmin.mjs +0 -36
- package/dist/node_modules/@ant-design/cssinjs-utils/es/util/statistic.mjs +0 -55
- package/dist/node_modules/@ant-design/fast-color/es/FastColor.mjs +0 -327
- package/dist/node_modules/@ant-design/icons/es/components/AntdIcon.mjs +0 -42
- package/dist/node_modules/@ant-design/icons/es/components/Context.mjs +0 -6
- package/dist/node_modules/@ant-design/icons/es/components/IconBase.mjs +0 -46
- package/dist/node_modules/@ant-design/icons/es/components/twoTonePrimaryColor.mjs +0 -18
- package/dist/node_modules/@ant-design/icons/es/icons/CheckCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CheckOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CloseCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/CloseOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/DeleteOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/DownloadOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/ExclamationCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/EyeOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/FileTwoTone.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/InfoCircleFilled.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/LoadingOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PaperClipOutlined.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/icons/PictureTwoTone.mjs +0 -15
- package/dist/node_modules/@ant-design/icons/es/utils.mjs +0 -127
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CheckOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/CloseOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DeleteOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/DownloadOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/ExclamationCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/EyeOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/FileTwoTone.mjs +0 -7
- package/dist/node_modules/@ant-design/icons-svg/es/asn/InfoCircleFilled.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PaperClipOutlined.mjs +0 -5
- package/dist/node_modules/@ant-design/icons-svg/es/asn/PictureTwoTone.mjs +0 -7
- package/dist/node_modules/@babel/runtime/helpers/defineProperty.mjs +0 -18
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +0 -9
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.mjs +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.mjs +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.mjs +0 -26
- package/dist/node_modules/@babel/runtime/helpers/esm/classCallCheck.mjs +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/construct.mjs +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/createClass.mjs +0 -15
- package/dist/node_modules/@babel/runtime/helpers/esm/createSuper.mjs +0 -18
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.mjs +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.mjs +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.mjs +0 -17
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeFunction.mjs +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.mjs +0 -13
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.mjs +0 -29
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableRest.mjs +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +0 -7
- package/dist/node_modules/@babel/runtime/helpers/esm/objectSpread2.mjs +0 -25
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +0 -15
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +0 -15
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.mjs +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.mjs +0 -315
- package/dist/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.mjs +0 -8
- package/dist/node_modules/@babel/runtime/helpers/esm/slicedToArray.mjs +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toArray.mjs +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +0 -10
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +0 -16
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +0 -9
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.mjs +0 -11
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +0 -12
- package/dist/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.mjs +0 -32
- package/dist/node_modules/@babel/runtime/helpers/interopRequireDefault.mjs +0 -13
- package/dist/node_modules/@babel/runtime/helpers/objectSpread2.mjs +0 -31
- package/dist/node_modules/@babel/runtime/helpers/toPrimitive.mjs +0 -22
- package/dist/node_modules/@babel/runtime/helpers/toPropertyKey.mjs +0 -15
- package/dist/node_modules/@babel/runtime/helpers/typeof.mjs +0 -16
- package/dist/node_modules/@better-scroll/core/dist/core.esm.mjs +0 -1377
- package/dist/node_modules/@better-scroll/wheel/dist/wheel.esm.mjs +0 -253
- package/dist/node_modules/@ctrl/tinycolor/dist/module/conversion.mjs +0 -115
- package/dist/node_modules/@ctrl/tinycolor/dist/module/css-color-names.mjs +0 -153
- package/dist/node_modules/@ctrl/tinycolor/dist/module/format-input.mjs +0 -68
- package/dist/node_modules/@ctrl/tinycolor/dist/module/index.mjs +0 -183
- package/dist/node_modules/@ctrl/tinycolor/dist/module/util.mjs +0 -32
- package/dist/node_modules/@dnd-kit/accessibility/dist/accessibility.esm.mjs +0 -54
- package/dist/node_modules/@dnd-kit/core/dist/core.esm.mjs +0 -2524
- package/dist/node_modules/@dnd-kit/modifiers/dist/modifiers.esm.mjs +0 -27
- package/dist/node_modules/@dnd-kit/sortable/dist/sortable.esm.mjs +0 -367
- package/dist/node_modules/@dnd-kit/utilities/dist/utilities.esm.mjs +0 -235
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.mjs +0 -251
- package/dist/node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.mjs +0 -86
- package/dist/node_modules/@emotion/css/dist/emotion-css.esm.mjs +0 -7
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.mjs +0 -22
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.mjs +0 -9
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.mjs +0 -134
- package/dist/node_modules/@emotion/serialize/node_modules/@emotion/unitless/dist/emotion-unitless.esm.mjs +0 -53
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.mjs +0 -45
- package/dist/node_modules/@emotion/unitless/dist/unitless.browser.esm.mjs +0 -51
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.mjs +0 -34
- package/dist/node_modules/@fullcalendar/core/index.mjs +0 -1365
- package/dist/node_modules/@fullcalendar/core/internal-common.mjs +0 -4823
- package/dist/node_modules/@fullcalendar/core/locales/zh-cn.mjs +0 -28
- package/dist/node_modules/@fullcalendar/daygrid/index.mjs +0 -32
- package/dist/node_modules/@fullcalendar/daygrid/internal.mjs +0 -746
- package/dist/node_modules/@fullcalendar/interaction/index.mjs +0 -842
- package/dist/node_modules/@fullcalendar/list/index.mjs +0 -54
- package/dist/node_modules/@fullcalendar/list/internal.mjs +0 -207
- package/dist/node_modules/@fullcalendar/react/dist/index.mjs +0 -71
- package/dist/node_modules/@fullcalendar/timegrid/index.mjs +0 -31
- package/dist/node_modules/@fullcalendar/timegrid/internal.mjs +0 -900
- package/dist/node_modules/@rc-component/async-validator/es/index.mjs +0 -159
- package/dist/node_modules/@rc-component/async-validator/es/messages.mjs +0 -58
- package/dist/node_modules/@rc-component/async-validator/es/rule/enum.mjs +0 -7
- package/dist/node_modules/@rc-component/async-validator/es/rule/index.mjs +0 -17
- package/dist/node_modules/@rc-component/async-validator/es/rule/pattern.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/rule/range.mjs +0 -10
- package/dist/node_modules/@rc-component/async-validator/es/rule/required.mjs +0 -7
- package/dist/node_modules/@rc-component/async-validator/es/rule/type.mjs +0 -63
- package/dist/node_modules/@rc-component/async-validator/es/rule/url.mjs +0 -37
- package/dist/node_modules/@rc-component/async-validator/es/rule/whitespace.mjs +0 -7
- package/dist/node_modules/@rc-component/async-validator/es/util.mjs +0 -167
- package/dist/node_modules/@rc-component/async-validator/es/validator/any.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/array.mjs +0 -13
- package/dist/node_modules/@rc-component/async-validator/es/validator/boolean.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/date.mjs +0 -17
- package/dist/node_modules/@rc-component/async-validator/es/validator/enum.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/float.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/index.mjs +0 -37
- package/dist/node_modules/@rc-component/async-validator/es/validator/integer.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/method.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/number.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/object.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/pattern.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/regexp.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/required.mjs +0 -9
- package/dist/node_modules/@rc-component/async-validator/es/validator/string.mjs +0 -14
- package/dist/node_modules/@rc-component/async-validator/es/validator/type.mjs +0 -14
- package/dist/node_modules/@rc-component/color-picker/es/ColorPicker.mjs +0 -103
- package/dist/node_modules/@rc-component/color-picker/es/color.mjs +0 -47
- package/dist/node_modules/@rc-component/color-picker/es/components/ColorBlock.mjs +0 -18
- package/dist/node_modules/@rc-component/color-picker/es/components/Gradient.mjs +0 -22
- package/dist/node_modules/@rc-component/color-picker/es/components/Handler.mjs +0 -15
- package/dist/node_modules/@rc-component/color-picker/es/components/Palette.mjs +0 -14
- package/dist/node_modules/@rc-component/color-picker/es/components/Picker.mjs +0 -58
- package/dist/node_modules/@rc-component/color-picker/es/components/Slider.mjs +0 -76
- package/dist/node_modules/@rc-component/color-picker/es/components/Transform.mjs +0 -17
- package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorDrag.mjs +0 -41
- package/dist/node_modules/@rc-component/color-picker/es/hooks/useColorState.mjs +0 -17
- package/dist/node_modules/@rc-component/color-picker/es/hooks/useComponent.mjs +0 -11
- package/dist/node_modules/@rc-component/color-picker/es/util.mjs +0 -50
- package/dist/node_modules/@rc-component/portal/es/Context.mjs +0 -5
- package/dist/node_modules/@rc-component/portal/es/Portal.mjs +0 -45
- package/dist/node_modules/@rc-component/portal/es/index.mjs +0 -4
- package/dist/node_modules/@rc-component/portal/es/mock.mjs +0 -8
- package/dist/node_modules/@rc-component/portal/es/useDom.mjs +0 -37
- package/dist/node_modules/@rc-component/portal/es/useScrollLocker.mjs +0 -29
- package/dist/node_modules/@rc-component/portal/es/util.mjs +0 -6
- package/dist/node_modules/@rc-component/trigger/es/Popup/Arrow.mjs +0 -22
- package/dist/node_modules/@rc-component/trigger/es/Popup/Mask.mjs +0 -24
- package/dist/node_modules/@rc-component/trigger/es/Popup/PopupContent.mjs +0 -11
- package/dist/node_modules/@rc-component/trigger/es/Popup/index.mjs +0 -92
- package/dist/node_modules/@rc-component/trigger/es/TriggerWrapper.mjs +0 -14
- package/dist/node_modules/@rc-component/trigger/es/context.mjs +0 -5
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAction.mjs +0 -13
- package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.mjs +0 -187
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWatch.mjs +0 -27
- package/dist/node_modules/@rc-component/trigger/es/hooks/useWinClick.mjs +0 -27
- package/dist/node_modules/@rc-component/trigger/es/index.mjs +0 -213
- package/dist/node_modules/@rc-component/trigger/es/util.mjs +0 -61
- package/dist/node_modules/ahooks/es/createUpdateEffect/index.mjs +0 -20
- package/dist/node_modules/ahooks/es/useClickAway/index.mjs +0 -27
- package/dist/node_modules/ahooks/es/useControllableValue/index.mjs +0 -23
- package/dist/node_modules/ahooks/es/useInterval/index.mjs +0 -17
- package/dist/node_modules/ahooks/es/useLatest/index.mjs +0 -8
- package/dist/node_modules/ahooks/es/useMemoizedFn/index.mjs +0 -19
- package/dist/node_modules/ahooks/es/useRafState/index.mjs +0 -16
- package/dist/node_modules/ahooks/es/useSetState/index.mjs +0 -16
- package/dist/node_modules/ahooks/es/useSize/index.mjs +0 -34
- package/dist/node_modules/ahooks/es/useThrottleFn/index.mjs +0 -28
- package/dist/node_modules/ahooks/es/useUnmount/index.mjs +0 -17
- package/dist/node_modules/ahooks/es/useUpdate/index.mjs +0 -12
- package/dist/node_modules/ahooks/es/useUpdateEffect/index.mjs +0 -6
- package/dist/node_modules/ahooks/es/useUpdateLayoutEffect/index.mjs +0 -6
- package/dist/node_modules/ahooks/es/utils/createEffectWithTarget.mjs +0 -27
- package/dist/node_modules/ahooks/es/utils/depsAreSame.mjs +0 -11
- package/dist/node_modules/ahooks/es/utils/domTarget.mjs +0 -13
- package/dist/node_modules/ahooks/es/utils/getDocumentOrShadow.mjs +0 -18
- package/dist/node_modules/ahooks/es/utils/index.mjs +0 -9
- package/dist/node_modules/ahooks/es/utils/isBrowser.mjs +0 -5
- package/dist/node_modules/ahooks/es/utils/isDev.mjs +0 -5
- package/dist/node_modules/ahooks/es/utils/useEffectWithTarget.mjs +0 -7
- package/dist/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.mjs +0 -8
- package/dist/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.mjs +0 -7
- package/dist/node_modules/antd/es/_util/ActionButton.mjs +0 -70
- package/dist/node_modules/antd/es/_util/ContextIsolator.mjs +0 -20
- package/dist/node_modules/antd/es/_util/PurePanel.mjs +0 -16
- package/dist/node_modules/antd/es/_util/colors.mjs +0 -9
- package/dist/node_modules/antd/es/_util/hooks/useClosable.mjs +0 -66
- package/dist/node_modules/antd/es/_util/hooks/useForceUpdate.mjs +0 -8
- package/dist/node_modules/antd/es/_util/hooks/usePatchElement.mjs +0 -11
- package/dist/node_modules/antd/es/_util/hooks/useZIndex.mjs +0 -45
- package/dist/node_modules/antd/es/_util/motion.mjs +0 -34
- package/dist/node_modules/antd/es/_util/placements.mjs +0 -150
- package/dist/node_modules/antd/es/_util/reactNode.mjs +0 -13
- package/dist/node_modules/antd/es/_util/styleChecker.mjs +0 -5
- package/dist/node_modules/antd/es/_util/toList.mjs +0 -6
- package/dist/node_modules/antd/es/_util/warning.mjs +0 -38
- package/dist/node_modules/antd/es/_util/wave/WaveEffect.mjs +0 -96
- package/dist/node_modules/antd/es/_util/wave/index.mjs +0 -40
- package/dist/node_modules/antd/es/_util/wave/interface.mjs +0 -6
- package/dist/node_modules/antd/es/_util/wave/style.mjs +0 -47
- package/dist/node_modules/antd/es/_util/wave/useWave.mjs +0 -38
- package/dist/node_modules/antd/es/_util/wave/util.mjs +0 -16
- package/dist/node_modules/antd/es/_util/zindexContext.mjs +0 -7
- package/dist/node_modules/antd/es/button/IconWrapper.mjs +0 -18
- package/dist/node_modules/antd/es/button/LoadingIcon.mjs +0 -70
- package/dist/node_modules/antd/es/button/button-group.mjs +0 -65
- package/dist/node_modules/antd/es/button/button.mjs +0 -177
- package/dist/node_modules/antd/es/button/buttonHelpers.mjs +0 -44
- package/dist/node_modules/antd/es/button/index.mjs +0 -4
- package/dist/node_modules/antd/es/button/style/compactCmp.mjs +0 -75
- package/dist/node_modules/antd/es/button/style/group.mjs +0 -70
- package/dist/node_modules/antd/es/button/style/index.mjs +0 -373
- package/dist/node_modules/antd/es/button/style/token.mjs +0 -81
- package/dist/node_modules/antd/es/calendar/locale/en_US.mjs +0 -4
- package/dist/node_modules/antd/es/color-picker/color.mjs +0 -96
- package/dist/node_modules/antd/es/color-picker/components/ColorPresets.mjs +0 -17
- package/dist/node_modules/antd/es/config-provider/DisabledContext.mjs +0 -15
- package/dist/node_modules/antd/es/config-provider/MotionWrapper.mjs +0 -32
- package/dist/node_modules/antd/es/config-provider/PropWarning.mjs +0 -13
- package/dist/node_modules/antd/es/config-provider/SizeContext.mjs +0 -15
- package/dist/node_modules/antd/es/config-provider/context.mjs +0 -11
- package/dist/node_modules/antd/es/config-provider/cssVariables.mjs +0 -39
- package/dist/node_modules/antd/es/config-provider/hooks/useCSSVarCls.mjs +0 -23
- package/dist/node_modules/antd/es/config-provider/hooks/useConfig.mjs +0 -13
- package/dist/node_modules/antd/es/config-provider/hooks/useSize.mjs +0 -9
- package/dist/node_modules/antd/es/config-provider/hooks/useTheme.mjs +0 -41
- package/dist/node_modules/antd/es/config-provider/hooks/useThemeKey.mjs +0 -7
- package/dist/node_modules/antd/es/config-provider/index.mjs +0 -327
- package/dist/node_modules/antd/es/date-picker/locale/en_US.mjs +0 -20
- package/dist/node_modules/antd/es/form/context.mjs +0 -23
- package/dist/node_modules/antd/es/form/validateMessagesContext.mjs +0 -5
- package/dist/node_modules/antd/es/locale/context.mjs +0 -5
- package/dist/node_modules/antd/es/locale/en_US.mjs +0 -146
- package/dist/node_modules/antd/es/locale/index.mjs +0 -28
- package/dist/node_modules/antd/es/locale/useLocale.mjs +0 -17
- package/dist/node_modules/antd/es/modal/ConfirmDialog.mjs +0 -175
- package/dist/node_modules/antd/es/modal/Modal.mjs +0 -137
- package/dist/node_modules/antd/es/modal/PurePanel.mjs +0 -60
- package/dist/node_modules/antd/es/modal/components/ConfirmCancelBtn.mjs +0 -29
- package/dist/node_modules/antd/es/modal/components/ConfirmOkBtn.mjs +0 -30
- package/dist/node_modules/antd/es/modal/components/NormalCancelBtn.mjs +0 -16
- package/dist/node_modules/antd/es/modal/components/NormalOkBtn.mjs +0 -20
- package/dist/node_modules/antd/es/modal/confirm.mjs +0 -122
- package/dist/node_modules/antd/es/modal/context.mjs +0 -8
- package/dist/node_modules/antd/es/modal/destroyFns.mjs +0 -4
- package/dist/node_modules/antd/es/modal/index.mjs +0 -37
- package/dist/node_modules/antd/es/modal/locale.mjs +0 -19
- package/dist/node_modules/antd/es/modal/shared.mjs +0 -51
- package/dist/node_modules/antd/es/modal/style/confirm.mjs +0 -113
- package/dist/node_modules/antd/es/modal/style/index.mjs +0 -292
- package/dist/node_modules/antd/es/modal/useModal/HookModal.mjs +0 -60
- package/dist/node_modules/antd/es/modal/useModal/index.mjs +0 -73
- package/dist/node_modules/antd/es/progress/Circle.mjs +0 -60
- package/dist/node_modules/antd/es/progress/Line.mjs +0 -109
- package/dist/node_modules/antd/es/progress/Steps.mjs +0 -38
- package/dist/node_modules/antd/es/progress/index.mjs +0 -4
- package/dist/node_modules/antd/es/progress/progress.mjs +0 -120
- package/dist/node_modules/antd/es/progress/style/index.mjs +0 -313
- package/dist/node_modules/antd/es/progress/utils.mjs +0 -51
- package/dist/node_modules/antd/es/skeleton/Avatar.mjs +0 -31
- package/dist/node_modules/antd/es/skeleton/Button.mjs +0 -31
- package/dist/node_modules/antd/es/skeleton/Element.mjs +0 -29
- package/dist/node_modules/antd/es/skeleton/Image.mjs +0 -34
- package/dist/node_modules/antd/es/skeleton/Input.mjs +0 -31
- package/dist/node_modules/antd/es/skeleton/Node.mjs +0 -28
- package/dist/node_modules/antd/es/skeleton/Paragraph.mjs +0 -35
- package/dist/node_modules/antd/es/skeleton/Skeleton.mjs +0 -108
- package/dist/node_modules/antd/es/skeleton/Title.mjs +0 -22
- package/dist/node_modules/antd/es/skeleton/index.mjs +0 -4
- package/dist/node_modules/antd/es/skeleton/style/index.mjs +0 -311
- package/dist/node_modules/antd/es/slider/Context.mjs +0 -5
- package/dist/node_modules/antd/es/slider/SliderTooltip.mjs +0 -30
- package/dist/node_modules/antd/es/slider/index.mjs +0 -153
- package/dist/node_modules/antd/es/slider/style/index.mjs +0 -325
- package/dist/node_modules/antd/es/slider/useRafLock.mjs +0 -15
- package/dist/node_modules/antd/es/space/Compact.mjs +0 -37
- package/dist/node_modules/antd/es/style/compact-item-vertical.mjs +0 -44
- package/dist/node_modules/antd/es/style/compact-item.mjs +0 -61
- package/dist/node_modules/antd/es/style/index.mjs +0 -125
- package/dist/node_modules/antd/es/style/motion/collapse.mjs +0 -20
- package/dist/node_modules/antd/es/style/motion/fade.mjs +0 -50
- package/dist/node_modules/antd/es/style/motion/motion.mjs +0 -35
- package/dist/node_modules/antd/es/style/motion/zoom.mjs +0 -195
- package/dist/node_modules/antd/es/style/placementArrow.mjs +0 -164
- package/dist/node_modules/antd/es/style/roundedArrow.mjs +0 -74
- package/dist/node_modules/antd/es/table/ExpandIcon.mjs +0 -29
- package/dist/node_modules/antd/es/theme/context.mjs +0 -25
- package/dist/node_modules/antd/es/theme/getDesignToken.mjs +0 -23
- package/dist/node_modules/antd/es/theme/interface/presetColors.mjs +0 -4
- package/dist/node_modules/antd/es/theme/themes/compact/genCompactSizeMapToken.mjs +0 -20
- package/dist/node_modules/antd/es/theme/themes/compact/index.mjs +0 -16
- package/dist/node_modules/antd/es/theme/themes/dark/colorAlgorithm.mjs +0 -6
- package/dist/node_modules/antd/es/theme/themes/dark/colors.mjs +0 -51
- package/dist/node_modules/antd/es/theme/themes/dark/index.mjs +0 -21
- package/dist/node_modules/antd/es/theme/themes/default/colorAlgorithm.mjs +0 -6
- package/dist/node_modules/antd/es/theme/themes/default/colors.mjs +0 -49
- package/dist/node_modules/antd/es/theme/themes/default/index.mjs +0 -23
- package/dist/node_modules/antd/es/theme/themes/seed.mjs +0 -69
- package/dist/node_modules/antd/es/theme/themes/shared/genColorMapToken.mjs +0 -78
- package/dist/node_modules/antd/es/theme/themes/shared/genCommonMapToken.mjs +0 -20
- package/dist/node_modules/antd/es/theme/themes/shared/genControlHeight.mjs +0 -13
- package/dist/node_modules/antd/es/theme/themes/shared/genFontMapToken.mjs +0 -29
- package/dist/node_modules/antd/es/theme/themes/shared/genFontSizes.mjs +0 -17
- package/dist/node_modules/antd/es/theme/themes/shared/genRadius.mjs +0 -13
- package/dist/node_modules/antd/es/theme/themes/shared/genSizeMapToken.mjs +0 -29
- package/dist/node_modules/antd/es/theme/useToken.mjs +0 -118
- package/dist/node_modules/antd/es/theme/util/alias.mjs +0 -162
- package/dist/node_modules/antd/es/theme/util/genPresetColor.mjs +0 -15
- package/dist/node_modules/antd/es/theme/util/genStyleUtils.mjs +0 -50
- package/dist/node_modules/antd/es/theme/util/getAlphaColor.mjs +0 -38
- package/dist/node_modules/antd/es/theme/util/useResetIconStyle.mjs +0 -36
- package/dist/node_modules/antd/es/time-picker/locale/en_US.mjs +0 -7
- package/dist/node_modules/antd/es/tooltip/PurePanel.mjs +0 -33
- package/dist/node_modules/antd/es/tooltip/index.mjs +0 -148
- package/dist/node_modules/antd/es/tooltip/style/index.mjs +0 -139
- package/dist/node_modules/antd/es/tooltip/util.mjs +0 -15
- package/dist/node_modules/antd/es/typography/hooks/useCopyClick.mjs +0 -64
- package/dist/node_modules/antd/es/upload/Dragger.mjs +0 -32
- package/dist/node_modules/antd/es/upload/Upload.mjs +0 -304
- package/dist/node_modules/antd/es/upload/UploadList/ListItem.mjs +0 -156
- package/dist/node_modules/antd/es/upload/UploadList/index.mjs +0 -167
- package/dist/node_modules/antd/es/upload/index.mjs +0 -9
- package/dist/node_modules/antd/es/upload/style/dragger.mjs +0 -84
- package/dist/node_modules/antd/es/upload/style/index.mjs +0 -65
- package/dist/node_modules/antd/es/upload/style/list.mjs +0 -115
- package/dist/node_modules/antd/es/upload/style/motion.mjs +0 -54
- package/dist/node_modules/antd/es/upload/style/picture.mjs +0 -240
- package/dist/node_modules/antd/es/upload/style/rtl.mjs +0 -13
- package/dist/node_modules/antd/es/upload/utils.mjs +0 -79
- package/dist/node_modules/antd/es/version/index.mjs +0 -4
- package/dist/node_modules/antd/es/version/version.mjs +0 -4
- package/dist/node_modules/antd/es/watermark/context.mjs +0 -25
- package/dist/node_modules/antd/lib/calendar/locale/en_US.mjs +0 -11
- package/dist/node_modules/antd/lib/date-picker/locale/en_US.mjs +0 -28
- package/dist/node_modules/antd/lib/locale/en_US.mjs +0 -157
- package/dist/node_modules/antd/lib/time-picker/locale/en_US.mjs +0 -10
- package/dist/node_modules/antd/locale/en_US.mjs +0 -8
- package/dist/node_modules/antd-img-crop/dist/antd-img-crop.esm.mjs +0 -137
- package/dist/node_modules/better-scroll/dist/better-scroll.esm.mjs +0 -3670
- package/dist/node_modules/classnames/index.mjs +0 -42
- package/dist/node_modules/clsx/dist/clsx.mjs +0 -23
- package/dist/node_modules/copy-to-clipboard/index.mjs +0 -46
- package/dist/node_modules/dayjs/locale/zh-cn.mjs +0 -19
- package/dist/node_modules/dayjs/plugin/isBetween.mjs +0 -19
- package/dist/node_modules/dayjs/plugin/isSameOrAfter.mjs +0 -18
- package/dist/node_modules/dayjs/plugin/isSameOrBefore.mjs +0 -18
- package/dist/node_modules/dayjs/plugin/isToday.mjs +0 -19
- package/dist/node_modules/dayjs/plugin/isoWeek.mjs +0 -34
- package/dist/node_modules/dayjs/plugin/objectSupport.mjs +0 -49
- package/dist/node_modules/dayjs/plugin/relativeTime.mjs +0 -49
- package/dist/node_modules/dayjs/plugin/utc.mjs +0 -87
- package/dist/node_modules/dayjs/plugin/weekOfYear.mjs +0 -31
- package/dist/node_modules/immer/dist/immer.mjs +0 -473
- package/dist/node_modules/lodash/_Symbol.mjs +0 -5
- package/dist/node_modules/lodash/_baseGetTag.mjs +0 -11
- package/dist/node_modules/lodash/_baseTrim.mjs +0 -9
- package/dist/node_modules/lodash/_freeGlobal.mjs +0 -5
- package/dist/node_modules/lodash/_getRawTag.mjs +0 -16
- package/dist/node_modules/lodash/_objectToString.mjs +0 -8
- package/dist/node_modules/lodash/_root.mjs +0 -5
- package/dist/node_modules/lodash/_trimmedEndIndex.mjs +0 -10
- package/dist/node_modules/lodash/debounce.mjs +0 -55
- package/dist/node_modules/lodash/isObject.mjs +0 -8
- package/dist/node_modules/lodash/isObjectLike.mjs +0 -7
- package/dist/node_modules/lodash/isSymbol.mjs +0 -10
- package/dist/node_modules/lodash/lodash.mjs +0 -3680
- package/dist/node_modules/lodash/now.mjs +0 -7
- package/dist/node_modules/lodash/throttle.mjs +0 -19
- package/dist/node_modules/lodash/toNumber.mjs +0 -23
- package/dist/node_modules/normalize-wheel/index.mjs +0 -7
- package/dist/node_modules/normalize-wheel/src/ExecutionEnvironment.mjs +0 -11
- package/dist/node_modules/normalize-wheel/src/UserAgent_DEPRECATED.mjs +0 -142
- package/dist/node_modules/normalize-wheel/src/isEventSupported.mjs +0 -33
- package/dist/node_modules/normalize-wheel/src/normalizeWheel.mjs +0 -19
- package/dist/node_modules/object-assign/index.mjs +0 -55
- package/dist/node_modules/preact/compat/dist/compat.module.mjs +0 -202
- package/dist/node_modules/preact/dist/preact.module.mjs +0 -343
- package/dist/node_modules/preact/hooks/dist/hooks.module.mjs +0 -63
- package/dist/node_modules/prop-types/checkPropTypes.mjs +0 -55
- package/dist/node_modules/prop-types/factoryWithThrowingShims.mjs +0 -53
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.mjs +0 -330
- package/dist/node_modules/prop-types/index.mjs +0 -16
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +0 -11
- package/dist/node_modules/prop-types/lib/has.mjs +0 -7
- package/dist/node_modules/rc-dialog/es/Dialog/Content/MemoChildren.mjs +0 -11
- package/dist/node_modules/rc-dialog/es/Dialog/Content/Panel.mjs +0 -93
- package/dist/node_modules/rc-dialog/es/Dialog/Content/index.mjs +0 -43
- package/dist/node_modules/rc-dialog/es/Dialog/Mask.mjs +0 -25
- package/dist/node_modules/rc-dialog/es/Dialog/index.mjs +0 -114
- package/dist/node_modules/rc-dialog/es/DialogWrap.mjs +0 -32
- package/dist/node_modules/rc-dialog/es/context.mjs +0 -5
- package/dist/node_modules/rc-dialog/es/index.mjs +0 -6
- package/dist/node_modules/rc-dialog/es/util.mjs +0 -23
- package/dist/node_modules/rc-field-form/es/Field.mjs +0 -300
- package/dist/node_modules/rc-field-form/es/FieldContext.mjs +0 -41
- package/dist/node_modules/rc-field-form/es/Form.mjs +0 -78
- package/dist/node_modules/rc-field-form/es/FormContext.mjs +0 -46
- package/dist/node_modules/rc-field-form/es/List.mjs +0 -82
- package/dist/node_modules/rc-field-form/es/ListContext.mjs +0 -5
- package/dist/node_modules/rc-field-form/es/index.mjs +0 -22
- package/dist/node_modules/rc-field-form/es/useForm.mjs +0 -541
- package/dist/node_modules/rc-field-form/es/useWatch.mjs +0 -53
- package/dist/node_modules/rc-field-form/es/utils/NameMap.mjs +0 -66
- package/dist/node_modules/rc-field-form/es/utils/asyncUtil.mjs +0 -15
- package/dist/node_modules/rc-field-form/es/utils/messages.mjs +0 -50
- package/dist/node_modules/rc-field-form/es/utils/typeUtil.mjs +0 -10
- package/dist/node_modules/rc-field-form/es/utils/validateUtil.mjs +0 -203
- package/dist/node_modules/rc-field-form/es/utils/valueUtil.mjs +0 -60
- package/dist/node_modules/rc-motion/es/CSSMotion.mjs +0 -73
- package/dist/node_modules/rc-motion/es/CSSMotionList.mjs +0 -95
- package/dist/node_modules/rc-motion/es/DomWrapper.mjs +0 -21
- package/dist/node_modules/rc-motion/es/context.mjs +0 -13
- package/dist/node_modules/rc-motion/es/hooks/useDomMotionEvents.mjs +0 -20
- package/dist/node_modules/rc-motion/es/hooks/useIsomorphicLayoutEffect.mjs +0 -6
- package/dist/node_modules/rc-motion/es/hooks/useNextFrame.mjs +0 -28
- package/dist/node_modules/rc-motion/es/hooks/useStatus.mjs +0 -91
- package/dist/node_modules/rc-motion/es/hooks/useStepQueue.mjs +0 -38
- package/dist/node_modules/rc-motion/es/index.mjs +0 -7
- package/dist/node_modules/rc-motion/es/interface.mjs +0 -13
- package/dist/node_modules/rc-motion/es/util/diff.mjs +0 -65
- package/dist/node_modules/rc-motion/es/util/motion.mjs +0 -51
- package/dist/node_modules/rc-pagination/es/locale/en_US.mjs +0 -18
- package/dist/node_modules/rc-pagination/lib/locale/en_US.mjs +0 -21
- package/dist/node_modules/rc-picker/es/locale/common.mjs +0 -9
- package/dist/node_modules/rc-picker/es/locale/en_US.mjs +0 -31
- package/dist/node_modules/rc-picker/lib/locale/common.mjs +0 -14
- package/dist/node_modules/rc-picker/lib/locale/en_US.mjs +0 -37
- package/dist/node_modules/rc-progress/es/Circle/PtgCircle.mjs +0 -52
- package/dist/node_modules/rc-progress/es/Circle/index.mjs +0 -83
- package/dist/node_modules/rc-progress/es/Circle/util.mjs +0 -23
- package/dist/node_modules/rc-progress/es/Line.mjs +0 -3
- package/dist/node_modules/rc-progress/es/common.mjs +0 -27
- package/dist/node_modules/rc-progress/es/hooks/useId.mjs +0 -18
- package/dist/node_modules/rc-resize-observer/es/Collection.mjs +0 -22
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/DomWrapper.mjs +0 -21
- package/dist/node_modules/rc-resize-observer/es/SingleObserver/index.mjs +0 -59
- package/dist/node_modules/rc-resize-observer/es/index.mjs +0 -24
- package/dist/node_modules/rc-resize-observer/es/utils/observerUtil.mjs +0 -23
- package/dist/node_modules/rc-slider/es/Handles/Handle.mjs +0 -103
- package/dist/node_modules/rc-slider/es/Handles/index.mjs +0 -69
- package/dist/node_modules/rc-slider/es/Marks/Mark.mjs +0 -22
- package/dist/node_modules/rc-slider/es/Marks/index.mjs +0 -20
- package/dist/node_modules/rc-slider/es/Slider.mjs +0 -225
- package/dist/node_modules/rc-slider/es/Steps/Dot.mjs +0 -16
- package/dist/node_modules/rc-slider/es/Steps/index.mjs +0 -28
- package/dist/node_modules/rc-slider/es/Tracks/Track.mjs +0 -34
- package/dist/node_modules/rc-slider/es/Tracks/index.mjs +0 -50
- package/dist/node_modules/rc-slider/es/context.mjs +0 -17
- package/dist/node_modules/rc-slider/es/hooks/useDrag.mjs +0 -104
- package/dist/node_modules/rc-slider/es/hooks/useOffset.mjs +0 -104
- package/dist/node_modules/rc-slider/es/hooks/useRange.mjs +0 -13
- package/dist/node_modules/rc-slider/es/index.mjs +0 -5
- package/dist/node_modules/rc-slider/es/util.mjs +0 -29
- package/dist/node_modules/rc-tooltip/es/Popup.mjs +0 -17
- package/dist/node_modules/rc-tooltip/es/Tooltip.mjs +0 -52
- package/dist/node_modules/rc-tooltip/es/index.mjs +0 -6
- package/dist/node_modules/rc-tooltip/es/placements.mjs +0 -84
- package/dist/node_modules/rc-upload/es/AjaxUploader.mjs +0 -284
- package/dist/node_modules/rc-upload/es/Upload.mjs +0 -57
- package/dist/node_modules/rc-upload/es/attr-accept.mjs +0 -22
- package/dist/node_modules/rc-upload/es/index.mjs +0 -4
- package/dist/node_modules/rc-upload/es/request.mjs +0 -46
- package/dist/node_modules/rc-upload/es/traverseFileTree.mjs +0 -137
- package/dist/node_modules/rc-upload/es/uid.mjs +0 -7
- package/dist/node_modules/rc-util/es/Children/toArray.mjs +0 -11
- package/dist/node_modules/rc-util/es/Dom/canUseDom.mjs +0 -6
- package/dist/node_modules/rc-util/es/Dom/contains.mjs +0 -15
- package/dist/node_modules/rc-util/es/Dom/dynamicCSS.mjs +0 -87
- package/dist/node_modules/rc-util/es/Dom/findDOMNode.mjs +0 -24
- package/dist/node_modules/rc-util/es/Dom/isVisible.mjs +0 -22
- package/dist/node_modules/rc-util/es/Dom/shadow.mjs +0 -14
- package/dist/node_modules/rc-util/es/KeyCode.mjs +0 -517
- package/dist/node_modules/rc-util/es/React/render.mjs +0 -81
- package/dist/node_modules/rc-util/es/getScrollBarSize.mjs +0 -38
- package/dist/node_modules/rc-util/es/hooks/useEvent.mjs +0 -14
- package/dist/node_modules/rc-util/es/hooks/useId.mjs +0 -27
- package/dist/node_modules/rc-util/es/hooks/useLayoutEffect.mjs +0 -21
- package/dist/node_modules/rc-util/es/hooks/useMemo.mjs +0 -8
- package/dist/node_modules/rc-util/es/hooks/useMergedState.mjs +0 -25
- package/dist/node_modules/rc-util/es/hooks/useState.mjs +0 -17
- package/dist/node_modules/rc-util/es/hooks/useSyncState.mjs +0 -16
- package/dist/node_modules/rc-util/es/isEqual.mjs +0 -35
- package/dist/node_modules/rc-util/es/isMobile.mjs +0 -9
- package/dist/node_modules/rc-util/es/omit.mjs +0 -9
- package/dist/node_modules/rc-util/es/pickAttrs.mjs +0 -42
- package/dist/node_modules/rc-util/es/raf.mjs +0 -40
- package/dist/node_modules/rc-util/es/ref.mjs +0 -39
- package/dist/node_modules/rc-util/es/utils/get.mjs +0 -11
- package/dist/node_modules/rc-util/es/utils/set.mjs +0 -47
- package/dist/node_modules/rc-util/es/warning.mjs +0 -44
- package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.development.mjs +0 -103
- package/dist/node_modules/rc-util/node_modules/react-is/cjs/react-is.production.min.mjs +0 -82
- package/dist/node_modules/rc-util/node_modules/react-is/index.mjs +0 -8
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.mjs +0 -616
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +0 -32
- package/dist/node_modules/react/jsx-runtime.mjs +0 -8
- package/dist/node_modules/react-device-detect/dist/lib.mjs +0 -721
- package/dist/node_modules/react-dom/client.mjs +0 -26
- package/dist/node_modules/react-draggable/build/cjs/Draggable.mjs +0 -343
- package/dist/node_modules/react-draggable/build/cjs/DraggableCore.mjs +0 -324
- package/dist/node_modules/react-draggable/build/cjs/cjs.mjs +0 -14
- package/dist/node_modules/react-draggable/build/cjs/utils/domFns.mjs +0 -174
- package/dist/node_modules/react-draggable/build/cjs/utils/getPrefix.mjs +0 -35
- package/dist/node_modules/react-draggable/build/cjs/utils/log.mjs +0 -7
- package/dist/node_modules/react-draggable/build/cjs/utils/positionFns.mjs +0 -107
- package/dist/node_modules/react-draggable/build/cjs/utils/shims.mjs +0 -30
- package/dist/node_modules/react-draggable/node_modules/clsx/dist/clsx.m.mjs +0 -22
- package/dist/node_modules/react-easy-crop/index.module.mjs +0 -543
- package/dist/node_modules/react-i18next/dist/es/context.mjs +0 -19
- package/dist/node_modules/react-i18next/dist/es/defaults.mjs +0 -17
- package/dist/node_modules/react-i18next/dist/es/i18nInstance.mjs +0 -7
- package/dist/node_modules/react-i18next/dist/es/unescape.mjs +0 -25
- package/dist/node_modules/react-i18next/dist/es/useTranslation.mjs +0 -74
- package/dist/node_modules/react-i18next/dist/es/utils.mjs +0 -61
- package/dist/node_modules/react-intersection-observer/dist/index.mjs +0 -123
- package/dist/node_modules/react-is/cjs/react-is.development.mjs +0 -95
- package/dist/node_modules/react-is/cjs/react-is.production.min.mjs +0 -79
- package/dist/node_modules/react-is/index.mjs +0 -10
- package/dist/node_modules/react-resizable/build/Resizable.mjs +0 -201
- package/dist/node_modules/react-resizable/build/ResizableBox.mjs +0 -162
- package/dist/node_modules/react-resizable/build/propTypes.mjs +0 -118
- package/dist/node_modules/react-resizable/build/utils.mjs +0 -54
- package/dist/node_modules/react-resizable/index.mjs +0 -13
- package/dist/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.mjs +0 -290
- package/dist/node_modules/screenfull/index.mjs +0 -122
- package/dist/node_modules/stylis/src/Enum.mjs +0 -12
- package/dist/node_modules/stylis/src/Middleware.mjs +0 -18
- package/dist/node_modules/stylis/src/Parser.mjs +0 -114
- package/dist/node_modules/stylis/src/Serializer.mjs +0 -28
- package/dist/node_modules/stylis/src/Tokenizer.mjs +0 -131
- package/dist/node_modules/stylis/src/Utility.mjs +0 -50
- package/dist/node_modules/throttle-debounce/esm/index.mjs +0 -35
- package/dist/node_modules/toggle-selection/index.mjs +0 -25
- package/dist/node_modules/tslib/tslib.es6.mjs +0 -97
- package/dist/node_modules/ua-parser-js/dist/ua-parser.min.mjs +0 -86
- package/dist/node_modules/use-immer/dist/use-immer.module.mjs +0 -13
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.mjs +0 -61
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.mjs +0 -60
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.mjs +0 -85
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.mjs +0 -50
- package/dist/node_modules/use-sync-external-store/shim/index.mjs +0 -10
- package/dist/node_modules/use-sync-external-store/shim/with-selector.mjs +0 -10
- package/dist/node_modules/zustand/esm/index.mjs +0 -24
- package/dist/node_modules/zustand/esm/vanilla.mjs +0 -16
- package/dist/utils/WithFluent.mjs +0 -58
- package/dist/utils/create.mjs +0 -14
- package/dist/utils/findNode.mjs +0 -18
- package/dist/utils/get-default-props.mjs +0 -14
- package/dist/utils/scroll.mjs +0 -15
- package/dist/utils/select-query.mjs +0 -29
- package/dist/utils/time.mjs +0 -18
- package/dist/utils/uuid.mjs +0 -21
|
@@ -1,213 +0,0 @@
|
|
|
1
|
-
import T from "../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
2
|
-
import c from "../../../@babel/runtime/helpers/esm/slicedToArray.mjs";
|
|
3
|
-
import ut from "../../../@babel/runtime/helpers/esm/objectWithoutProperties.mjs";
|
|
4
|
-
import Oe from "../../portal/es/Portal.mjs";
|
|
5
|
-
import K from "../../../classnames/index.mjs";
|
|
6
|
-
import st from "../../../rc-resize-observer/es/index.mjs";
|
|
7
|
-
import { isDOM as Ee } from "../../../rc-util/es/Dom/findDOMNode.mjs";
|
|
8
|
-
import { getShadowRoot as _e } from "../../../rc-util/es/Dom/shadow.mjs";
|
|
9
|
-
import R from "../../../rc-util/es/hooks/useEvent.mjs";
|
|
10
|
-
import lt from "../../../rc-util/es/hooks/useId.mjs";
|
|
11
|
-
import M from "../../../rc-util/es/hooks/useLayoutEffect.mjs";
|
|
12
|
-
import ct from "../../../rc-util/es/isMobile.mjs";
|
|
13
|
-
import * as n from "react";
|
|
14
|
-
import ft from "./Popup/index.mjs";
|
|
15
|
-
import pt from "./TriggerWrapper.mjs";
|
|
16
|
-
import ke from "./context.mjs";
|
|
17
|
-
import mt from "./hooks/useAction.mjs";
|
|
18
|
-
import gt from "./hooks/useAlign.mjs";
|
|
19
|
-
import vt from "./hooks/useWatch.mjs";
|
|
20
|
-
import dt from "./hooks/useWinClick.mjs";
|
|
21
|
-
import { getAlignPopupClassName as ht, getMotion as xe } from "./util.mjs";
|
|
22
|
-
var Pt = ["prefixCls", "children", "action", "showAction", "hideAction", "popupVisible", "defaultPopupVisible", "onPopupVisibleChange", "afterPopupVisibleChange", "mouseEnterDelay", "mouseLeaveDelay", "focusDelay", "blurDelay", "mask", "maskClosable", "getPopupContainer", "forceRender", "autoDestroy", "destroyPopupOnHide", "popup", "popupClassName", "popupStyle", "popupPlacement", "builtinPlacements", "popupAlign", "zIndex", "stretch", "getPopupClassNameFromAlign", "fresh", "alignPoint", "onPopupClick", "onPopupAlign", "arrow", "popupMotion", "maskMotion", "popupTransitionName", "popupAnimation", "maskTransitionName", "maskAnimation", "className", "getTriggerDOMNode"];
|
|
23
|
-
function Ct() {
|
|
24
|
-
var Ve = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Oe, Q = /* @__PURE__ */ n.forwardRef(function(t, Le) {
|
|
25
|
-
var U = t.prefixCls, S = U === void 0 ? "rc-trigger-popup" : U, ze = t.children, Z = t.action, He = Z === void 0 ? "hover" : Z, Ie = t.showAction, Be = t.hideAction, v = t.popupVisible, Fe = t.defaultPopupVisible, V = t.onPopupVisibleChange, L = t.afterPopupVisibleChange, z = t.mouseEnterDelay, ee = t.mouseLeaveDelay, H = ee === void 0 ? 0.1 : ee, We = t.focusDelay, Xe = t.blurDelay, oe = t.mask, te = t.maskClosable, Ye = te === void 0 ? !0 : te, je = t.getPopupContainer, Je = t.forceRender, qe = t.autoDestroy, Ge = t.destroyPopupOnHide, Ke = t.popup, Qe = t.popupClassName, Ue = t.popupStyle, I = t.popupPlacement, ne = t.builtinPlacements, d = ne === void 0 ? {} : ne, re = t.popupAlign, Ze = t.zIndex, ae = t.stretch, D = t.getPopupClassNameFromAlign, eo = t.fresh, A = t.alignPoint, oo = t.onPopupClick, to = t.onPopupAlign, B = t.arrow, no = t.popupMotion, ro = t.maskMotion, ao = t.popupTransitionName, io = t.popupAnimation, uo = t.maskTransitionName, so = t.maskAnimation, ie = t.className, lo = t.getTriggerDOMNode, F = ut(t, Pt), co = qe || Ge || !1, fo = n.useState(!1), ue = c(fo, 2), po = ue[0], mo = ue[1];
|
|
26
|
-
M(function() {
|
|
27
|
-
mo(ct());
|
|
28
|
-
}, []);
|
|
29
|
-
var se = n.useRef({}), g = n.useContext(ke), go = n.useMemo(function() {
|
|
30
|
-
return {
|
|
31
|
-
registerSubPopup: function(o, r) {
|
|
32
|
-
se.current[o] = r, g == null || g.registerSubPopup(o, r);
|
|
33
|
-
}
|
|
34
|
-
};
|
|
35
|
-
}, [g]), vo = lt(), ho = n.useState(null), le = c(ho, 2), u = le[0], Po = le[1], ce = n.useRef(null), Co = R(function(e) {
|
|
36
|
-
ce.current = e, Ee(e) && u !== e && Po(e), g == null || g.registerSubPopup(vo, e);
|
|
37
|
-
}), Ro = n.useState(null), fe = c(Ro, 2), m = fe[0], Mo = fe[1], pe = n.useRef(null), So = R(function(e) {
|
|
38
|
-
Ee(e) && m !== e && (Mo(e), pe.current = e);
|
|
39
|
-
}), $ = n.Children.only(ze), f = ($ == null ? void 0 : $.props) || {}, h = {}, Ao = R(function(e) {
|
|
40
|
-
var o, r, i = m;
|
|
41
|
-
return (i == null ? void 0 : i.contains(e)) || ((o = _e(i)) === null || o === void 0 ? void 0 : o.host) === e || e === i || (u == null ? void 0 : u.contains(e)) || ((r = _e(u)) === null || r === void 0 ? void 0 : r.host) === e || e === u || Object.values(se.current).some(function(a) {
|
|
42
|
-
return (a == null ? void 0 : a.contains(e)) || e === a;
|
|
43
|
-
});
|
|
44
|
-
}), yo = xe(S, no, io, ao), bo = xe(S, ro, so, uo), To = n.useState(Fe || !1), me = c(To, 2), Do = me[0], ge = me[1], s = v ?? Do, $o = R(function(e) {
|
|
45
|
-
v === void 0 && ge(e);
|
|
46
|
-
});
|
|
47
|
-
M(function() {
|
|
48
|
-
ge(v || !1);
|
|
49
|
-
}, [v]);
|
|
50
|
-
var y = n.useRef(s);
|
|
51
|
-
y.current = s;
|
|
52
|
-
var w = n.useRef([]);
|
|
53
|
-
w.current = [];
|
|
54
|
-
var ve = R(function(e) {
|
|
55
|
-
var o;
|
|
56
|
-
$o(e), ((o = w.current[w.current.length - 1]) !== null && o !== void 0 ? o : s) !== e && (w.current.push(e), V == null || V(e));
|
|
57
|
-
}), de = n.useRef(), he = function() {
|
|
58
|
-
clearTimeout(de.current);
|
|
59
|
-
}, p = function(o) {
|
|
60
|
-
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
61
|
-
he(), r === 0 ? ve(o) : de.current = setTimeout(function() {
|
|
62
|
-
ve(o);
|
|
63
|
-
}, r * 1e3);
|
|
64
|
-
};
|
|
65
|
-
n.useEffect(function() {
|
|
66
|
-
return he;
|
|
67
|
-
}, []);
|
|
68
|
-
var wo = n.useState(!1), Pe = c(wo, 2), W = Pe[0], Ce = Pe[1];
|
|
69
|
-
M(function(e) {
|
|
70
|
-
(!e || s) && Ce(!0);
|
|
71
|
-
}, [s]);
|
|
72
|
-
var No = n.useState(null), Re = c(No, 2), X = Re[0], Me = Re[1], Eo = n.useState(null), Se = c(Eo, 2), Y = Se[0], _o = Se[1], N = function(o) {
|
|
73
|
-
_o([o.clientX, o.clientY]);
|
|
74
|
-
}, ko = gt(s, u, A && Y !== null ? Y : m, I, d, re, to), l = c(ko, 11), xo = l[0], Oo = l[1], Vo = l[2], Lo = l[3], zo = l[4], Ho = l[5], Io = l[6], Bo = l[7], Fo = l[8], E = l[9], j = l[10], Wo = mt(po, He, Ie, Be), Ae = c(Wo, 2), _ = Ae[0], b = Ae[1], ye = _.has("click"), k = b.has("click") || b.has("contextMenu"), P = R(function() {
|
|
75
|
-
W || j();
|
|
76
|
-
}), Xo = function() {
|
|
77
|
-
y.current && A && k && p(!1);
|
|
78
|
-
};
|
|
79
|
-
vt(s, m, u, P, Xo), M(function() {
|
|
80
|
-
P();
|
|
81
|
-
}, [Y, I]), M(function() {
|
|
82
|
-
s && !(d != null && d[I]) && P();
|
|
83
|
-
}, [JSON.stringify(re)]);
|
|
84
|
-
var Yo = n.useMemo(function() {
|
|
85
|
-
var e = ht(d, S, E, A);
|
|
86
|
-
return K(e, D == null ? void 0 : D(E));
|
|
87
|
-
}, [E, D, d, S, A]);
|
|
88
|
-
n.useImperativeHandle(Le, function() {
|
|
89
|
-
return {
|
|
90
|
-
nativeElement: pe.current,
|
|
91
|
-
popupElement: ce.current,
|
|
92
|
-
forceAlign: P
|
|
93
|
-
};
|
|
94
|
-
});
|
|
95
|
-
var jo = n.useState(0), be = c(jo, 2), Jo = be[0], qo = be[1], Go = n.useState(0), Te = c(Go, 2), Ko = Te[0], Qo = Te[1], De = function() {
|
|
96
|
-
if (ae && m) {
|
|
97
|
-
var o = m.getBoundingClientRect();
|
|
98
|
-
qo(o.width), Qo(o.height);
|
|
99
|
-
}
|
|
100
|
-
}, Uo = function() {
|
|
101
|
-
De(), P();
|
|
102
|
-
}, Zo = function(o) {
|
|
103
|
-
Ce(!1), j(), L == null || L(o);
|
|
104
|
-
}, et = function() {
|
|
105
|
-
return new Promise(function(o) {
|
|
106
|
-
De(), Me(function() {
|
|
107
|
-
return o;
|
|
108
|
-
});
|
|
109
|
-
});
|
|
110
|
-
};
|
|
111
|
-
M(function() {
|
|
112
|
-
X && (j(), X(), Me(null));
|
|
113
|
-
}, [X]);
|
|
114
|
-
function C(e, o, r, i) {
|
|
115
|
-
h[e] = function(a) {
|
|
116
|
-
var x;
|
|
117
|
-
i == null || i(a), p(o, r);
|
|
118
|
-
for (var G = arguments.length, Ne = new Array(G > 1 ? G - 1 : 0), O = 1; O < G; O++)
|
|
119
|
-
Ne[O - 1] = arguments[O];
|
|
120
|
-
(x = f[e]) === null || x === void 0 || x.call.apply(x, [f, a].concat(Ne));
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
(ye || k) && (h.onClick = function(e) {
|
|
124
|
-
var o;
|
|
125
|
-
y.current && k ? p(!1) : !y.current && ye && (N(e), p(!0));
|
|
126
|
-
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
127
|
-
i[a - 1] = arguments[a];
|
|
128
|
-
(o = f.onClick) === null || o === void 0 || o.call.apply(o, [f, e].concat(i));
|
|
129
|
-
}), dt(s, k, m, u, oe, Ye, Ao, p);
|
|
130
|
-
var ot = _.has("hover"), tt = b.has("hover"), J, $e;
|
|
131
|
-
ot && (C("onMouseEnter", !0, z, function(e) {
|
|
132
|
-
N(e);
|
|
133
|
-
}), C("onPointerEnter", !0, z, function(e) {
|
|
134
|
-
N(e);
|
|
135
|
-
}), J = function(o) {
|
|
136
|
-
(s || W) && u !== null && u !== void 0 && u.contains(o.target) && p(!0, z);
|
|
137
|
-
}, A && (h.onMouseMove = function(e) {
|
|
138
|
-
var o;
|
|
139
|
-
(o = f.onMouseMove) === null || o === void 0 || o.call(f, e);
|
|
140
|
-
})), tt && (C("onMouseLeave", !1, H), C("onPointerLeave", !1, H), $e = function() {
|
|
141
|
-
p(!1, H);
|
|
142
|
-
}), _.has("focus") && C("onFocus", !0, We), b.has("focus") && C("onBlur", !1, Xe), _.has("contextMenu") && (h.onContextMenu = function(e) {
|
|
143
|
-
var o;
|
|
144
|
-
y.current && b.has("contextMenu") ? p(!1) : (N(e), p(!0)), e.preventDefault();
|
|
145
|
-
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
146
|
-
i[a - 1] = arguments[a];
|
|
147
|
-
(o = f.onContextMenu) === null || o === void 0 || o.call.apply(o, [f, e].concat(i));
|
|
148
|
-
}), ie && (h.className = K(f.className, ie));
|
|
149
|
-
var q = T(T({}, f), h), we = {}, nt = ["onContextMenu", "onClick", "onMouseDown", "onTouchStart", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur"];
|
|
150
|
-
nt.forEach(function(e) {
|
|
151
|
-
F[e] && (we[e] = function() {
|
|
152
|
-
for (var o, r = arguments.length, i = new Array(r), a = 0; a < r; a++)
|
|
153
|
-
i[a] = arguments[a];
|
|
154
|
-
(o = q[e]) === null || o === void 0 || o.call.apply(o, [q].concat(i)), F[e].apply(F, i);
|
|
155
|
-
});
|
|
156
|
-
});
|
|
157
|
-
var rt = /* @__PURE__ */ n.cloneElement($, T(T({}, q), we)), at = {
|
|
158
|
-
x: Ho,
|
|
159
|
-
y: Io
|
|
160
|
-
}, it = B ? T({}, B !== !0 ? B : {}) : null;
|
|
161
|
-
return /* @__PURE__ */ n.createElement(n.Fragment, null, /* @__PURE__ */ n.createElement(st, {
|
|
162
|
-
disabled: !s,
|
|
163
|
-
ref: So,
|
|
164
|
-
onResize: Uo
|
|
165
|
-
}, /* @__PURE__ */ n.createElement(pt, {
|
|
166
|
-
getTriggerDOMNode: lo
|
|
167
|
-
}, rt)), /* @__PURE__ */ n.createElement(ke.Provider, {
|
|
168
|
-
value: go
|
|
169
|
-
}, /* @__PURE__ */ n.createElement(ft, {
|
|
170
|
-
portal: Ve,
|
|
171
|
-
ref: Co,
|
|
172
|
-
prefixCls: S,
|
|
173
|
-
popup: Ke,
|
|
174
|
-
className: K(Qe, Yo),
|
|
175
|
-
style: Ue,
|
|
176
|
-
target: m,
|
|
177
|
-
onMouseEnter: J,
|
|
178
|
-
onMouseLeave: $e,
|
|
179
|
-
onPointerEnter: J,
|
|
180
|
-
zIndex: Ze,
|
|
181
|
-
open: s,
|
|
182
|
-
keepDom: W,
|
|
183
|
-
fresh: eo,
|
|
184
|
-
onClick: oo,
|
|
185
|
-
mask: oe,
|
|
186
|
-
motion: yo,
|
|
187
|
-
maskMotion: bo,
|
|
188
|
-
onVisibleChanged: Zo,
|
|
189
|
-
onPrepare: et,
|
|
190
|
-
forceRender: Je,
|
|
191
|
-
autoDestroy: co,
|
|
192
|
-
getPopupContainer: je,
|
|
193
|
-
align: E,
|
|
194
|
-
arrow: it,
|
|
195
|
-
arrowPos: at,
|
|
196
|
-
ready: xo,
|
|
197
|
-
offsetX: Oo,
|
|
198
|
-
offsetY: Vo,
|
|
199
|
-
offsetR: Lo,
|
|
200
|
-
offsetB: zo,
|
|
201
|
-
onAlign: P,
|
|
202
|
-
stretch: ae,
|
|
203
|
-
targetWidth: Jo / Bo,
|
|
204
|
-
targetHeight: Ko / Fo
|
|
205
|
-
})));
|
|
206
|
-
});
|
|
207
|
-
return process.env.NODE_ENV !== "production" && (Q.displayName = "Trigger"), Q;
|
|
208
|
-
}
|
|
209
|
-
const It = Ct(Oe);
|
|
210
|
-
export {
|
|
211
|
-
It as default,
|
|
212
|
-
Ct as generateTrigger
|
|
213
|
-
};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import X from "../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
2
|
-
function Y() {
|
|
3
|
-
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], r = arguments.length > 2 ? arguments[2] : void 0;
|
|
4
|
-
return r ? t[0] === o[0] : t[0] === o[0] && t[1] === o[1];
|
|
5
|
-
}
|
|
6
|
-
function q(t, o, r, e) {
|
|
7
|
-
for (var n = r.points, d = Object.keys(t), i = 0; i < d.length; i += 1) {
|
|
8
|
-
var a, l = d[i];
|
|
9
|
-
if (Y((a = t[l]) === null || a === void 0 ? void 0 : a.points, n, e))
|
|
10
|
-
return "".concat(o, "-placement-").concat(l);
|
|
11
|
-
}
|
|
12
|
-
return "";
|
|
13
|
-
}
|
|
14
|
-
function D(t, o, r, e) {
|
|
15
|
-
return o || (r ? {
|
|
16
|
-
motionName: "".concat(t, "-").concat(r)
|
|
17
|
-
} : e ? {
|
|
18
|
-
motionName: e
|
|
19
|
-
} : null);
|
|
20
|
-
}
|
|
21
|
-
function T(t) {
|
|
22
|
-
return t.ownerDocument.defaultView;
|
|
23
|
-
}
|
|
24
|
-
function F(t) {
|
|
25
|
-
for (var o = [], r = t == null ? void 0 : t.parentElement, e = ["hidden", "scroll", "clip", "auto"]; r; ) {
|
|
26
|
-
var n = T(r).getComputedStyle(r), d = n.overflowX, i = n.overflowY, a = n.overflow;
|
|
27
|
-
[d, i, a].some(function(l) {
|
|
28
|
-
return e.includes(l);
|
|
29
|
-
}) && o.push(r), r = r.parentElement;
|
|
30
|
-
}
|
|
31
|
-
return o;
|
|
32
|
-
}
|
|
33
|
-
function s(t) {
|
|
34
|
-
var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
35
|
-
return Number.isNaN(t) ? o : t;
|
|
36
|
-
}
|
|
37
|
-
function h(t) {
|
|
38
|
-
return s(parseFloat(t), 0);
|
|
39
|
-
}
|
|
40
|
-
function P(t, o) {
|
|
41
|
-
var r = X({}, t);
|
|
42
|
-
return (o || []).forEach(function(e) {
|
|
43
|
-
if (!(e instanceof HTMLBodyElement || e instanceof HTMLHtmlElement)) {
|
|
44
|
-
var n = T(e).getComputedStyle(e), d = n.overflow, i = n.overflowClipMargin, a = n.borderTopWidth, l = n.borderBottomWidth, y = n.borderLeftWidth, E = n.borderRightWidth, u = e.getBoundingClientRect(), m = e.offsetHeight, S = e.clientHeight, p = e.offsetWidth, x = e.clientWidth, W = h(a), b = h(l), M = h(y), w = h(E), v = s(Math.round(u.width / p * 1e3) / 1e3), f = s(Math.round(u.height / m * 1e3) / 1e3), C = (p - x - M - w) * v, A = (m - S - W - b) * f, B = W * f, V = b * f, H = M * v, O = w * v, c = 0, g = 0;
|
|
45
|
-
if (d === "clip") {
|
|
46
|
-
var N = h(i);
|
|
47
|
-
c = N * v, g = N * f;
|
|
48
|
-
}
|
|
49
|
-
var L = u.x + H - c, R = u.y + B - g, j = L + u.width + 2 * c - H - O - C, I = R + u.height + 2 * g - B - V - A;
|
|
50
|
-
r.left = Math.max(r.left, L), r.top = Math.max(r.top, R), r.right = Math.min(r.right, j), r.bottom = Math.min(r.bottom, I);
|
|
51
|
-
}
|
|
52
|
-
}), r;
|
|
53
|
-
}
|
|
54
|
-
export {
|
|
55
|
-
F as collectScroller,
|
|
56
|
-
q as getAlignPopupClassName,
|
|
57
|
-
D as getMotion,
|
|
58
|
-
P as getVisibleArea,
|
|
59
|
-
T as getWin,
|
|
60
|
-
s as toNum
|
|
61
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { useRef as u } from "react";
|
|
2
|
-
var c = function(r) {
|
|
3
|
-
return function(t, n) {
|
|
4
|
-
var e = u(!1);
|
|
5
|
-
r(function() {
|
|
6
|
-
return function() {
|
|
7
|
-
e.current = !1;
|
|
8
|
-
};
|
|
9
|
-
}, []), r(function() {
|
|
10
|
-
if (!e.current)
|
|
11
|
-
e.current = !0;
|
|
12
|
-
else
|
|
13
|
-
return t();
|
|
14
|
-
}, n);
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export {
|
|
18
|
-
c as createUpdateEffect,
|
|
19
|
-
c as default
|
|
20
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import d from "../useLatest/index.mjs";
|
|
2
|
-
import { getTargetElement as m } from "../utils/domTarget.mjs";
|
|
3
|
-
import y from "../utils/getDocumentOrShadow.mjs";
|
|
4
|
-
import A from "../utils/useEffectWithTarget.mjs";
|
|
5
|
-
function w(u, t, r) {
|
|
6
|
-
r === void 0 && (r = "click");
|
|
7
|
-
var c = d(u);
|
|
8
|
-
A(function() {
|
|
9
|
-
var n = function(o) {
|
|
10
|
-
var s = Array.isArray(t) ? t : [t];
|
|
11
|
-
s.some(function(e) {
|
|
12
|
-
var f = m(e);
|
|
13
|
-
return !f || f.contains(o.target);
|
|
14
|
-
}) || c.current(o);
|
|
15
|
-
}, i = y(t), a = Array.isArray(r) ? r : [r];
|
|
16
|
-
return a.forEach(function(o) {
|
|
17
|
-
return i.addEventListener(o, n);
|
|
18
|
-
}), function() {
|
|
19
|
-
a.forEach(function(o) {
|
|
20
|
-
return i.removeEventListener(o, n);
|
|
21
|
-
});
|
|
22
|
-
};
|
|
23
|
-
}, Array.isArray(r) ? r : [r], t);
|
|
24
|
-
}
|
|
25
|
-
export {
|
|
26
|
-
w as default
|
|
27
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { __spreadArray as h, __read as s } from "../../../tslib/tslib.es6.mjs";
|
|
2
|
-
import { useMemo as N, useRef as O } from "react";
|
|
3
|
-
import { isFunction as _ } from "../utils/index.mjs";
|
|
4
|
-
import C from "../useMemoizedFn/index.mjs";
|
|
5
|
-
import j from "../useUpdate/index.mjs";
|
|
6
|
-
function z(e, r) {
|
|
7
|
-
e === void 0 && (e = {}), r === void 0 && (r = {});
|
|
8
|
-
var V = r.defaultValue, f = r.defaultValuePropName, n = f === void 0 ? "defaultValue" : f, i = r.valuePropName, o = i === void 0 ? "value" : i, m = r.trigger, d = m === void 0 ? "onChange" : m, v = e[o], u = Object.prototype.hasOwnProperty.call(e, o), y = N(function() {
|
|
9
|
-
return u ? v : Object.prototype.hasOwnProperty.call(e, n) ? e[n] : V;
|
|
10
|
-
}, []), a = O(y);
|
|
11
|
-
u && (a.current = v);
|
|
12
|
-
var P = j();
|
|
13
|
-
function b(l) {
|
|
14
|
-
for (var c = [], t = 1; t < arguments.length; t++)
|
|
15
|
-
c[t - 1] = arguments[t];
|
|
16
|
-
var g = _(l) ? l(a.current) : l;
|
|
17
|
-
u || (a.current = g, P()), e[d] && e[d].apply(e, h([g], s(c), !1));
|
|
18
|
-
}
|
|
19
|
-
return [a.current, C(b)];
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
z as default
|
|
23
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useRef as a, useCallback as f, useEffect as m } from "react";
|
|
2
|
-
import c from "../useMemoizedFn/index.mjs";
|
|
3
|
-
import { isNumber as l } from "../utils/index.mjs";
|
|
4
|
-
var v = function(n, r, e) {
|
|
5
|
-
e === void 0 && (e = {});
|
|
6
|
-
var u = c(n), t = a(null), i = f(function() {
|
|
7
|
-
t.current && clearInterval(t.current);
|
|
8
|
-
}, []);
|
|
9
|
-
return m(function() {
|
|
10
|
-
if (!(!l(r) || r < 0))
|
|
11
|
-
return e.immediate && u(), t.current = setInterval(u, r), i;
|
|
12
|
-
}, [r, e.immediate]), i;
|
|
13
|
-
};
|
|
14
|
-
const b = v;
|
|
15
|
-
export {
|
|
16
|
-
b as default
|
|
17
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { useRef as u, useMemo as i } from "react";
|
|
2
|
-
import { isFunction as a } from "../utils/index.mjs";
|
|
3
|
-
import c from "../utils/isDev.mjs";
|
|
4
|
-
function p(r) {
|
|
5
|
-
c && (a(r) || console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof r)));
|
|
6
|
-
var n = u(r);
|
|
7
|
-
n.current = i(function() {
|
|
8
|
-
return r;
|
|
9
|
-
}, [r]);
|
|
10
|
-
var t = u();
|
|
11
|
-
return t.current || (t.current = function() {
|
|
12
|
-
for (var o = [], e = 0; e < arguments.length; e++)
|
|
13
|
-
o[e] = arguments[e];
|
|
14
|
-
return n.current.apply(this, o);
|
|
15
|
-
}), t.current;
|
|
16
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
p as default
|
|
19
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __read as i } from "../../../tslib/tslib.es6.mjs";
|
|
2
|
-
import { useRef as m, useState as c, useCallback as f } from "react";
|
|
3
|
-
import s from "../useUnmount/index.mjs";
|
|
4
|
-
function v(a) {
|
|
5
|
-
var t = m(0), e = i(c(a), 2), r = e[0], n = e[1], u = f(function(o) {
|
|
6
|
-
cancelAnimationFrame(t.current), t.current = requestAnimationFrame(function() {
|
|
7
|
-
n(o);
|
|
8
|
-
});
|
|
9
|
-
}, []);
|
|
10
|
-
return s(function() {
|
|
11
|
-
cancelAnimationFrame(t.current);
|
|
12
|
-
}), [r, u];
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
v as default
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { __read as f, __assign as n } from "../../../tslib/tslib.es6.mjs";
|
|
2
|
-
import { useState as m, useCallback as S } from "react";
|
|
3
|
-
import { isFunction as _ } from "../utils/index.mjs";
|
|
4
|
-
var c = function(o) {
|
|
5
|
-
var r = f(m(o), 2), s = r[0], u = r[1], i = S(function(t) {
|
|
6
|
-
u(function(e) {
|
|
7
|
-
var a = _(t) ? t(e) : t;
|
|
8
|
-
return a ? n(n({}, e), a) : e;
|
|
9
|
-
});
|
|
10
|
-
}, []);
|
|
11
|
-
return [s, i];
|
|
12
|
-
};
|
|
13
|
-
const v = c;
|
|
14
|
-
export {
|
|
15
|
-
v as default
|
|
16
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { __read as d } from "../../../tslib/tslib.es6.mjs";
|
|
2
|
-
import s from "../../../resize-observer-polyfill/dist/ResizeObserver.es.mjs";
|
|
3
|
-
import l from "../useRafState/index.mjs";
|
|
4
|
-
import { getTargetElement as o } from "../utils/domTarget.mjs";
|
|
5
|
-
import g from "../utils/useIsomorphicLayoutEffectWithTarget.mjs";
|
|
6
|
-
function E(e) {
|
|
7
|
-
var i = d(l(function() {
|
|
8
|
-
var t = o(e);
|
|
9
|
-
return t ? {
|
|
10
|
-
width: t.clientWidth,
|
|
11
|
-
height: t.clientHeight
|
|
12
|
-
} : void 0;
|
|
13
|
-
}), 2), f = i[0], a = i[1];
|
|
14
|
-
return g(function() {
|
|
15
|
-
var t = o(e);
|
|
16
|
-
if (t) {
|
|
17
|
-
var r = new s(function(c) {
|
|
18
|
-
c.forEach(function(u) {
|
|
19
|
-
var n = u.target, h = n.clientWidth, m = n.clientHeight;
|
|
20
|
-
a({
|
|
21
|
-
width: h,
|
|
22
|
-
height: m
|
|
23
|
-
});
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
return r.observe(t), function() {
|
|
27
|
-
r.disconnect();
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
}, [], e), f;
|
|
31
|
-
}
|
|
32
|
-
export {
|
|
33
|
-
E as default
|
|
34
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { __spreadArray as m, __read as l } from "../../../tslib/tslib.es6.mjs";
|
|
2
|
-
import c from "../../../lodash/throttle.mjs";
|
|
3
|
-
import { useMemo as i } from "react";
|
|
4
|
-
import s from "../useLatest/index.mjs";
|
|
5
|
-
import p from "../useUnmount/index.mjs";
|
|
6
|
-
import { isFunction as v } from "../utils/index.mjs";
|
|
7
|
-
import d from "../utils/isDev.mjs";
|
|
8
|
-
function _(o, r) {
|
|
9
|
-
var a;
|
|
10
|
-
d && (v(o) || console.error("useThrottleFn expected parameter is a function, got ".concat(typeof o)));
|
|
11
|
-
var n = s(o), f = (a = r == null ? void 0 : r.wait) !== null && a !== void 0 ? a : 1e3, t = i(function() {
|
|
12
|
-
return c(function() {
|
|
13
|
-
for (var u = [], e = 0; e < arguments.length; e++)
|
|
14
|
-
u[e] = arguments[e];
|
|
15
|
-
return n.current.apply(n, m([], l(u), !1));
|
|
16
|
-
}, f, r);
|
|
17
|
-
}, []);
|
|
18
|
-
return p(function() {
|
|
19
|
-
t.cancel();
|
|
20
|
-
}), {
|
|
21
|
-
run: t,
|
|
22
|
-
cancel: t.cancel,
|
|
23
|
-
flush: t.flush
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
_ as default
|
|
28
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { useEffect as e } from "react";
|
|
2
|
-
import n from "../useLatest/index.mjs";
|
|
3
|
-
import { isFunction as r } from "../utils/index.mjs";
|
|
4
|
-
import u from "../utils/isDev.mjs";
|
|
5
|
-
var f = function(t) {
|
|
6
|
-
u && (r(t) || console.error("useUnmount expected parameter is a function, got ".concat(typeof t)));
|
|
7
|
-
var o = n(t);
|
|
8
|
-
e(function() {
|
|
9
|
-
return function() {
|
|
10
|
-
o.current();
|
|
11
|
-
};
|
|
12
|
-
}, []);
|
|
13
|
-
};
|
|
14
|
-
const a = f;
|
|
15
|
-
export {
|
|
16
|
-
a as default
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { __read as a } from "../../../tslib/tslib.es6.mjs";
|
|
2
|
-
import { useState as r, useCallback as u } from "react";
|
|
3
|
-
var o = function() {
|
|
4
|
-
var t = a(r({}), 2), e = t[1];
|
|
5
|
-
return u(function() {
|
|
6
|
-
return e({});
|
|
7
|
-
}, []);
|
|
8
|
-
};
|
|
9
|
-
const f = o;
|
|
10
|
-
export {
|
|
11
|
-
f as default
|
|
12
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { useRef as a } from "react";
|
|
2
|
-
import h from "../useUnmount/index.mjs";
|
|
3
|
-
import l from "./depsAreSame.mjs";
|
|
4
|
-
import { getTargetElement as p } from "./domTarget.mjs";
|
|
5
|
-
var d = function(v) {
|
|
6
|
-
var m = function(i, u, c) {
|
|
7
|
-
var f = a(!1), t = a([]), o = a([]), e = a();
|
|
8
|
-
v(function() {
|
|
9
|
-
var r, s = Array.isArray(c) ? c : [c], n = s.map(function(g) {
|
|
10
|
-
return p(g);
|
|
11
|
-
});
|
|
12
|
-
if (!f.current) {
|
|
13
|
-
f.current = !0, t.current = n, o.current = u, e.current = i();
|
|
14
|
-
return;
|
|
15
|
-
}
|
|
16
|
-
(n.length !== t.current.length || !l(t.current, n) || !l(o.current, u)) && ((r = e.current) === null || r === void 0 || r.call(e), t.current = n, o.current = u, e.current = i());
|
|
17
|
-
}), h(function() {
|
|
18
|
-
var r;
|
|
19
|
-
(r = e.current) === null || r === void 0 || r.call(e), f.current = !1;
|
|
20
|
-
});
|
|
21
|
-
};
|
|
22
|
-
return m;
|
|
23
|
-
};
|
|
24
|
-
const W = d;
|
|
25
|
-
export {
|
|
26
|
-
W as default
|
|
27
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { isFunction as i } from "./index.mjs";
|
|
2
|
-
import f from "./isBrowser.mjs";
|
|
3
|
-
function m(e, n) {
|
|
4
|
-
if (f) {
|
|
5
|
-
if (!e)
|
|
6
|
-
return n;
|
|
7
|
-
var r;
|
|
8
|
-
return i(e) ? r = e() : "current" in e ? r = e.current : r = e, r;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
export {
|
|
12
|
-
m as getTargetElement
|
|
13
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { getTargetElement as o } from "./domTarget.mjs";
|
|
2
|
-
var n = function(e) {
|
|
3
|
-
return e.every(function(t) {
|
|
4
|
-
var r = o(t);
|
|
5
|
-
return r ? r.getRootNode() instanceof ShadowRoot : !1;
|
|
6
|
-
});
|
|
7
|
-
}, u = function(e) {
|
|
8
|
-
return e ? e.getRootNode() : document;
|
|
9
|
-
}, a = function(e) {
|
|
10
|
-
if (!e || !document.getRootNode)
|
|
11
|
-
return document;
|
|
12
|
-
var t = Array.isArray(e) ? e : [e];
|
|
13
|
-
return n(t) ? u(o(t[0])) : document;
|
|
14
|
-
};
|
|
15
|
-
const c = a;
|
|
16
|
-
export {
|
|
17
|
-
c as default
|
|
18
|
-
};
|