@cloud-app-dev/vidc 3.2.10 → 3.2.13
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/.dumi/tmp/core/EmptyRoute.tsx +9 -0
- package/.dumi/tmp/core/defineApp.ts +16 -0
- package/.dumi/tmp/core/history.ts +61 -0
- package/.dumi/tmp/core/plugin.ts +42 -0
- package/.dumi/tmp/core/pluginConfig.d.ts +276 -0
- package/.dumi/tmp/core/polyfill.ts +202 -0
- package/.dumi/tmp/core/route.tsx +38 -0
- package/.dumi/tmp/core/terminal.ts +38 -0
- package/.dumi/tmp/dumi/exports.ts +5 -0
- package/.dumi/tmp/dumi/locales/config.ts +56 -0
- package/.dumi/tmp/dumi/locales/runtime.tsx +38 -0
- package/.dumi/tmp/dumi/meta/atoms.ts +4 -0
- package/.dumi/tmp/dumi/meta/index.ts +186 -0
- package/.dumi/tmp/dumi/meta/runtime.ts +18 -0
- package/.dumi/tmp/dumi/meta/tabs.ts +8 -0
- package/.dumi/tmp/dumi/theme/ContextWrapper.tsx +41 -0
- package/.dumi/tmp/dumi/theme/builtins/API.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/Badge.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/Container.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/Previewer.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/SourceCode.ts +4 -0
- package/.dumi/tmp/dumi/theme/builtins/Table.ts +4 -0
- package/.dumi/tmp/dumi/theme/layouts/DocLayout.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Content.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/ContentTabs.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Features.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Footer.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Header.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Hero.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/HeroTitle.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/LangSwitch.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Logo.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Navbar.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/NotFound.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/PreviewerActions.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/PreviewerActionsExtra.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/RtlSwitch.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/SearchBar.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/SearchResult.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Sidebar.ts +4 -0
- package/.dumi/tmp/dumi/theme/slots/Toc.ts +4 -0
- package/.dumi/tmp/exports.ts +15 -0
- package/.dumi/tmp/testBrowser.tsx +82 -0
- package/.dumi/tmp/tsconfig.json +35 -0
- package/.dumi/tmp/typings.d.ts +136 -0
- package/.dumi/tmp/umi.ts +77 -0
- package/.dumi/tmp-production/core/EmptyRoute.tsx +9 -0
- package/.dumi/tmp-production/core/defineApp.ts +16 -0
- package/.dumi/tmp-production/core/history.ts +61 -0
- package/.dumi/tmp-production/core/plugin.ts +42 -0
- package/.dumi/tmp-production/core/pluginConfig.d.ts +276 -0
- package/.dumi/tmp-production/core/polyfill.ts +202 -0
- package/.dumi/tmp-production/core/route.tsx +38 -0
- package/.dumi/tmp-production/core/terminal.ts +38 -0
- package/.dumi/tmp-production/dumi/exports.ts +5 -0
- package/.dumi/tmp-production/dumi/locales/config.ts +56 -0
- package/.dumi/tmp-production/dumi/locales/runtime.tsx +38 -0
- package/.dumi/tmp-production/dumi/meta/atoms.ts +4 -0
- package/.dumi/tmp-production/dumi/meta/index.ts +178 -0
- package/.dumi/tmp-production/dumi/meta/runtime.ts +18 -0
- package/.dumi/tmp-production/dumi/meta/tabs.ts +5 -0
- package/.dumi/tmp-production/dumi/theme/ContextWrapper.tsx +41 -0
- package/.dumi/tmp-production/dumi/theme/builtins/API.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/builtins/Badge.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/builtins/Container.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/builtins/Previewer.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/builtins/SourceCode.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/builtins/Table.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/layouts/DocLayout.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/Content.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/ContentTabs.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/Features.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/Footer.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/Header.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/Hero.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/HeroTitle.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/LangSwitch.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/Logo.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/Navbar.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/NotFound.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/PreviewerActions.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/PreviewerActionsExtra.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/RtlSwitch.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/SearchBar.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/SearchResult.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/Sidebar.ts +4 -0
- package/.dumi/tmp-production/dumi/theme/slots/Toc.ts +4 -0
- package/.dumi/tmp-production/exports.ts +14 -0
- package/.dumi/tmp-production/testBrowser.tsx +82 -0
- package/.dumi/tmp-production/tsconfig.json +35 -0
- package/.dumi/tmp-production/typings.d.ts +136 -0
- package/.dumi/tmp-production/umi.ts +77 -0
- package/.dumirc.ts +71 -0
- package/.editorconfig +0 -3
- package/.eslintrc.js +3 -0
- package/.fatherrc.ts +19 -0
- package/.husky/commit-msg +5 -0
- package/.husky/pre-commit +4 -0
- package/.prettierrc.js +16 -0
- package/.stylelintrc +3 -0
- package/README.md +14 -26
- package/es/Api/index.js +100 -30
- package/es/AppContext/Sync.js +19 -3
- package/es/AppContext/index.js +86 -42
- package/es/AppContext/static.js +7 -0
- package/es/Auth/index.js +11 -4
- package/es/AutoExit/index.js +11 -3
- package/es/Box/BetweenBox/index.js +19 -10
- package/es/Box/BetweenBox/{index.css → index.less} +0 -0
- package/es/Box/InfoBox/index.js +24 -18
- package/es/Box/InfoBox/index.less +22 -0
- package/es/Box/TwoColumnBox/index.js +42 -25
- package/es/Box/TwoColumnBox/index.less +70 -0
- package/es/Box/deps/grid-factory.d.ts +2 -2
- package/es/Box/deps/grid-factory.js +12 -0
- package/es/Box/index.js +29 -16
- package/es/Box/{index.css → index.less} +5 -4
- package/es/CheckGroupFixed/demo.d.ts +3 -0
- package/es/CheckGroupFixed/demo.js +28 -0
- package/es/CheckGroupFixed/index.js +117 -82
- package/es/CheckGroupFixed/index.less +50 -0
- package/es/Config/index.js +5 -1
- package/es/Config/utils.js +18 -3
- package/es/ConfigContext/index.js +8 -4
- package/es/CustomRenderSelect/index.js +71 -36
- package/es/CustomRenderSelect/index.less +25 -0
- package/es/DisableMark/index.js +14 -11
- package/es/DisableMark/{index.css → index.less} +0 -0
- package/es/DomMove/demo.js +14 -10
- package/es/DomMove/index.js +52 -30
- package/es/DomMove/utils.js +8 -3
- package/es/Drag/DragAndDropItem.js +44 -20
- package/es/Drag/DropItem.js +22 -6
- package/es/Drag/index.js +2 -2
- package/es/Drag/{index.css → index.less} +0 -0
- package/es/Drawer/Footer.js +22 -15
- package/es/Drawer/{Demo.d.ts → demo.d.ts} +0 -0
- package/es/Drawer/demo.js +109 -0
- package/es/Drawer/index.js +98 -60
- package/es/Drawer/index.less +42 -0
- package/es/ErrorFallback/index.js +23 -14
- package/es/FrontendPlayer/index.js +1 -1
- package/es/FullScreen/index.js +30 -17
- package/es/FullScreen/index.less +16 -0
- package/es/HightLevel/index.js +11 -4
- package/es/HightLevel/{index.css → index.less} +0 -0
- package/es/IconFont/index.js +39 -18
- package/es/ImageView/index.js +37 -13
- package/es/ImageView/index.less +10 -0
- package/es/Input/demo.d.ts +3 -0
- package/es/Input/demo.js +16 -0
- package/es/Input/index.js +46 -22
- package/es/Input/index.less +12 -0
- package/es/InstanceHistory/index.js +2 -0
- package/es/LabelValue/index.js +25 -18
- package/es/LabelValue/index.less +20 -0
- package/es/List/DynamicGridList/Demo.d.ts +1 -0
- package/es/List/DynamicGridList/Demo.js +52 -32
- package/es/List/DynamicGridList/index.js +37 -22
- package/es/List/DynamicList/index.js +76 -56
- package/es/List/DynamicList/index.less +15 -0
- package/es/List/GridList/Demo.d.ts +1 -0
- package/es/List/GridList/Demo.js +60 -38
- package/es/List/GridList/hook.d.ts +1 -1
- package/es/List/GridList/hook.js +66 -35
- package/es/List/GridList/index.js +33 -29
- package/es/List/GridList/{index.css → index.less} +0 -0
- package/es/List/GridList/utils.d.ts +2 -2
- package/es/List/GridList/utils.js +1 -0
- package/es/List/VList/index.d.ts +1 -1
- package/es/List/VList/index.js +32 -19
- package/es/List/VList/{index.css → index.less} +0 -0
- package/es/List/VList/utils.d.ts +2 -2
- package/es/List/VList/utils.js +8 -6
- package/es/List/demo.d.ts +3 -0
- package/es/List/demo.js +26 -0
- package/es/List/index.d.ts +1 -1
- package/es/List/index.js +31 -23
- package/es/List/{index.css → index.less} +5 -4
- package/es/LoaderApp/index.js +59 -25
- package/es/LoaderApp/{index.css → index.less} +0 -0
- package/es/LoaderApp/loader.js +40 -23
- package/es/LoaderApp/sandbox.back.js +101 -24
- package/es/LoaderApp/sandbox.js +26 -9
- package/es/LoaderApp/utils.d.ts +1 -1
- package/es/LoaderApp/utils.js +68 -25
- package/es/LoaderScript/index.js +25 -10
- package/es/LoaderScript/utils.js +151 -87
- package/es/Map/BasicMap/AMapInstance.d.ts +1 -1
- package/es/Map/BasicMap/AMapInstance.js +25 -3
- package/es/Map/BasicMap/LeafletInstance.js +28 -11
- package/es/Map/BasicMap/index.js +67 -27
- package/es/Map/BasicMap/index.less +24 -0
- package/es/Map/ClusterLayer/hook.d.ts +2 -2
- package/es/Map/ClusterLayer/hook.js +51 -23
- package/es/Map/ClusterLayer/index.d.ts +1 -1
- package/es/Map/ClusterLayer/index.js +14 -6
- package/es/Map/ClusterLayer/index.less +27 -0
- package/es/Map/Config/index.js +44 -16
- package/es/Map/Config/utils.js +17 -3
- package/es/Map/Context/index.js +43 -9
- package/es/Map/FindPio/index.js +5 -2
- package/es/Map/FindPio/{index.css → index.less} +0 -0
- package/es/Map/InfoWindow/MakerLikeWindow.d.ts +1 -1
- package/es/Map/InfoWindow/MakerLikeWindow.js +41 -18
- package/es/Map/InfoWindow/demo.d.ts +1 -0
- package/es/Map/InfoWindow/demo.js +51 -29
- package/es/Map/InfoWindow/index.d.ts +1 -1
- package/es/Map/InfoWindow/index.js +39 -18
- package/es/Map/LevelCenter/DragMarker/index.js +16 -10
- package/es/Map/LevelCenter/demo.d.ts +1 -0
- package/es/Map/LevelCenter/demo.js +41 -22
- package/es/Map/LevelCenter/index.js +41 -29
- package/es/Map/LevelCenter/index.less +2 -0
- package/es/Map/LoaderMap/index.js +38 -22
- package/es/Map/MapDrawSelect/demo.d.ts +1 -0
- package/es/Map/MapDrawSelect/demo.js +65 -46
- package/es/Map/MapDrawSelect/index.js +43 -31
- package/es/Map/MapDrawSelect/index.less +2 -0
- package/es/Map/MouseTool/index.js +32 -18
- package/es/Map/MouseTool/useMouseTools.js +37 -8
- package/es/Map/ResetTools/index.js +58 -44
- package/es/Map/ResetTools/index.less +35 -0
- package/es/Map/SinglePoint/index.js +39 -27
- package/es/Map/SinglePoint/index.less +41 -0
- package/es/Map/hook/useMapEvent.js +8 -4
- package/es/Map/hook/useMapType.js +3 -2
- package/es/Map/index.d.ts +1 -0
- package/es/Map/index.js +11 -11
- package/es/Map/useMarker/index.d.ts +1 -1
- package/es/Map/useMarker/index.js +33 -13
- package/es/Map/{LevelCenter/index.css → useMarker/index.less} +0 -0
- package/es/Map/withMap/index.d.ts +1 -0
- package/es/Map/withMap/index.js +14 -4
- package/es/Modal/demo.d.ts +3 -0
- package/es/Modal/demo.js +106 -0
- package/es/Modal/index.js +94 -57
- package/es/Modal/index.less +45 -0
- package/es/Picture/component/DefaultRects/RectInfo.js +59 -37
- package/es/Picture/component/DefaultRects/index.js +46 -32
- package/es/Picture/component/DefaultRects/index.less +188 -0
- package/es/Picture/component/DrawRect/index.js +37 -24
- package/es/Picture/component/DrawRect/{index.css → index.less} +0 -0
- package/es/Picture/component/RectMenu/index.js +35 -26
- package/es/Picture/component/RectMenu/index.less +31 -0
- package/es/Picture/component/RectMenu/utils.js +6 -3
- package/es/Picture/component/Tools/index.js +91 -69
- package/es/Picture/component/Tools/index.less +43 -0
- package/es/Picture/component/WheelScale/index.js +9 -4
- package/es/Picture/demo.js +14 -11
- package/es/Picture/dragBound.d.ts +1 -1
- package/es/Picture/dragBound.js +17 -4
- package/es/Picture/index.d.ts +2 -2
- package/es/Picture/index.js +202 -139
- package/es/Picture/index.less +14 -0
- package/es/Picture/loadCaptureRectImage.d.ts +1 -1
- package/es/Picture/loadCaptureRectImage.js +39 -14
- package/es/Picture/useDraw.js +40 -20
- package/es/Picture/utils.d.ts +9 -9
- package/es/Picture/utils.js +18 -3
- package/es/Player/api/index.d.ts +3 -3
- package/es/Player/api/index.js +117 -82
- package/es/Player/context.js +21 -7
- package/es/Player/contraller_bar/bar.d.ts +1 -1
- package/es/Player/contraller_bar/bar.js +28 -10
- package/es/Player/contraller_bar/contraller_event.js +34 -12
- package/es/Player/contraller_bar/index.js +30 -22
- package/es/Player/contraller_bar/left_bar.js +62 -39
- package/es/Player/contraller_bar/right_bar.js +34 -18
- package/es/Player/contraller_bar/time.js +19 -8
- package/es/Player/contraller_bar/useBarStatus.js +29 -11
- package/es/Player/contraller_bar/volume.js +43 -21
- package/es/Player/demo.d.ts +1 -0
- package/es/Player/demo.js +258 -215
- package/es/Player/event/errorEvent.js +41 -16
- package/es/Player/event/eventName.js +12 -1
- package/es/Player/event/index.js +66 -24
- package/es/Player/fps_play.js +33 -15
- package/es/Player/frontend_player.js +42 -20
- package/es/Player/frontend_timeline.js +95 -55
- package/es/Player/iconfont.js +23 -8
- package/es/Player/index.js +1 -1
- package/es/Player/live_heart.js +15 -3
- package/es/Player/message.js +68 -37
- package/es/Player/segment_player.js +113 -62
- package/es/Player/segment_timeline.js +145 -97
- package/es/Player/single_player.js +153 -111
- package/es/Player/style/bar.less +39 -0
- package/es/Player/style/iconfont.js +17 -10
- package/es/Player/style/index.less +30 -0
- package/es/Player/style/message.less +50 -0
- package/es/Player/style/slider.less +103 -0
- package/es/Player/style/timeline.less +106 -0
- package/es/Player/style/volume.less +21 -0
- package/es/Player/timeline.d.ts +1 -1
- package/es/Player/timeline.js +59 -32
- package/es/Player/util.js +46 -7
- package/es/PlayerExt/demo.d.ts +1 -0
- package/es/PlayerExt/demo.js +145 -112
- package/es/PlayerExt/index.d.ts +1 -1
- package/es/PlayerExt/index.js +135 -82
- package/es/PlayerExt/{index.css → index.less} +0 -0
- package/es/Progress/index.js +18 -5
- package/es/Progress/index.less +20 -0
- package/es/ROI/demo.d.ts +1 -0
- package/es/ROI/demo.js +12 -8
- package/es/ROI/index.js +45 -35
- package/es/ROI/index.less +29 -0
- package/es/ScreenPlayer/Live.d.ts +1 -1
- package/es/ScreenPlayer/Live.js +159 -103
- package/es/ScreenPlayer/LiveTools.js +153 -116
- package/es/ScreenPlayer/PlayerWithExt.js +168 -113
- package/es/ScreenPlayer/RatePick.js +35 -22
- package/es/ScreenPlayer/Record.js +291 -185
- package/es/ScreenPlayer/RecordTools.js +192 -148
- package/es/ScreenPlayer/ScreenSelect.js +33 -26
- package/es/ScreenPlayer/SegmentTimeLine.js +23 -16
- package/es/ScreenPlayer/TimeMode.js +22 -16
- package/es/ScreenPlayer/TimeSelect.js +84 -63
- package/es/ScreenPlayer/demo.js +16 -18
- package/es/ScreenPlayer/demo2.js +192 -177
- package/es/ScreenPlayer/index.d.ts +1 -0
- package/es/ScreenPlayer/index.js +3 -3
- package/es/ScreenPlayer/index.less +178 -0
- package/es/ScreenPlayer/useTimeSlider.js +148 -49
- package/es/ScreenPlayer/useVideoFit.js +18 -5
- package/es/ScreenPlayer/utils.js +6 -0
- package/es/SegmentPlayer/index.js +1 -1
- package/es/Service/fetch-adapter.d.ts +1 -1
- package/es/Service/fetch-adapter.js +48 -5
- package/es/Service/http.js +46 -16
- package/es/Service/index.js +2 -2
- package/es/TableLayout/index.js +18 -12
- package/es/TableLayout/{index.css → index.less} +0 -0
- package/es/ThemeAntd/demo.d.ts +1 -0
- package/es/ThemeAntd/demo.js +126 -76
- package/es/ThemeAntd/{demo.css → demo.less} +4 -3
- package/es/ThemeAntd/index.js +6 -2
- package/es/ThemeAntd/index.less +16 -0
- package/es/ThemeAntd/style/button.less +67 -0
- package/es/ThemeAntd/style/checkbox.less +72 -0
- package/es/ThemeAntd/style/form.less +12 -0
- package/es/ThemeAntd/style/input.less +83 -0
- package/es/ThemeAntd/style/pagination.less +95 -0
- package/es/ThemeAntd/style/picker.less +106 -0
- package/es/ThemeAntd/style/popover.less +5 -0
- package/es/ThemeAntd/style/radio.less +87 -0
- package/es/ThemeAntd/style/{scrollbar.css → scrollbar.less} +4 -2
- package/es/ThemeAntd/style/select.less +81 -0
- package/es/ThemeAntd/style/table.less +57 -0
- package/es/ThemeAntd/style/tree.less +18 -0
- package/es/Timeout/index.js +36 -12
- package/es/Tree/demo.js +26 -21
- package/es/Tree/index.js +51 -30
- package/es/Tree/index.less +59 -0
- package/es/index.js +47 -47
- package/es/useDrawROI/index.js +130 -65
- package/es/useEventEmitterHandle/index.js +6 -2
- package/es/useFullscreen/demo.js +44 -27
- package/es/useFullscreen/index.js +30 -8
- package/es/useHistory/index.js +3 -1
- package/es/useInfiniteScroll/index.js +50 -19
- package/es/useRafInterval/index.js +28 -4
- package/es/useSimpleState/index.js +23 -6
- package/es/useVirtualList/index.js +58 -20
- package/es/utils.d.ts +1 -1
- package/es/utils.js +53 -14
- package/package.json +42 -32
- package/tsconfig.json +8 -32
- package/.eslintrc +0 -4
- package/.fatherrc.js +0 -25
- package/.prettierrc +0 -11
- package/.umirc.ts +0 -55
- package/es/Box/InfoBox/index.css +0 -22
- package/es/Box/TwoColumnBox/index.css +0 -70
- package/es/CheckGroupFixed/index.css +0 -49
- package/es/CustomRenderSelect/index.css +0 -20
- package/es/Drawer/Demo.js +0 -59
- package/es/Drawer/index.css +0 -40
- package/es/FullScreen/index.css +0 -16
- package/es/ImageView/index.css +0 -10
- package/es/Input/index.css +0 -8
- package/es/LabelValue/index.css +0 -18
- package/es/List/DynamicList/index.css +0 -15
- package/es/Map/BasicMap/index.css +0 -24
- package/es/Map/ClusterLayer/index.css +0 -26
- package/es/Map/MapDrawSelect/index.css +0 -0
- package/es/Map/ResetTools/index.css +0 -32
- package/es/Map/SinglePoint/icon/Place_icon_OnLine_Hover.svg +0 -15
- package/es/Map/SinglePoint/icon/Place_icon_OnLine_Normal.svg +0 -15
- package/es/Map/SinglePoint/icon/Place_icon_OutLine_Hover.svg +0 -15
- package/es/Map/SinglePoint/icon/Place_icon_OutLine_Normal.svg +0 -15
- package/es/Map/SinglePoint/index.css +0 -29
- package/es/Map/useMarker/index.css +0 -0
- package/es/Modal/index.css +0 -43
- package/es/Picture/component/DefaultRects/index.css +0 -247
- package/es/Picture/component/RectMenu/index.css +0 -31
- package/es/Picture/component/Tools/index.css +0 -42
- package/es/Picture/index.css +0 -12
- package/es/Player/style/bar.css +0 -38
- package/es/Player/style/index.css +0 -30
- package/es/Player/style/message.css +0 -49
- package/es/Player/style/slider.css +0 -96
- package/es/Player/style/timeline.css +0 -99
- package/es/Player/style/volume.css +0 -19
- package/es/Progress/index.css +0 -20
- package/es/ROI/index.css +0 -29
- package/es/ScreenPlayer/index.css +0 -166
- package/es/ThemeAntd/index.css +0 -620
- package/es/ThemeAntd/style/button.css +0 -55
- package/es/ThemeAntd/style/checkbox.css +0 -64
- package/es/ThemeAntd/style/form.css +0 -10
- package/es/ThemeAntd/style/input.css +0 -68
- package/es/ThemeAntd/style/pagination.css +0 -82
- package/es/ThemeAntd/style/picker.css +0 -98
- package/es/ThemeAntd/style/popover.css +0 -3
- package/es/ThemeAntd/style/radio.css +0 -80
- package/es/ThemeAntd/style/select.css +0 -76
- package/es/ThemeAntd/style/table.css +0 -46
- package/es/ThemeAntd/style/tree.css +0 -16
- package/es/Tree/index.css +0 -64
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
import React from 'react';
|
|
5
|
+
|
|
6
|
+
export async function getRoutes() {
|
|
7
|
+
return {
|
|
8
|
+
routes: {"404":{"id":"404","path":"*","parentId":"DocLayout"},"dumi-context-layout":{"id":"dumi-context-layout","path":"/","isLayout":true},"DocLayout":{"id":"DocLayout","path":"/","parentId":"dumi-context-layout","isLayout":true},"docs/changelog/index":{"path":"changelog","id":"docs/changelog/index","parentId":"DocLayout"},"docs/guide/index":{"path":"guide","id":"docs/guide/index","parentId":"DocLayout"},"docs/index":{"path":"","id":"docs/index","parentId":"DocLayout"},"components/CheckGroupFixed/index":{"id":"components/CheckGroupFixed/index","path":"components/checkgroupfixed","parentId":"DocLayout"},"components/DomMove/index":{"id":"components/DomMove/index","path":"components/dommove","parentId":"DocLayout"},"components/Drawer/index":{"id":"components/Drawer/index","path":"components/drawer","parentId":"DocLayout"},"components/FullScreen/index":{"id":"components/FullScreen/index","path":"components/fullscreen","parentId":"DocLayout"},"components/ImageView/index":{"id":"components/ImageView/index","path":"components/imageview","parentId":"DocLayout"},"components/Input/index":{"id":"components/Input/index","path":"components/input","parentId":"DocLayout"},"components/List/index":{"id":"components/List/index","path":"components/list","parentId":"DocLayout"},"components/LoaderApp/index":{"id":"components/LoaderApp/index","path":"components/loaderapp","parentId":"DocLayout"},"components/LoaderScript/index":{"id":"components/LoaderScript/index","path":"components/loaderscript","parentId":"DocLayout"},"components/Modal/index":{"id":"components/Modal/index","path":"components/modal","parentId":"DocLayout"},"components/Picture/index":{"id":"components/Picture/index","path":"components/picture","parentId":"DocLayout"},"components/Player/index":{"id":"components/Player/index","path":"components/player","parentId":"DocLayout"},"components/PlayerExt/index":{"id":"components/PlayerExt/index","path":"components/playerext","parentId":"DocLayout"},"components/ROI/index":{"id":"components/ROI/index","path":"components/roi","parentId":"DocLayout"},"components/ScreenPlayer/index":{"id":"components/ScreenPlayer/index","path":"components/screenplayer","parentId":"DocLayout"},"components/ThemeAntd/index":{"id":"components/ThemeAntd/index","path":"components/themeantd","parentId":"DocLayout"},"components/Timeout/index":{"id":"components/Timeout/index","path":"components/timeout","parentId":"DocLayout"},"components/Tree/index":{"id":"components/Tree/index","path":"components/tree","parentId":"DocLayout"},"components/useFullscreen/index":{"id":"components/useFullscreen/index","path":"components/usefullscreen","parentId":"DocLayout"},"demo-render":{"id":"demo-render","path":"~demos/:id","parentId":"dumi-context-layout"}},
|
|
9
|
+
routeComponents: {
|
|
10
|
+
'404': React.lazy(() => import(/* webpackChunkName: "nm__.pnpm__dumi_2.0.3_ht3eugyc2xy3cncd2guo3dvtky__node_modules__dumi__dist__client__pages__404" */'/Users/huang/project/vidc/node_modules/.pnpm/dumi@2.0.3_ht3eugyc2xy3cncd2guo3dvtky/node_modules/dumi/dist/client/pages/404.js')),
|
|
11
|
+
'dumi-context-layout': React.lazy(() => import(/* webpackChunkName: "dumi__tmp__dumi__theme__ContextWrapper" */'/Users/huang/project/vidc/.dumi/tmp/dumi/theme/ContextWrapper.tsx')),
|
|
12
|
+
'DocLayout': React.lazy(() => import(/* webpackChunkName: "nm__.pnpm__dumi_2.0.3_ht3eugyc2xy3cncd2guo3dvtky__node_modules__dumi__theme-default__layouts__DocLayout__index" */'/Users/huang/project/vidc/node_modules/.pnpm/dumi@2.0.3_ht3eugyc2xy3cncd2guo3dvtky/node_modules/dumi/theme-default/layouts/DocLayout/index.js')),
|
|
13
|
+
'docs/changelog/index': React.lazy(() => import(/* webpackChunkName: "docs__changelog__index.md" */'/Users/huang/project/vidc/docs/changelog/index.md')),
|
|
14
|
+
'docs/guide/index': React.lazy(() => import(/* webpackChunkName: "docs__guide__index.md" */'/Users/huang/project/vidc/docs/guide/index.md')),
|
|
15
|
+
'docs/index': React.lazy(() => import(/* webpackChunkName: "docs__index.md" */'/Users/huang/project/vidc/docs/index.md')),
|
|
16
|
+
'components/CheckGroupFixed/index': React.lazy(() => import(/* webpackChunkName: "CheckGroupFixed__index.md" */'/Users/huang/project/vidc/src/CheckGroupFixed/index.md')),
|
|
17
|
+
'components/DomMove/index': React.lazy(() => import(/* webpackChunkName: "DomMove__index.md" */'/Users/huang/project/vidc/src/DomMove/index.md')),
|
|
18
|
+
'components/Drawer/index': React.lazy(() => import(/* webpackChunkName: "Drawer__index.md" */'/Users/huang/project/vidc/src/Drawer/index.md')),
|
|
19
|
+
'components/FullScreen/index': React.lazy(() => import(/* webpackChunkName: "FullScreen__index.md" */'/Users/huang/project/vidc/src/FullScreen/index.md')),
|
|
20
|
+
'components/ImageView/index': React.lazy(() => import(/* webpackChunkName: "ImageView__index.md" */'/Users/huang/project/vidc/src/ImageView/index.md')),
|
|
21
|
+
'components/Input/index': React.lazy(() => import(/* webpackChunkName: "Input__index.md" */'/Users/huang/project/vidc/src/Input/index.md')),
|
|
22
|
+
'components/List/index': React.lazy(() => import(/* webpackChunkName: "List__index.md" */'/Users/huang/project/vidc/src/List/index.md')),
|
|
23
|
+
'components/LoaderApp/index': React.lazy(() => import(/* webpackChunkName: "LoaderApp__index.md" */'/Users/huang/project/vidc/src/LoaderApp/index.md')),
|
|
24
|
+
'components/LoaderScript/index': React.lazy(() => import(/* webpackChunkName: "LoaderScript__index.md" */'/Users/huang/project/vidc/src/LoaderScript/index.md')),
|
|
25
|
+
'components/Modal/index': React.lazy(() => import(/* webpackChunkName: "Modal__index.md" */'/Users/huang/project/vidc/src/Modal/index.md')),
|
|
26
|
+
'components/Picture/index': React.lazy(() => import(/* webpackChunkName: "Picture__index.md" */'/Users/huang/project/vidc/src/Picture/index.md')),
|
|
27
|
+
'components/Player/index': React.lazy(() => import(/* webpackChunkName: "Player__index.md" */'/Users/huang/project/vidc/src/Player/index.md')),
|
|
28
|
+
'components/PlayerExt/index': React.lazy(() => import(/* webpackChunkName: "PlayerExt__index.md" */'/Users/huang/project/vidc/src/PlayerExt/index.md')),
|
|
29
|
+
'components/ROI/index': React.lazy(() => import(/* webpackChunkName: "ROI__index.md" */'/Users/huang/project/vidc/src/ROI/index.md')),
|
|
30
|
+
'components/ScreenPlayer/index': React.lazy(() => import(/* webpackChunkName: "ScreenPlayer__index.md" */'/Users/huang/project/vidc/src/ScreenPlayer/index.md')),
|
|
31
|
+
'components/ThemeAntd/index': React.lazy(() => import(/* webpackChunkName: "ThemeAntd__index.md" */'/Users/huang/project/vidc/src/ThemeAntd/index.md')),
|
|
32
|
+
'components/Timeout/index': React.lazy(() => import(/* webpackChunkName: "Timeout__index.md" */'/Users/huang/project/vidc/src/Timeout/index.md')),
|
|
33
|
+
'components/Tree/index': React.lazy(() => import(/* webpackChunkName: "Tree__index.md" */'/Users/huang/project/vidc/src/Tree/index.md')),
|
|
34
|
+
'components/useFullscreen/index': React.lazy(() => import(/* webpackChunkName: "useFullscreen__index.md" */'/Users/huang/project/vidc/src/useFullscreen/index.md')),
|
|
35
|
+
'demo-render': React.lazy(() => import(/* webpackChunkName: "nm__.pnpm__dumi_2.0.3_ht3eugyc2xy3cncd2guo3dvtky__node_modules__dumi__dist__client__pages__Demo__index" */'/Users/huang/project/vidc/node_modules/.pnpm/dumi@2.0.3_ht3eugyc2xy3cncd2guo3dvtky/node_modules/dumi/dist/client/pages/Demo/index.js')),
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
const console = globalThis.console;
|
|
5
|
+
let count = 0;
|
|
6
|
+
let groupLevel = 0;
|
|
7
|
+
function send(type: string, message?: string) {
|
|
8
|
+
if(process.env.NODE_ENV==='production'){
|
|
9
|
+
return;
|
|
10
|
+
}else{
|
|
11
|
+
const encodedMessage = message ? `&m=${encodeURI(message)}` : '';
|
|
12
|
+
fetch(`/__umi/api/terminal?type=${type}&t=${Date.now()}&c=${count++}&g=${groupLevel}${encodedMessage}`, { mode: 'no-cors' })
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function prettyPrint(obj: any) {
|
|
16
|
+
return JSON.stringify(obj, null, 2);
|
|
17
|
+
}
|
|
18
|
+
function stringifyObjs(objs: any[]) {
|
|
19
|
+
const obj = objs.length > 1 ? objs.map(stringify).join(' ') : objs[0];
|
|
20
|
+
return typeof obj === 'object' ? `${prettyPrint(obj)}` : obj.toString();
|
|
21
|
+
}
|
|
22
|
+
function stringify(obj: any) {
|
|
23
|
+
return typeof obj === 'object' ? `${JSON.stringify(obj)}` : obj.toString();
|
|
24
|
+
}
|
|
25
|
+
const terminal = {
|
|
26
|
+
log(...objs: any[]) { send('log', stringifyObjs(objs)) },
|
|
27
|
+
info(...objs: any[]) { send('info', stringifyObjs(objs)) },
|
|
28
|
+
warn(...objs: any[]) { send('warn', stringifyObjs(objs)) },
|
|
29
|
+
error(...objs: any[]) { send('error', stringifyObjs(objs)) },
|
|
30
|
+
group() { groupLevel++ },
|
|
31
|
+
groupCollapsed() { groupLevel++ },
|
|
32
|
+
groupEnd() { groupLevel && --groupLevel },
|
|
33
|
+
clear() { send('clear') },
|
|
34
|
+
trace(...args: any[]) { console.trace(...args) },
|
|
35
|
+
profile(...args: any[]) { console.profile(...args) },
|
|
36
|
+
profileEnd(...args: any[]) { console.profileEnd(...args) },
|
|
37
|
+
};
|
|
38
|
+
export { terminal };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
export * from '../exports.ts';
|
|
5
|
+
export * from '/Users/huang/project/vidc/node_modules/.pnpm/dumi@2.0.3_ht3eugyc2xy3cncd2guo3dvtky/node_modules/dumi/dist/client/theme-api/index.js';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
export const locales = [
|
|
5
|
+
{
|
|
6
|
+
"id": "zh-CN",
|
|
7
|
+
"name": "中文",
|
|
8
|
+
"base": "/"
|
|
9
|
+
}
|
|
10
|
+
];
|
|
11
|
+
export const messages = {
|
|
12
|
+
"en-US": {
|
|
13
|
+
"a": "A",
|
|
14
|
+
"header.search.placeholder": "Type keywords...",
|
|
15
|
+
"previewer.actions.code.expand": "Show Code",
|
|
16
|
+
"previewer.actions.code.shrink": "Hide Code",
|
|
17
|
+
"previewer.actions.codesandbox": "Open in CodeSandbox",
|
|
18
|
+
"previewer.actions.codepen": "Open in CodePen (Not implemented)",
|
|
19
|
+
"previewer.actions.stackblitz": "Open in StackBlitz",
|
|
20
|
+
"previewer.actions.separate": "Open in separate page",
|
|
21
|
+
"404.title": "PAGE NOT FOUND",
|
|
22
|
+
"404.back": "Back to homepage",
|
|
23
|
+
"api.component.name": "Name",
|
|
24
|
+
"api.component.description": "Description",
|
|
25
|
+
"api.component.type": "Type",
|
|
26
|
+
"api.component.default": "Default",
|
|
27
|
+
"api.component.required": "(required)",
|
|
28
|
+
"api.component.loading": "Properties definition is resolving, wait a moment...",
|
|
29
|
+
"api.component.not.found": "Properties definition not found for {id} component",
|
|
30
|
+
"content.tabs.default": "Doc",
|
|
31
|
+
"search.not.found": "No content was found",
|
|
32
|
+
"layout.sidebar.btn": "Sidebar"
|
|
33
|
+
},
|
|
34
|
+
"zh-CN": {
|
|
35
|
+
"a": "嘿",
|
|
36
|
+
"header.search.placeholder": "输入关键字搜索...",
|
|
37
|
+
"previewer.actions.code.expand": "展开代码",
|
|
38
|
+
"previewer.actions.code.shrink": "收起代码",
|
|
39
|
+
"previewer.actions.codesandbox": "在 CodeSandbox 中打开",
|
|
40
|
+
"previewer.actions.codepen": "在 CodePen 中打开(未实现)",
|
|
41
|
+
"previewer.actions.stackblitz": "在 StackBlitz 中打开",
|
|
42
|
+
"previewer.actions.separate": "在独立页面中打开",
|
|
43
|
+
"404.title": "页面未找到",
|
|
44
|
+
"404.back": "返回首页",
|
|
45
|
+
"api.component.name": "属性名",
|
|
46
|
+
"api.component.description": "描述",
|
|
47
|
+
"api.component.type": "类型",
|
|
48
|
+
"api.component.default": "默认值",
|
|
49
|
+
"api.component.required": "(必选)",
|
|
50
|
+
"api.component.loading": "属性定义正在解析中,稍等片刻...",
|
|
51
|
+
"api.component.not.found": "未找到 {id} 组件的属性定义",
|
|
52
|
+
"content.tabs.default": "文档",
|
|
53
|
+
"search.not.found": "未找到相关内容",
|
|
54
|
+
"layout.sidebar.btn": "侧边菜单"
|
|
55
|
+
}
|
|
56
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
import { history } from 'dumi';
|
|
5
|
+
import React, { useState, useLayoutEffect, useCallback, type ReactNode } from 'react';
|
|
6
|
+
import { RawIntlProvider, createIntl, createIntlCache } from '/Users/huang/project/vidc/node_modules/.pnpm/react-intl@6.2.1_eetduzquwu67aqoq5644t6dxzu/node_modules/react-intl';
|
|
7
|
+
import { useIsomorphicLayoutEffect } from '/Users/huang/project/vidc/node_modules/.pnpm/dumi@2.0.3_ht3eugyc2xy3cncd2guo3dvtky/node_modules/dumi/dist/client/theme-api/utils.js'
|
|
8
|
+
import { locales, messages } from './config';
|
|
9
|
+
|
|
10
|
+
const cache = createIntlCache();
|
|
11
|
+
|
|
12
|
+
const LocalesContainer: FC<{ children: ReactNode }> = (props) => {
|
|
13
|
+
const getIntl = useCallback(() => {
|
|
14
|
+
const matched = locales.slice().reverse().find((locale) => (
|
|
15
|
+
'suffix' in locale
|
|
16
|
+
// suffix mode
|
|
17
|
+
? history.location.pathname.replace(/([^/])\/$/, '$1').endsWith(locale.suffix)
|
|
18
|
+
// base mode
|
|
19
|
+
: history.location.pathname.replace(/([^/])\/$/, '$1').startsWith(locale.base)
|
|
20
|
+
));
|
|
21
|
+
const locale = matched ? matched.id : locales[0].id;
|
|
22
|
+
|
|
23
|
+
return createIntl({ locale, messages: messages[locale] || {} }, cache);
|
|
24
|
+
}, []);
|
|
25
|
+
const [intl, setIntl] = useState(() => getIntl());
|
|
26
|
+
|
|
27
|
+
useIsomorphicLayoutEffect(() => {
|
|
28
|
+
return history.listen(() => {
|
|
29
|
+
setIntl(getIntl());
|
|
30
|
+
});
|
|
31
|
+
}, []);
|
|
32
|
+
|
|
33
|
+
return <RawIntlProvider value={intl} key={intl.locale}>{props.children}</RawIntlProvider>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export function i18nProvider(container: Element) {
|
|
37
|
+
return React.createElement(LocalesContainer, null, container);
|
|
38
|
+
}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
import { demos as dm0, frontmatter as fm0, toc as toc0, texts as txt0 } from '/Users/huang/project/vidc/docs/changelog/index.md?type=meta';
|
|
5
|
+
import { demos as dm1, frontmatter as fm1, toc as toc1, texts as txt1 } from '/Users/huang/project/vidc/docs/guide/index.md?type=meta';
|
|
6
|
+
import { demos as dm2, frontmatter as fm2, toc as toc2, texts as txt2 } from '/Users/huang/project/vidc/docs/index.md?type=meta';
|
|
7
|
+
import { demos as dm3, frontmatter as fm3, toc as toc3, texts as txt3 } from '/Users/huang/project/vidc/src/CheckGroupFixed/index.md?type=meta';
|
|
8
|
+
import { demos as dm4, frontmatter as fm4, toc as toc4, texts as txt4 } from '/Users/huang/project/vidc/src/DomMove/index.md?type=meta';
|
|
9
|
+
import { demos as dm5, frontmatter as fm5, toc as toc5, texts as txt5 } from '/Users/huang/project/vidc/src/Drawer/index.md?type=meta';
|
|
10
|
+
import { demos as dm6, frontmatter as fm6, toc as toc6, texts as txt6 } from '/Users/huang/project/vidc/src/FullScreen/index.md?type=meta';
|
|
11
|
+
import { demos as dm7, frontmatter as fm7, toc as toc7, texts as txt7 } from '/Users/huang/project/vidc/src/ImageView/index.md?type=meta';
|
|
12
|
+
import { demos as dm8, frontmatter as fm8, toc as toc8, texts as txt8 } from '/Users/huang/project/vidc/src/Input/index.md?type=meta';
|
|
13
|
+
import { demos as dm9, frontmatter as fm9, toc as toc9, texts as txt9 } from '/Users/huang/project/vidc/src/List/index.md?type=meta';
|
|
14
|
+
import { demos as dm10, frontmatter as fm10, toc as toc10, texts as txt10 } from '/Users/huang/project/vidc/src/LoaderApp/index.md?type=meta';
|
|
15
|
+
import { demos as dm11, frontmatter as fm11, toc as toc11, texts as txt11 } from '/Users/huang/project/vidc/src/LoaderScript/index.md?type=meta';
|
|
16
|
+
import { demos as dm12, frontmatter as fm12, toc as toc12, texts as txt12 } from '/Users/huang/project/vidc/src/Modal/index.md?type=meta';
|
|
17
|
+
import { demos as dm13, frontmatter as fm13, toc as toc13, texts as txt13 } from '/Users/huang/project/vidc/src/Picture/index.md?type=meta';
|
|
18
|
+
import { demos as dm14, frontmatter as fm14, toc as toc14, texts as txt14 } from '/Users/huang/project/vidc/src/Player/index.md?type=meta';
|
|
19
|
+
import { demos as dm15, frontmatter as fm15, toc as toc15, texts as txt15 } from '/Users/huang/project/vidc/src/PlayerExt/index.md?type=meta';
|
|
20
|
+
import { demos as dm16, frontmatter as fm16, toc as toc16, texts as txt16 } from '/Users/huang/project/vidc/src/ROI/index.md?type=meta';
|
|
21
|
+
import { demos as dm17, frontmatter as fm17, toc as toc17, texts as txt17 } from '/Users/huang/project/vidc/src/ScreenPlayer/index.md?type=meta';
|
|
22
|
+
import { demos as dm18, frontmatter as fm18, toc as toc18, texts as txt18 } from '/Users/huang/project/vidc/src/ThemeAntd/index.md?type=meta';
|
|
23
|
+
import { demos as dm19, frontmatter as fm19, toc as toc19, texts as txt19 } from '/Users/huang/project/vidc/src/Timeout/index.md?type=meta';
|
|
24
|
+
import { demos as dm20, frontmatter as fm20, toc as toc20, texts as txt20 } from '/Users/huang/project/vidc/src/Tree/index.md?type=meta';
|
|
25
|
+
import { demos as dm21, frontmatter as fm21, toc as toc21, texts as txt21 } from '/Users/huang/project/vidc/src/useFullscreen/index.md?type=meta';
|
|
26
|
+
import { demos as dm22, frontmatter as fm22, toc as toc22, texts as txt22 } from '/Users/huang/project/vidc/src/List/index.$tab-api.md?type=meta';
|
|
27
|
+
|
|
28
|
+
export { components } from './atoms';
|
|
29
|
+
export { tabs } from './tabs';
|
|
30
|
+
|
|
31
|
+
export const filesMeta = {
|
|
32
|
+
'docs/changelog/index': {
|
|
33
|
+
frontmatter: fm0,
|
|
34
|
+
toc: toc0,
|
|
35
|
+
texts: txt0,
|
|
36
|
+
demos: dm0,
|
|
37
|
+
},
|
|
38
|
+
'docs/guide/index': {
|
|
39
|
+
frontmatter: fm1,
|
|
40
|
+
toc: toc1,
|
|
41
|
+
texts: txt1,
|
|
42
|
+
demos: dm1,
|
|
43
|
+
},
|
|
44
|
+
'docs/index': {
|
|
45
|
+
frontmatter: fm2,
|
|
46
|
+
toc: toc2,
|
|
47
|
+
texts: txt2,
|
|
48
|
+
demos: dm2,
|
|
49
|
+
},
|
|
50
|
+
'components/CheckGroupFixed/index': {
|
|
51
|
+
frontmatter: fm3,
|
|
52
|
+
toc: toc3,
|
|
53
|
+
texts: txt3,
|
|
54
|
+
demos: dm3,
|
|
55
|
+
},
|
|
56
|
+
'components/DomMove/index': {
|
|
57
|
+
frontmatter: fm4,
|
|
58
|
+
toc: toc4,
|
|
59
|
+
texts: txt4,
|
|
60
|
+
demos: dm4,
|
|
61
|
+
},
|
|
62
|
+
'components/Drawer/index': {
|
|
63
|
+
frontmatter: fm5,
|
|
64
|
+
toc: toc5,
|
|
65
|
+
texts: txt5,
|
|
66
|
+
demos: dm5,
|
|
67
|
+
},
|
|
68
|
+
'components/FullScreen/index': {
|
|
69
|
+
frontmatter: fm6,
|
|
70
|
+
toc: toc6,
|
|
71
|
+
texts: txt6,
|
|
72
|
+
demos: dm6,
|
|
73
|
+
},
|
|
74
|
+
'components/ImageView/index': {
|
|
75
|
+
frontmatter: fm7,
|
|
76
|
+
toc: toc7,
|
|
77
|
+
texts: txt7,
|
|
78
|
+
demos: dm7,
|
|
79
|
+
},
|
|
80
|
+
'components/Input/index': {
|
|
81
|
+
frontmatter: fm8,
|
|
82
|
+
toc: toc8,
|
|
83
|
+
texts: txt8,
|
|
84
|
+
demos: dm8,
|
|
85
|
+
},
|
|
86
|
+
'components/List/index': {
|
|
87
|
+
frontmatter: fm9,
|
|
88
|
+
toc: toc9,
|
|
89
|
+
texts: txt9,
|
|
90
|
+
demos: dm9,
|
|
91
|
+
tabs: ["src/List/index.$tab-api"],
|
|
92
|
+
},
|
|
93
|
+
'components/LoaderApp/index': {
|
|
94
|
+
frontmatter: fm10,
|
|
95
|
+
toc: toc10,
|
|
96
|
+
texts: txt10,
|
|
97
|
+
demos: dm10,
|
|
98
|
+
},
|
|
99
|
+
'components/LoaderScript/index': {
|
|
100
|
+
frontmatter: fm11,
|
|
101
|
+
toc: toc11,
|
|
102
|
+
texts: txt11,
|
|
103
|
+
demos: dm11,
|
|
104
|
+
},
|
|
105
|
+
'components/Modal/index': {
|
|
106
|
+
frontmatter: fm12,
|
|
107
|
+
toc: toc12,
|
|
108
|
+
texts: txt12,
|
|
109
|
+
demos: dm12,
|
|
110
|
+
},
|
|
111
|
+
'components/Picture/index': {
|
|
112
|
+
frontmatter: fm13,
|
|
113
|
+
toc: toc13,
|
|
114
|
+
texts: txt13,
|
|
115
|
+
demos: dm13,
|
|
116
|
+
},
|
|
117
|
+
'components/Player/index': {
|
|
118
|
+
frontmatter: fm14,
|
|
119
|
+
toc: toc14,
|
|
120
|
+
texts: txt14,
|
|
121
|
+
demos: dm14,
|
|
122
|
+
},
|
|
123
|
+
'components/PlayerExt/index': {
|
|
124
|
+
frontmatter: fm15,
|
|
125
|
+
toc: toc15,
|
|
126
|
+
texts: txt15,
|
|
127
|
+
demos: dm15,
|
|
128
|
+
},
|
|
129
|
+
'components/ROI/index': {
|
|
130
|
+
frontmatter: fm16,
|
|
131
|
+
toc: toc16,
|
|
132
|
+
texts: txt16,
|
|
133
|
+
demos: dm16,
|
|
134
|
+
},
|
|
135
|
+
'components/ScreenPlayer/index': {
|
|
136
|
+
frontmatter: fm17,
|
|
137
|
+
toc: toc17,
|
|
138
|
+
texts: txt17,
|
|
139
|
+
demos: dm17,
|
|
140
|
+
},
|
|
141
|
+
'components/ThemeAntd/index': {
|
|
142
|
+
frontmatter: fm18,
|
|
143
|
+
toc: toc18,
|
|
144
|
+
texts: txt18,
|
|
145
|
+
demos: dm18,
|
|
146
|
+
},
|
|
147
|
+
'components/Timeout/index': {
|
|
148
|
+
frontmatter: fm19,
|
|
149
|
+
toc: toc19,
|
|
150
|
+
texts: txt19,
|
|
151
|
+
demos: dm19,
|
|
152
|
+
},
|
|
153
|
+
'components/Tree/index': {
|
|
154
|
+
frontmatter: fm20,
|
|
155
|
+
toc: toc20,
|
|
156
|
+
texts: txt20,
|
|
157
|
+
demos: dm20,
|
|
158
|
+
},
|
|
159
|
+
'components/useFullscreen/index': {
|
|
160
|
+
frontmatter: fm21,
|
|
161
|
+
toc: toc21,
|
|
162
|
+
texts: txt21,
|
|
163
|
+
demos: dm21,
|
|
164
|
+
},
|
|
165
|
+
'src/List/index.$tab-api': {
|
|
166
|
+
frontmatter: fm22,
|
|
167
|
+
toc: toc22,
|
|
168
|
+
texts: txt22,
|
|
169
|
+
demos: dm22,
|
|
170
|
+
},
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// generate demos data in runtime, for reuse route.id to reduce bundle size
|
|
174
|
+
export const demos = Object.entries(filesMeta).reduce((acc, [id, meta]) => {
|
|
175
|
+
// append route id to demo
|
|
176
|
+
Object.values(meta.demos).forEach((demo) => {
|
|
177
|
+
demo.routeId = id;
|
|
178
|
+
});
|
|
179
|
+
// merge demos
|
|
180
|
+
Object.assign(acc, meta.demos);
|
|
181
|
+
|
|
182
|
+
// remove demos from meta, to avoid deep clone demos in umi routes/children compatible logic
|
|
183
|
+
delete meta.demos;
|
|
184
|
+
|
|
185
|
+
return acc;
|
|
186
|
+
}, {});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
import { filesMeta, tabs } from '.';
|
|
5
|
+
import deepmerge from '/Users/huang/project/vidc/node_modules/.pnpm/deepmerge@4.2.2/node_modules/deepmerge';
|
|
6
|
+
export const patchRoutes = ({ routes }) => {
|
|
7
|
+
Object.values(routes).forEach((route) => {
|
|
8
|
+
if (filesMeta[route.id]) {
|
|
9
|
+
route.meta = deepmerge(route.meta, filesMeta[route.id]);
|
|
10
|
+
|
|
11
|
+
// apply real tab data from id
|
|
12
|
+
route.meta.tabs = route.meta.tabs?.map(id => ({
|
|
13
|
+
...tabs[id],
|
|
14
|
+
meta: filesMeta[id],
|
|
15
|
+
}));
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
import * as tab0 from '/Users/huang/project/vidc/src/List/index.$tab-api.md';
|
|
5
|
+
|
|
6
|
+
export const tabs = {
|
|
7
|
+
'src/List/index.$tab-api': { key: 'api', components: tab0 },
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
import React, { useState, useEffect, useRef } from 'react';
|
|
5
|
+
import { useOutlet, history } from 'dumi';
|
|
6
|
+
import { SiteContext } from '/Users/huang/project/vidc/node_modules/.pnpm/dumi@2.0.3_ht3eugyc2xy3cncd2guo3dvtky/node_modules/dumi/dist/client/theme-api/context.js';
|
|
7
|
+
import { demos, components } from '../meta';
|
|
8
|
+
import { locales } from '../locales/config';
|
|
9
|
+
|
|
10
|
+
export default function DumiContextWrapper() {
|
|
11
|
+
const outlet = useOutlet();
|
|
12
|
+
const [loading, setLoading] = useState(true);
|
|
13
|
+
const prev = useRef(history.location.pathname);
|
|
14
|
+
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
return history.listen((next) => {
|
|
17
|
+
// mark loading when route change, page component will set false when loaded
|
|
18
|
+
setLoading(true);
|
|
19
|
+
|
|
20
|
+
// scroll to top when route changed
|
|
21
|
+
if (next.location.pathname !== prev.current) {
|
|
22
|
+
prev.current = next.location.pathname;
|
|
23
|
+
document.documentElement.scrollTo(0, 0);
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}, []);
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<SiteContext.Provider value={{
|
|
30
|
+
pkg: {"name":"@cloud-app-dev/vidc","description":"Video Image Data Componennts","version":"3.2.13"},
|
|
31
|
+
demos,
|
|
32
|
+
components,
|
|
33
|
+
locales,
|
|
34
|
+
loading,
|
|
35
|
+
setLoading,
|
|
36
|
+
themeConfig: {"title":"CloudApp VIDC","footer":"Copyright © 2022 | Powered by <a href=\"https://d.umijs.org\" target=\"_blank\" rel=\"noreferrer\">dumi</a>","name":"VIDC","logo":"https://user-images.githubusercontent.com/9554297/83762004-a0761b00-a6a9-11ea-83b4-9c8ff721d4b8.png","navs":[null,{"title":"GitLab","path":"https://git.topvdn.com/cloudapp/vidc"}]},
|
|
37
|
+
}}>
|
|
38
|
+
{outlet}
|
|
39
|
+
</SiteContext.Provider>
|
|
40
|
+
);
|
|
41
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
export { default } from '/Users/huang/project/vidc/node_modules/.pnpm/dumi@2.0.3_ht3eugyc2xy3cncd2guo3dvtky/node_modules/dumi/theme-default/slots/PreviewerActionsExtra/index.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
// This file is generated by Umi automatically
|
|
3
|
+
// DO NOT CHANGE IT MANUALLY!
|
|
4
|
+
// @umijs/renderer-*
|
|
5
|
+
export { createBrowserHistory, createHashHistory, createMemoryHistory, createSearchParams, generatePath, matchPath, matchRoutes, Navigate, NavLink, Outlet, resolvePath, useLocation, useMatch, useNavigate, useOutlet, useOutletContext, useParams, useResolvedPath, useRoutes, useSearchParams, Helmet, useAppData, useClientLoaderData, useServerLoaderData, renderClient, __getRoot, Link, useRouteData, __useFetcher, withRouter } from '/Users/huang/project/vidc/node_modules/.pnpm/@umijs+renderer-react@4.0.32_ef5jwxihqo6n7gxfmzogljlgcm/node_modules/@umijs/renderer-react';
|
|
6
|
+
export type { History } from '/Users/huang/project/vidc/node_modules/.pnpm/@umijs+renderer-react@4.0.32_ef5jwxihqo6n7gxfmzogljlgcm/node_modules/@umijs/renderer-react'
|
|
7
|
+
// umi/client/client/plugin
|
|
8
|
+
export { ApplyPluginsType, PluginManager } from '/Users/huang/project/vidc/node_modules/.pnpm/umi@4.0.32_ht3eugyc2xy3cncd2guo3dvtky/node_modules/umi/client/client/plugin.js';
|
|
9
|
+
export { history, createHistory } from './core/history';
|
|
10
|
+
export { terminal } from './core/terminal';
|
|
11
|
+
export { TestBrowser } from './testBrowser';
|
|
12
|
+
// plugins
|
|
13
|
+
// plugins types.d.ts
|
|
14
|
+
export { defineApp } from './core/defineApp'
|
|
15
|
+
export type { RuntimeConfig } from './core/defineApp'
|