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,541 @@
|
|
|
1
|
+
import H from "../../@babel/runtime/helpers/esm/slicedToArray.mjs";
|
|
2
|
+
import E from "../../@babel/runtime/helpers/esm/objectSpread2.mjs";
|
|
3
|
+
import j from "../../@babel/runtime/helpers/esm/objectWithoutProperties.mjs";
|
|
4
|
+
import V from "../../@babel/runtime/helpers/esm/toConsumableArray.mjs";
|
|
5
|
+
import x from "../../@babel/runtime/helpers/esm/typeof.mjs";
|
|
6
|
+
import K from "../../@babel/runtime/helpers/esm/createClass.mjs";
|
|
7
|
+
import z from "../../@babel/runtime/helpers/esm/classCallCheck.mjs";
|
|
8
|
+
import a from "../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
9
|
+
import P, { merge as L } from "../../rc-util/es/utils/set.mjs";
|
|
10
|
+
import { warningOnce as U } from "../../rc-util/es/warning.mjs";
|
|
11
|
+
import * as _ from "react";
|
|
12
|
+
import { HOOK_MARK as B } from "./FieldContext.mjs";
|
|
13
|
+
import { allPromiseFinish as $ } from "./utils/asyncUtil.mjs";
|
|
14
|
+
import { defaultValidateMessages as q } from "./utils/messages.mjs";
|
|
15
|
+
import N from "./utils/NameMap.mjs";
|
|
16
|
+
import { getNamePath as g, cloneByNamePathList as D, containsNamePath as W, matchNamePath as G } from "./utils/valueUtil.mjs";
|
|
17
|
+
import T from "../../rc-util/es/utils/get.mjs";
|
|
18
|
+
var J = ["name"], Q = /* @__PURE__ */ K(function k(y) {
|
|
19
|
+
var e = this;
|
|
20
|
+
z(this, k), a(this, "formHooked", !1), a(this, "forceRootUpdate", void 0), a(this, "subscribable", !0), a(this, "store", {}), a(this, "fieldEntities", []), a(this, "initialValues", {}), a(this, "callbacks", {}), a(this, "validateMessages", null), a(this, "preserve", null), a(this, "lastValidatePromise", null), a(this, "getForm", function() {
|
|
21
|
+
return {
|
|
22
|
+
getFieldValue: e.getFieldValue,
|
|
23
|
+
getFieldsValue: e.getFieldsValue,
|
|
24
|
+
getFieldError: e.getFieldError,
|
|
25
|
+
getFieldWarning: e.getFieldWarning,
|
|
26
|
+
getFieldsError: e.getFieldsError,
|
|
27
|
+
isFieldsTouched: e.isFieldsTouched,
|
|
28
|
+
isFieldTouched: e.isFieldTouched,
|
|
29
|
+
isFieldValidating: e.isFieldValidating,
|
|
30
|
+
isFieldsValidating: e.isFieldsValidating,
|
|
31
|
+
resetFields: e.resetFields,
|
|
32
|
+
setFields: e.setFields,
|
|
33
|
+
setFieldValue: e.setFieldValue,
|
|
34
|
+
setFieldsValue: e.setFieldsValue,
|
|
35
|
+
validateFields: e.validateFields,
|
|
36
|
+
submit: e.submit,
|
|
37
|
+
_init: !0,
|
|
38
|
+
getInternalHooks: e.getInternalHooks
|
|
39
|
+
};
|
|
40
|
+
}), a(this, "getInternalHooks", function(t) {
|
|
41
|
+
return t === B ? (e.formHooked = !0, {
|
|
42
|
+
dispatch: e.dispatch,
|
|
43
|
+
initEntityValue: e.initEntityValue,
|
|
44
|
+
registerField: e.registerField,
|
|
45
|
+
useSubscribe: e.useSubscribe,
|
|
46
|
+
setInitialValues: e.setInitialValues,
|
|
47
|
+
destroyForm: e.destroyForm,
|
|
48
|
+
setCallbacks: e.setCallbacks,
|
|
49
|
+
setValidateMessages: e.setValidateMessages,
|
|
50
|
+
getFields: e.getFields,
|
|
51
|
+
setPreserve: e.setPreserve,
|
|
52
|
+
getInitialValue: e.getInitialValue,
|
|
53
|
+
registerWatch: e.registerWatch
|
|
54
|
+
}) : (U(!1, "`getInternalHooks` is internal usage. Should not call directly."), null);
|
|
55
|
+
}), a(this, "useSubscribe", function(t) {
|
|
56
|
+
e.subscribable = t;
|
|
57
|
+
}), a(this, "prevWithoutPreserves", null), a(this, "setInitialValues", function(t, i) {
|
|
58
|
+
if (e.initialValues = t || {}, i) {
|
|
59
|
+
var r, n = L(t, e.store);
|
|
60
|
+
(r = e.prevWithoutPreserves) === null || r === void 0 || r.map(function(l) {
|
|
61
|
+
var s = l.key;
|
|
62
|
+
n = P(n, s, T(t, s));
|
|
63
|
+
}), e.prevWithoutPreserves = null, e.updateStore(n);
|
|
64
|
+
}
|
|
65
|
+
}), a(this, "destroyForm", function(t) {
|
|
66
|
+
if (t)
|
|
67
|
+
e.updateStore({});
|
|
68
|
+
else {
|
|
69
|
+
var i = new N();
|
|
70
|
+
e.getFieldEntities(!0).forEach(function(r) {
|
|
71
|
+
e.isMergedPreserve(r.isPreserve()) || i.set(r.getNamePath(), !0);
|
|
72
|
+
}), e.prevWithoutPreserves = i;
|
|
73
|
+
}
|
|
74
|
+
}), a(this, "getInitialValue", function(t) {
|
|
75
|
+
var i = T(e.initialValues, t);
|
|
76
|
+
return t.length ? L(i) : i;
|
|
77
|
+
}), a(this, "setCallbacks", function(t) {
|
|
78
|
+
e.callbacks = t;
|
|
79
|
+
}), a(this, "setValidateMessages", function(t) {
|
|
80
|
+
e.validateMessages = t;
|
|
81
|
+
}), a(this, "setPreserve", function(t) {
|
|
82
|
+
e.preserve = t;
|
|
83
|
+
}), a(this, "watchList", []), a(this, "registerWatch", function(t) {
|
|
84
|
+
return e.watchList.push(t), function() {
|
|
85
|
+
e.watchList = e.watchList.filter(function(i) {
|
|
86
|
+
return i !== t;
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
}), a(this, "notifyWatch", function() {
|
|
90
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
91
|
+
if (e.watchList.length) {
|
|
92
|
+
var i = e.getFieldsValue(), r = e.getFieldsValue(!0);
|
|
93
|
+
e.watchList.forEach(function(n) {
|
|
94
|
+
n(i, r, t);
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}), a(this, "timeoutId", null), a(this, "warningUnhooked", function() {
|
|
98
|
+
process.env.NODE_ENV !== "production" && !e.timeoutId && typeof window < "u" && (e.timeoutId = setTimeout(function() {
|
|
99
|
+
e.timeoutId = null, e.formHooked || U(!1, "Instance created by `useForm` is not connected to any Form element. Forget to pass `form` prop?");
|
|
100
|
+
}));
|
|
101
|
+
}), a(this, "updateStore", function(t) {
|
|
102
|
+
e.store = t;
|
|
103
|
+
}), a(this, "getFieldEntities", function() {
|
|
104
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
105
|
+
return t ? e.fieldEntities.filter(function(i) {
|
|
106
|
+
return i.getNamePath().length;
|
|
107
|
+
}) : e.fieldEntities;
|
|
108
|
+
}), a(this, "getFieldsMap", function() {
|
|
109
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, i = new N();
|
|
110
|
+
return e.getFieldEntities(t).forEach(function(r) {
|
|
111
|
+
var n = r.getNamePath();
|
|
112
|
+
i.set(n, r);
|
|
113
|
+
}), i;
|
|
114
|
+
}), a(this, "getFieldEntitiesForNamePathList", function(t) {
|
|
115
|
+
if (!t)
|
|
116
|
+
return e.getFieldEntities(!0);
|
|
117
|
+
var i = e.getFieldsMap(!0);
|
|
118
|
+
return t.map(function(r) {
|
|
119
|
+
var n = g(r);
|
|
120
|
+
return i.get(n) || {
|
|
121
|
+
INVALIDATE_NAME_PATH: g(r)
|
|
122
|
+
};
|
|
123
|
+
});
|
|
124
|
+
}), a(this, "getFieldsValue", function(t, i) {
|
|
125
|
+
e.warningUnhooked();
|
|
126
|
+
var r, n, l;
|
|
127
|
+
if (t === !0 || Array.isArray(t) ? (r = t, n = i) : t && x(t) === "object" && (l = t.strict, n = t.filter), r === !0 && !n)
|
|
128
|
+
return e.store;
|
|
129
|
+
var s = e.getFieldEntitiesForNamePathList(Array.isArray(r) ? r : null), o = [];
|
|
130
|
+
return s.forEach(function(u) {
|
|
131
|
+
var d, f, F = "INVALIDATE_NAME_PATH" in u ? u.INVALIDATE_NAME_PATH : u.getNamePath();
|
|
132
|
+
if (l) {
|
|
133
|
+
var m, c;
|
|
134
|
+
if ((m = (c = u).isList) !== null && m !== void 0 && m.call(c))
|
|
135
|
+
return;
|
|
136
|
+
} else if (!r && (d = (f = u).isListField) !== null && d !== void 0 && d.call(f))
|
|
137
|
+
return;
|
|
138
|
+
if (!n)
|
|
139
|
+
o.push(F);
|
|
140
|
+
else {
|
|
141
|
+
var v = "getMeta" in u ? u.getMeta() : null;
|
|
142
|
+
n(v) && o.push(F);
|
|
143
|
+
}
|
|
144
|
+
}), D(e.store, o.map(g));
|
|
145
|
+
}), a(this, "getFieldValue", function(t) {
|
|
146
|
+
e.warningUnhooked();
|
|
147
|
+
var i = g(t);
|
|
148
|
+
return T(e.store, i);
|
|
149
|
+
}), a(this, "getFieldsError", function(t) {
|
|
150
|
+
e.warningUnhooked();
|
|
151
|
+
var i = e.getFieldEntitiesForNamePathList(t);
|
|
152
|
+
return i.map(function(r, n) {
|
|
153
|
+
return r && !("INVALIDATE_NAME_PATH" in r) ? {
|
|
154
|
+
name: r.getNamePath(),
|
|
155
|
+
errors: r.getErrors(),
|
|
156
|
+
warnings: r.getWarnings()
|
|
157
|
+
} : {
|
|
158
|
+
name: g(t[n]),
|
|
159
|
+
errors: [],
|
|
160
|
+
warnings: []
|
|
161
|
+
};
|
|
162
|
+
});
|
|
163
|
+
}), a(this, "getFieldError", function(t) {
|
|
164
|
+
e.warningUnhooked();
|
|
165
|
+
var i = g(t), r = e.getFieldsError([i])[0];
|
|
166
|
+
return r.errors;
|
|
167
|
+
}), a(this, "getFieldWarning", function(t) {
|
|
168
|
+
e.warningUnhooked();
|
|
169
|
+
var i = g(t), r = e.getFieldsError([i])[0];
|
|
170
|
+
return r.warnings;
|
|
171
|
+
}), a(this, "isFieldsTouched", function() {
|
|
172
|
+
e.warningUnhooked();
|
|
173
|
+
for (var t = arguments.length, i = new Array(t), r = 0; r < t; r++)
|
|
174
|
+
i[r] = arguments[r];
|
|
175
|
+
var n = i[0], l = i[1], s, o = !1;
|
|
176
|
+
i.length === 0 ? s = null : i.length === 1 ? Array.isArray(n) ? (s = n.map(g), o = !1) : (s = null, o = n) : (s = n.map(g), o = l);
|
|
177
|
+
var u = e.getFieldEntities(!0), d = function(v) {
|
|
178
|
+
return v.isFieldTouched();
|
|
179
|
+
};
|
|
180
|
+
if (!s)
|
|
181
|
+
return o ? u.every(function(c) {
|
|
182
|
+
return d(c) || c.isList();
|
|
183
|
+
}) : u.some(d);
|
|
184
|
+
var f = new N();
|
|
185
|
+
s.forEach(function(c) {
|
|
186
|
+
f.set(c, []);
|
|
187
|
+
}), u.forEach(function(c) {
|
|
188
|
+
var v = c.getNamePath();
|
|
189
|
+
s.forEach(function(I) {
|
|
190
|
+
I.every(function(h, p) {
|
|
191
|
+
return v[p] === h;
|
|
192
|
+
}) && f.update(I, function(h) {
|
|
193
|
+
return [].concat(V(h), [c]);
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
});
|
|
197
|
+
var F = function(v) {
|
|
198
|
+
return v.some(d);
|
|
199
|
+
}, m = f.map(function(c) {
|
|
200
|
+
var v = c.value;
|
|
201
|
+
return v;
|
|
202
|
+
});
|
|
203
|
+
return o ? m.every(F) : m.some(F);
|
|
204
|
+
}), a(this, "isFieldTouched", function(t) {
|
|
205
|
+
return e.warningUnhooked(), e.isFieldsTouched([t]);
|
|
206
|
+
}), a(this, "isFieldsValidating", function(t) {
|
|
207
|
+
e.warningUnhooked();
|
|
208
|
+
var i = e.getFieldEntities();
|
|
209
|
+
if (!t)
|
|
210
|
+
return i.some(function(n) {
|
|
211
|
+
return n.isFieldValidating();
|
|
212
|
+
});
|
|
213
|
+
var r = t.map(g);
|
|
214
|
+
return i.some(function(n) {
|
|
215
|
+
var l = n.getNamePath();
|
|
216
|
+
return W(r, l) && n.isFieldValidating();
|
|
217
|
+
});
|
|
218
|
+
}), a(this, "isFieldValidating", function(t) {
|
|
219
|
+
return e.warningUnhooked(), e.isFieldsValidating([t]);
|
|
220
|
+
}), a(this, "resetWithFieldInitialValue", function() {
|
|
221
|
+
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = new N(), r = e.getFieldEntities(!0);
|
|
222
|
+
r.forEach(function(s) {
|
|
223
|
+
var o = s.props.initialValue, u = s.getNamePath();
|
|
224
|
+
if (o !== void 0) {
|
|
225
|
+
var d = i.get(u) || /* @__PURE__ */ new Set();
|
|
226
|
+
d.add({
|
|
227
|
+
entity: s,
|
|
228
|
+
value: o
|
|
229
|
+
}), i.set(u, d);
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
var n = function(o) {
|
|
233
|
+
o.forEach(function(u) {
|
|
234
|
+
var d = u.props.initialValue;
|
|
235
|
+
if (d !== void 0) {
|
|
236
|
+
var f = u.getNamePath(), F = e.getInitialValue(f);
|
|
237
|
+
if (F !== void 0)
|
|
238
|
+
U(!1, "Form already set 'initialValues' with path '".concat(f.join("."), "'. Field can not overwrite it."));
|
|
239
|
+
else {
|
|
240
|
+
var m = i.get(f);
|
|
241
|
+
if (m && m.size > 1)
|
|
242
|
+
U(!1, "Multiple Field with path '".concat(f.join("."), "' set 'initialValue'. Can not decide which one to pick."));
|
|
243
|
+
else if (m) {
|
|
244
|
+
var c = e.getFieldValue(f), v = u.isListField();
|
|
245
|
+
!v && (!t.skipExist || c === void 0) && e.updateStore(P(e.store, f, V(m)[0].value));
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
}, l;
|
|
251
|
+
t.entities ? l = t.entities : t.namePathList ? (l = [], t.namePathList.forEach(function(s) {
|
|
252
|
+
var o = i.get(s);
|
|
253
|
+
if (o) {
|
|
254
|
+
var u;
|
|
255
|
+
(u = l).push.apply(u, V(V(o).map(function(d) {
|
|
256
|
+
return d.entity;
|
|
257
|
+
})));
|
|
258
|
+
}
|
|
259
|
+
})) : l = r, n(l);
|
|
260
|
+
}), a(this, "resetFields", function(t) {
|
|
261
|
+
e.warningUnhooked();
|
|
262
|
+
var i = e.store;
|
|
263
|
+
if (!t) {
|
|
264
|
+
e.updateStore(L(e.initialValues)), e.resetWithFieldInitialValue(), e.notifyObservers(i, null, {
|
|
265
|
+
type: "reset"
|
|
266
|
+
}), e.notifyWatch();
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
var r = t.map(g);
|
|
270
|
+
r.forEach(function(n) {
|
|
271
|
+
var l = e.getInitialValue(n);
|
|
272
|
+
e.updateStore(P(e.store, n, l));
|
|
273
|
+
}), e.resetWithFieldInitialValue({
|
|
274
|
+
namePathList: r
|
|
275
|
+
}), e.notifyObservers(i, r, {
|
|
276
|
+
type: "reset"
|
|
277
|
+
}), e.notifyWatch(r);
|
|
278
|
+
}), a(this, "setFields", function(t) {
|
|
279
|
+
e.warningUnhooked();
|
|
280
|
+
var i = e.store, r = [];
|
|
281
|
+
t.forEach(function(n) {
|
|
282
|
+
var l = n.name, s = j(n, J), o = g(l);
|
|
283
|
+
r.push(o), "value" in s && e.updateStore(P(e.store, o, s.value)), e.notifyObservers(i, [o], {
|
|
284
|
+
type: "setField",
|
|
285
|
+
data: n
|
|
286
|
+
});
|
|
287
|
+
}), e.notifyWatch(r);
|
|
288
|
+
}), a(this, "getFields", function() {
|
|
289
|
+
var t = e.getFieldEntities(!0), i = t.map(function(r) {
|
|
290
|
+
var n = r.getNamePath(), l = r.getMeta(), s = E(E({}, l), {}, {
|
|
291
|
+
name: n,
|
|
292
|
+
value: e.getFieldValue(n)
|
|
293
|
+
});
|
|
294
|
+
return Object.defineProperty(s, "originRCField", {
|
|
295
|
+
value: !0
|
|
296
|
+
}), s;
|
|
297
|
+
});
|
|
298
|
+
return i;
|
|
299
|
+
}), a(this, "initEntityValue", function(t) {
|
|
300
|
+
var i = t.props.initialValue;
|
|
301
|
+
if (i !== void 0) {
|
|
302
|
+
var r = t.getNamePath(), n = T(e.store, r);
|
|
303
|
+
n === void 0 && e.updateStore(P(e.store, r, i));
|
|
304
|
+
}
|
|
305
|
+
}), a(this, "isMergedPreserve", function(t) {
|
|
306
|
+
var i = t !== void 0 ? t : e.preserve;
|
|
307
|
+
return i ?? !0;
|
|
308
|
+
}), a(this, "registerField", function(t) {
|
|
309
|
+
e.fieldEntities.push(t);
|
|
310
|
+
var i = t.getNamePath();
|
|
311
|
+
if (e.notifyWatch([i]), t.props.initialValue !== void 0) {
|
|
312
|
+
var r = e.store;
|
|
313
|
+
e.resetWithFieldInitialValue({
|
|
314
|
+
entities: [t],
|
|
315
|
+
skipExist: !0
|
|
316
|
+
}), e.notifyObservers(r, [t.getNamePath()], {
|
|
317
|
+
type: "valueUpdate",
|
|
318
|
+
source: "internal"
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
return function(n, l) {
|
|
322
|
+
var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
|
|
323
|
+
if (e.fieldEntities = e.fieldEntities.filter(function(d) {
|
|
324
|
+
return d !== t;
|
|
325
|
+
}), !e.isMergedPreserve(l) && (!n || s.length > 1)) {
|
|
326
|
+
var o = n ? void 0 : e.getInitialValue(i);
|
|
327
|
+
if (i.length && e.getFieldValue(i) !== o && e.fieldEntities.every(function(d) {
|
|
328
|
+
return (
|
|
329
|
+
// Only reset when no namePath exist
|
|
330
|
+
!G(d.getNamePath(), i)
|
|
331
|
+
);
|
|
332
|
+
})) {
|
|
333
|
+
var u = e.store;
|
|
334
|
+
e.updateStore(P(u, i, o, !0)), e.notifyObservers(u, [i], {
|
|
335
|
+
type: "remove"
|
|
336
|
+
}), e.triggerDependenciesUpdate(u, i);
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
e.notifyWatch([i]);
|
|
340
|
+
};
|
|
341
|
+
}), a(this, "dispatch", function(t) {
|
|
342
|
+
switch (t.type) {
|
|
343
|
+
case "updateValue": {
|
|
344
|
+
var i = t.namePath, r = t.value;
|
|
345
|
+
e.updateValue(i, r);
|
|
346
|
+
break;
|
|
347
|
+
}
|
|
348
|
+
case "validateField": {
|
|
349
|
+
var n = t.namePath, l = t.triggerName;
|
|
350
|
+
e.validateFields([n], {
|
|
351
|
+
triggerName: l
|
|
352
|
+
});
|
|
353
|
+
break;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}), a(this, "notifyObservers", function(t, i, r) {
|
|
357
|
+
if (e.subscribable) {
|
|
358
|
+
var n = E(E({}, r), {}, {
|
|
359
|
+
store: e.getFieldsValue(!0)
|
|
360
|
+
});
|
|
361
|
+
e.getFieldEntities().forEach(function(l) {
|
|
362
|
+
var s = l.onStoreChange;
|
|
363
|
+
s(t, i, n);
|
|
364
|
+
});
|
|
365
|
+
} else
|
|
366
|
+
e.forceRootUpdate();
|
|
367
|
+
}), a(this, "triggerDependenciesUpdate", function(t, i) {
|
|
368
|
+
var r = e.getDependencyChildrenFields(i);
|
|
369
|
+
return r.length && e.validateFields(r), e.notifyObservers(t, r, {
|
|
370
|
+
type: "dependenciesUpdate",
|
|
371
|
+
relatedFields: [i].concat(V(r))
|
|
372
|
+
}), r;
|
|
373
|
+
}), a(this, "updateValue", function(t, i) {
|
|
374
|
+
var r = g(t), n = e.store;
|
|
375
|
+
e.updateStore(P(e.store, r, i)), e.notifyObservers(n, [r], {
|
|
376
|
+
type: "valueUpdate",
|
|
377
|
+
source: "internal"
|
|
378
|
+
}), e.notifyWatch([r]);
|
|
379
|
+
var l = e.triggerDependenciesUpdate(n, r), s = e.callbacks.onValuesChange;
|
|
380
|
+
if (s) {
|
|
381
|
+
var o = D(e.store, [r]);
|
|
382
|
+
s(o, e.getFieldsValue());
|
|
383
|
+
}
|
|
384
|
+
e.triggerOnFieldsChange([r].concat(V(l)));
|
|
385
|
+
}), a(this, "setFieldsValue", function(t) {
|
|
386
|
+
e.warningUnhooked();
|
|
387
|
+
var i = e.store;
|
|
388
|
+
if (t) {
|
|
389
|
+
var r = L(e.store, t);
|
|
390
|
+
e.updateStore(r);
|
|
391
|
+
}
|
|
392
|
+
e.notifyObservers(i, null, {
|
|
393
|
+
type: "valueUpdate",
|
|
394
|
+
source: "external"
|
|
395
|
+
}), e.notifyWatch();
|
|
396
|
+
}), a(this, "setFieldValue", function(t, i) {
|
|
397
|
+
e.setFields([{
|
|
398
|
+
name: t,
|
|
399
|
+
value: i
|
|
400
|
+
}]);
|
|
401
|
+
}), a(this, "getDependencyChildrenFields", function(t) {
|
|
402
|
+
var i = /* @__PURE__ */ new Set(), r = [], n = new N();
|
|
403
|
+
e.getFieldEntities().forEach(function(s) {
|
|
404
|
+
var o = s.props.dependencies;
|
|
405
|
+
(o || []).forEach(function(u) {
|
|
406
|
+
var d = g(u);
|
|
407
|
+
n.update(d, function() {
|
|
408
|
+
var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : /* @__PURE__ */ new Set();
|
|
409
|
+
return f.add(s), f;
|
|
410
|
+
});
|
|
411
|
+
});
|
|
412
|
+
});
|
|
413
|
+
var l = function s(o) {
|
|
414
|
+
var u = n.get(o) || /* @__PURE__ */ new Set();
|
|
415
|
+
u.forEach(function(d) {
|
|
416
|
+
if (!i.has(d)) {
|
|
417
|
+
i.add(d);
|
|
418
|
+
var f = d.getNamePath();
|
|
419
|
+
d.isFieldDirty() && f.length && (r.push(f), s(f));
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
};
|
|
423
|
+
return l(t), r;
|
|
424
|
+
}), a(this, "triggerOnFieldsChange", function(t, i) {
|
|
425
|
+
var r = e.callbacks.onFieldsChange;
|
|
426
|
+
if (r) {
|
|
427
|
+
var n = e.getFields();
|
|
428
|
+
if (i) {
|
|
429
|
+
var l = new N();
|
|
430
|
+
i.forEach(function(o) {
|
|
431
|
+
var u = o.name, d = o.errors;
|
|
432
|
+
l.set(u, d);
|
|
433
|
+
}), n.forEach(function(o) {
|
|
434
|
+
o.errors = l.get(o.name) || o.errors;
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
var s = n.filter(function(o) {
|
|
438
|
+
var u = o.name;
|
|
439
|
+
return W(t, u);
|
|
440
|
+
});
|
|
441
|
+
s.length && r(s, n);
|
|
442
|
+
}
|
|
443
|
+
}), a(this, "validateFields", function(t, i) {
|
|
444
|
+
e.warningUnhooked();
|
|
445
|
+
var r, n;
|
|
446
|
+
Array.isArray(t) || typeof t == "string" || typeof i == "string" ? (r = t, n = i) : n = t;
|
|
447
|
+
var l = !!r, s = l ? r.map(g) : [], o = [], u = String(Date.now()), d = /* @__PURE__ */ new Set(), f = n || {}, F = f.recursive, m = f.dirty;
|
|
448
|
+
e.getFieldEntities(!0).forEach(function(h) {
|
|
449
|
+
if (l || s.push(h.getNamePath()), !(!h.props.rules || !h.props.rules.length) && !(m && !h.isFieldDirty())) {
|
|
450
|
+
var p = h.getNamePath();
|
|
451
|
+
if (d.add(p.join(u)), !l || W(s, p, F)) {
|
|
452
|
+
var w = h.validateRules(E({
|
|
453
|
+
validateMessages: E(E({}, q), e.validateMessages)
|
|
454
|
+
}, n));
|
|
455
|
+
o.push(w.then(function() {
|
|
456
|
+
return {
|
|
457
|
+
name: p,
|
|
458
|
+
errors: [],
|
|
459
|
+
warnings: []
|
|
460
|
+
};
|
|
461
|
+
}).catch(function(S) {
|
|
462
|
+
var M, b = [], A = [];
|
|
463
|
+
return (M = S.forEach) === null || M === void 0 || M.call(S, function(C) {
|
|
464
|
+
var R = C.rule.warningOnly, O = C.errors;
|
|
465
|
+
R ? A.push.apply(A, V(O)) : b.push.apply(b, V(O));
|
|
466
|
+
}), b.length ? Promise.reject({
|
|
467
|
+
name: p,
|
|
468
|
+
errors: b,
|
|
469
|
+
warnings: A
|
|
470
|
+
}) : {
|
|
471
|
+
name: p,
|
|
472
|
+
errors: b,
|
|
473
|
+
warnings: A
|
|
474
|
+
};
|
|
475
|
+
}));
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
});
|
|
479
|
+
var c = $(o);
|
|
480
|
+
e.lastValidatePromise = c, c.catch(function(h) {
|
|
481
|
+
return h;
|
|
482
|
+
}).then(function(h) {
|
|
483
|
+
var p = h.map(function(w) {
|
|
484
|
+
var S = w.name;
|
|
485
|
+
return S;
|
|
486
|
+
});
|
|
487
|
+
e.notifyObservers(e.store, p, {
|
|
488
|
+
type: "validateFinish"
|
|
489
|
+
}), e.triggerOnFieldsChange(p, h);
|
|
490
|
+
});
|
|
491
|
+
var v = c.then(function() {
|
|
492
|
+
return e.lastValidatePromise === c ? Promise.resolve(e.getFieldsValue(s)) : Promise.reject([]);
|
|
493
|
+
}).catch(function(h) {
|
|
494
|
+
var p = h.filter(function(w) {
|
|
495
|
+
return w && w.errors.length;
|
|
496
|
+
});
|
|
497
|
+
return Promise.reject({
|
|
498
|
+
values: e.getFieldsValue(s),
|
|
499
|
+
errorFields: p,
|
|
500
|
+
outOfDate: e.lastValidatePromise !== c
|
|
501
|
+
});
|
|
502
|
+
});
|
|
503
|
+
v.catch(function(h) {
|
|
504
|
+
return h;
|
|
505
|
+
});
|
|
506
|
+
var I = s.filter(function(h) {
|
|
507
|
+
return d.has(h.join(u));
|
|
508
|
+
});
|
|
509
|
+
return e.triggerOnFieldsChange(I), v;
|
|
510
|
+
}), a(this, "submit", function() {
|
|
511
|
+
e.warningUnhooked(), e.validateFields().then(function(t) {
|
|
512
|
+
var i = e.callbacks.onFinish;
|
|
513
|
+
if (i)
|
|
514
|
+
try {
|
|
515
|
+
i(t);
|
|
516
|
+
} catch (r) {
|
|
517
|
+
console.error(r);
|
|
518
|
+
}
|
|
519
|
+
}).catch(function(t) {
|
|
520
|
+
var i = e.callbacks.onFinishFailed;
|
|
521
|
+
i && i(t);
|
|
522
|
+
});
|
|
523
|
+
}), this.forceRootUpdate = y;
|
|
524
|
+
});
|
|
525
|
+
function he(k) {
|
|
526
|
+
var y = _.useRef(), e = _.useState({}), t = H(e, 2), i = t[1];
|
|
527
|
+
if (!y.current)
|
|
528
|
+
if (k)
|
|
529
|
+
y.current = k;
|
|
530
|
+
else {
|
|
531
|
+
var r = function() {
|
|
532
|
+
i({});
|
|
533
|
+
}, n = new Q(r);
|
|
534
|
+
y.current = n.getForm();
|
|
535
|
+
}
|
|
536
|
+
return [y.current];
|
|
537
|
+
}
|
|
538
|
+
export {
|
|
539
|
+
Q as FormStore,
|
|
540
|
+
he as default
|
|
541
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import H from "../../@babel/runtime/helpers/esm/slicedToArray.mjs";
|
|
2
|
+
import { warningOnce as E } from "../../rc-util/es/warning.mjs";
|
|
3
|
+
import { useRef as l, useState as M, useMemo as A, useContext as D, useEffect as K } from "react";
|
|
4
|
+
import L, { HOOK_MARK as T } from "./FieldContext.mjs";
|
|
5
|
+
import { isFormInstance as j } from "./utils/typeUtil.mjs";
|
|
6
|
+
import { getNamePath as q } from "./utils/valueUtil.mjs";
|
|
7
|
+
import J from "../../rc-util/es/utils/get.mjs";
|
|
8
|
+
function x(r) {
|
|
9
|
+
try {
|
|
10
|
+
return JSON.stringify(r);
|
|
11
|
+
} catch {
|
|
12
|
+
return Math.random();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
var $ = process.env.NODE_ENV !== "production" ? function(r) {
|
|
16
|
+
var e = r.join("__RC_FIELD_FORM_SPLIT__"), t = l(e);
|
|
17
|
+
E(t.current === e, "`useWatch` is not support dynamic `namePath`. Please provide static instead.");
|
|
18
|
+
} : function() {
|
|
19
|
+
};
|
|
20
|
+
function X() {
|
|
21
|
+
for (var r = arguments.length, e = new Array(r), t = 0; t < r; t++)
|
|
22
|
+
e[t] = arguments[t];
|
|
23
|
+
var c = e[0], p = e[1], s = p === void 0 ? {} : p, g = j(s) ? {
|
|
24
|
+
form: s
|
|
25
|
+
} : s, h = g.form, F = M(), d = H(F, 2), a = d[0], _ = d[1], V = A(function() {
|
|
26
|
+
return x(a);
|
|
27
|
+
}, [a]), f = l(V);
|
|
28
|
+
f.current = V;
|
|
29
|
+
var N = D(L), o = h || N, i = o && o._init;
|
|
30
|
+
process.env.NODE_ENV !== "production" && E(e.length === 2 ? h ? i : !0 : i, "useWatch requires a form instance since it can not auto detect from context.");
|
|
31
|
+
var m = q(c), S = l(m);
|
|
32
|
+
return S.current = m, $(m), K(
|
|
33
|
+
function() {
|
|
34
|
+
if (i) {
|
|
35
|
+
var W = o.getFieldsValue, P = o.getInternalHooks, y = P(T), w = y.registerWatch, R = function(v, u) {
|
|
36
|
+
var n = g.preserve ? u : v;
|
|
37
|
+
return typeof c == "function" ? c(n) : J(n, S.current);
|
|
38
|
+
}, C = w(function(O, v) {
|
|
39
|
+
var u = R(O, v), n = x(u);
|
|
40
|
+
f.current !== n && (f.current = n, _(u));
|
|
41
|
+
}), I = R(W(), W(!0));
|
|
42
|
+
return a !== I && _(I), C;
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
// We do not need re-register since namePath content is the same
|
|
46
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
47
|
+
[i]
|
|
48
|
+
), a;
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
X as default,
|
|
52
|
+
x as stringify
|
|
53
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import s from "../../../@babel/runtime/helpers/esm/slicedToArray.mjs";
|
|
2
|
+
import k from "../../../@babel/runtime/helpers/esm/toConsumableArray.mjs";
|
|
3
|
+
import _ from "../../../@babel/runtime/helpers/esm/classCallCheck.mjs";
|
|
4
|
+
import y from "../../../@babel/runtime/helpers/esm/createClass.mjs";
|
|
5
|
+
import d from "../../../@babel/runtime/helpers/esm/defineProperty.mjs";
|
|
6
|
+
import g from "../../../@babel/runtime/helpers/esm/typeof.mjs";
|
|
7
|
+
var m = "__@field_split__";
|
|
8
|
+
function o(i) {
|
|
9
|
+
return i.map(function(t) {
|
|
10
|
+
return "".concat(g(t), ":").concat(t);
|
|
11
|
+
}).join(m);
|
|
12
|
+
}
|
|
13
|
+
var $ = /* @__PURE__ */ function() {
|
|
14
|
+
function i() {
|
|
15
|
+
_(this, i), d(this, "kvs", /* @__PURE__ */ new Map());
|
|
16
|
+
}
|
|
17
|
+
return y(i, [{
|
|
18
|
+
key: "set",
|
|
19
|
+
value: function(e, r) {
|
|
20
|
+
this.kvs.set(o(e), r);
|
|
21
|
+
}
|
|
22
|
+
}, {
|
|
23
|
+
key: "get",
|
|
24
|
+
value: function(e) {
|
|
25
|
+
return this.kvs.get(o(e));
|
|
26
|
+
}
|
|
27
|
+
}, {
|
|
28
|
+
key: "update",
|
|
29
|
+
value: function(e, r) {
|
|
30
|
+
var n = this.get(e), a = r(n);
|
|
31
|
+
a ? this.set(e, a) : this.delete(e);
|
|
32
|
+
}
|
|
33
|
+
}, {
|
|
34
|
+
key: "delete",
|
|
35
|
+
value: function(e) {
|
|
36
|
+
this.kvs.delete(o(e));
|
|
37
|
+
}
|
|
38
|
+
// Since we only use this in test, let simply realize this
|
|
39
|
+
}, {
|
|
40
|
+
key: "map",
|
|
41
|
+
value: function(e) {
|
|
42
|
+
return k(this.kvs.entries()).map(function(r) {
|
|
43
|
+
var n = s(r, 2), a = n[0], c = n[1], f = a.split(m);
|
|
44
|
+
return e({
|
|
45
|
+
key: f.map(function(v) {
|
|
46
|
+
var p = v.match(/^([^:]*):(.*)$/), u = s(p, 3), h = u[1], l = u[2];
|
|
47
|
+
return h === "number" ? Number(l) : l;
|
|
48
|
+
}),
|
|
49
|
+
value: c
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
}, {
|
|
54
|
+
key: "toJSON",
|
|
55
|
+
value: function() {
|
|
56
|
+
var e = {};
|
|
57
|
+
return this.map(function(r) {
|
|
58
|
+
var n = r.key, a = r.value;
|
|
59
|
+
return e[n.join(".")] = a, null;
|
|
60
|
+
}), e;
|
|
61
|
+
}
|
|
62
|
+
}]), i;
|
|
63
|
+
}();
|
|
64
|
+
export {
|
|
65
|
+
$ as default
|
|
66
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function a(n) {
|
|
2
|
+
var t = !1, u = n.length, r = [];
|
|
3
|
+
return n.length ? new Promise(function(o, f) {
|
|
4
|
+
n.forEach(function(c, i) {
|
|
5
|
+
c.catch(function(e) {
|
|
6
|
+
return t = !0, e;
|
|
7
|
+
}).then(function(e) {
|
|
8
|
+
u -= 1, r[i] = e, !(u > 0) && (t && f(r), o(r));
|
|
9
|
+
});
|
|
10
|
+
});
|
|
11
|
+
}) : Promise.resolve([]);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
a as allPromiseFinish
|
|
15
|
+
};
|