antd-management-fast-framework 1.12.102 → 2.1.0
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/es/components/ApplicationWrapper/index.d.ts +9 -0
- package/es/components/Bootstrap/index.d.ts +3 -0
- package/es/components/DataPreviewDrawer/index.d.ts +31 -0
- package/es/{customComponents/Exception → components/LoadingOverlay}/index.d.ts +1 -3
- package/es/components/MobileContainor/MobileHtmlPreviewBox/index.d.ts +10 -0
- package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +75 -0
- package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +54 -0
- package/es/components/MobileContainor/index.d.ts +8 -0
- package/es/components/index.d.ts +5 -0
- package/es/configGroup/configGeneral.d.ts +27 -55
- package/es/configGroup/configGeneral.js +31 -138
- package/es/configGroup/index.d.ts +2 -0
- package/es/configGroup/themeCollection.d.ts +3 -25
- package/es/configGroup/themeCollection.js +1 -109
- package/es/configGroup/webpackPlugin.d.ts +0 -7
- package/es/configGroup/webpackPlugin.js +236 -51
- package/es/configs/index.d.ts +2 -0
- package/es/configs/themeCollection.d.ts +7 -0
- package/es/configs/webpackPlugin.d.ts +4 -0
- package/es/customComponents/ApplicationProvider/index.d.ts +12 -0
- package/es/customComponents/ApplicationWrapper/index.d.ts +9 -0
- package/es/customComponents/Bootstrap/index.d.ts +3 -0
- package/es/customComponents/Bootstrap/index.js +67 -0
- package/es/customComponents/DataPreviewDrawer/index.d.ts +5 -6
- package/es/customComponents/DataPreviewDrawer/index.js +78 -87
- package/es/customComponents/LoadingOverlay/index.d.ts +6 -0
- package/es/customComponents/LoadingOverloay/index.d.ts +3 -0
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +4 -6
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +57 -54
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +38 -12
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +84 -111
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +8 -8
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +76 -95
- package/es/customComponents/MobileContainor/index.d.ts +8 -0
- package/es/customComponents/index.d.ts +5 -7
- package/es/framework/AuthorizationWrapper/index.d.ts +8 -5
- package/es/framework/AuthorizationWrapper/index.js +50 -59
- package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +5 -6
- package/es/framework/ButtonExtension/SelectButton/Base/index.js +52 -70
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +6 -7
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +57 -85
- package/es/framework/ButtonExtension/SelectButton/index.d.ts +6 -0
- package/es/framework/ButtonExtension/index.d.ts +1 -0
- package/es/framework/Common/CardCollectionItemContent/index.d.ts +14 -0
- package/es/framework/Common/CommonInternal/index.d.ts +167 -0
- package/es/framework/Common/InternalBuild/index.d.ts +26 -0
- package/es/framework/Common/InternalFlow/index.d.ts +149 -0
- package/es/framework/Common/InternalLayout/index.d.ts +9 -0
- package/es/framework/Common/InternalMake/index.d.ts +9 -0
- package/es/framework/Common/InternalTabFlow/index.d.ts +12 -0
- package/es/framework/Common/index.d.ts +2 -205
- package/es/framework/Common/index.js +39 -2481
- package/es/framework/Core/index.d.ts +17 -6
- package/es/framework/Core/index.js +15 -56
- package/es/framework/CustomWrapper/Supplement/index.d.ts +2 -3
- package/es/framework/CustomWrapper/Supplement/index.js +43 -40
- package/es/framework/CustomWrapper/SupplementCore/index.d.ts +2 -4
- package/es/framework/CustomWrapper/SupplementCore/index.js +47 -66
- package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +2 -3
- package/es/framework/CustomWrapper/SupplementWrapper/index.js +44 -41
- package/es/framework/CustomWrapper/index.d.ts +3 -0
- package/es/framework/DataDrawer/Base/index.d.ts +16 -18
- package/es/framework/DataDrawer/Base/index.js +126 -238
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +3 -4
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +57 -60
- package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +3 -4
- package/es/framework/DataDrawer/BaseLoadDrawer/index.js +54 -47
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +3 -4
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +57 -63
- package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +2 -3
- package/es/framework/DataDrawer/BaseSaveDrawer/index.js +55 -57
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +2 -3
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +56 -56
- package/es/framework/DataDrawer/index.d.ts +14 -0
- package/es/framework/DataForm/BaseAddForm/index.d.ts +7 -7
- package/es/framework/DataForm/BaseAddForm/index.js +95 -162
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +3 -4
- package/es/framework/DataForm/BaseUpdateForm/index.js +66 -85
- package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +2 -3
- package/es/framework/DataForm/BaseUpdateFormContent/index.js +55 -45
- package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +3 -3
- package/es/framework/DataForm/BaseUpdateFormTab/index.js +54 -37
- package/es/framework/DataForm/index.d.ts +10 -0
- package/es/framework/DataListView/Base/index.d.ts +38 -82
- package/es/framework/DataListView/Base/index.js +318 -635
- package/es/framework/DataListView/BatchAction/index.d.ts +3 -3
- package/es/framework/DataListView/BatchAction/index.js +38 -68
- package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +1 -2
- package/es/framework/DataListView/ColumnSetting/DndItem.js +87 -110
- package/es/framework/DataListView/ColumnSetting/index.d.ts +1 -2
- package/es/framework/DataListView/ColumnSetting/index.js +111 -160
- package/es/framework/DataListView/DensityAction/index.d.ts +2 -3
- package/es/framework/DataListView/DensityAction/index.js +29 -84
- package/es/framework/DataListView/index.d.ts +10 -0
- package/es/framework/DataMenuContainer/index.d.ts +8 -10
- package/es/framework/DataMenuContainer/index.js +96 -155
- package/es/framework/DataModal/Base/index.d.ts +10 -12
- package/es/framework/DataModal/Base/index.js +74 -128
- package/es/framework/DataModal/BaseAddModal/index.d.ts +2 -3
- package/es/framework/DataModal/BaseAddModal/index.js +52 -50
- package/es/framework/DataModal/BaseLoadModal/index.d.ts +3 -4
- package/es/framework/DataModal/BaseLoadModal/index.js +49 -44
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +6 -6
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +55 -62
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +4 -4
- package/es/framework/DataModal/BaseSelectModal/index.js +52 -51
- package/es/framework/DataModal/BaseUpdateModal/index.d.ts +2 -3
- package/es/framework/DataModal/BaseUpdateModal/index.js +50 -37
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +5 -5
- package/es/framework/DataModal/BaseUpdateTransferModal/index.js +63 -85
- package/es/framework/DataModal/index.d.ts +16 -0
- package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +3 -3
- package/es/framework/DataMultiPageView/InnerMultiPage/index.js +66 -46
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +4 -3
- package/es/framework/DataMultiPageView/MultiPage/index.js +109 -143
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +19 -21
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +179 -233
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +4 -5
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +79 -73
- package/es/framework/DataMultiPageView/index.d.ts +10 -0
- package/es/framework/DataOperation/Base/index.d.ts +2 -3
- package/es/framework/DataOperation/Base/index.js +156 -214
- package/es/framework/DataOperation/BaseView/index.d.ts +2 -3
- package/es/framework/DataOperation/BaseView/index.js +56 -51
- package/es/framework/DataOperation/BaseWindow/index.d.ts +13 -14
- package/es/framework/DataOperation/BaseWindow/index.js +115 -163
- package/es/framework/DataOperation/index.d.ts +8 -0
- package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +3 -3
- package/es/framework/DataSinglePageView/InnerSinglePage/index.js +66 -46
- package/es/framework/DataSinglePageView/SinglePage/index.d.ts +9 -4
- package/es/framework/DataSinglePageView/SinglePage/index.js +97 -121
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +19 -21
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +173 -224
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +4 -5
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +81 -75
- package/es/framework/DataSinglePageView/index.d.ts +10 -0
- package/es/framework/DataSingleView/DataCore/index.d.ts +13 -40
- package/es/framework/DataSingleView/DataCore/index.js +90 -160
- package/es/framework/DataSingleView/DataLoad/index.d.ts +5 -5
- package/es/framework/DataSingleView/DataLoad/index.js +74 -92
- package/es/framework/DataSingleView/index.d.ts +6 -0
- package/es/framework/DataTabContainer/index.d.ts +6 -29
- package/es/framework/DataTabContainer/index.js +133 -159
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +6 -7
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +69 -96
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +65 -97
- package/es/framework/FieldExtension/SelectFieldDrawer/{SelectFieldDrawerBase → SelectFieldInteractiveBase}/index.d.ts +6 -7
- package/es/framework/FieldExtension/SelectFieldDrawer/index.d.ts +6 -0
- package/es/framework/FieldExtension/index.d.ts +4 -0
- package/es/framework/LayoutWrapper/index.d.ts +2 -0
- package/es/framework/Wrapper/index.d.ts +2 -3
- package/es/framework/Wrapper/index.js +42 -41
- package/es/framework/index.d.ts +17 -7
- package/es/get.js +28 -0
- package/es/getPrototypeOf.js +76 -0
- package/es/index.css +12 -0
- package/es/index.d.ts +5 -1
- package/es/index.js +9769 -6
- package/es/index2.js +2075 -0
- package/es/index3.js +383 -0
- package/es/modelBuilders/index.d.ts +1 -0
- package/es/modelBuilders/schedulingControl.d.ts +68 -0
- package/es/models/index.d.ts +1 -0
- package/es/models/schedulingControl.d.ts +46 -0
- package/es/models/schedulingControl.js +171 -0
- package/es/objectSpread2.js +40 -0
- package/es/services/schedulingControl.d.ts +4 -0
- package/es/services/schedulingControl.js +135 -0
- package/es/slicedToArray.js +43 -0
- package/es/toConsumableArray.js +19 -0
- package/es/toPropertyKey.js +19 -0
- package/es/typeof.js +11 -0
- package/es/unsupportedIterableToArray.js +16 -0
- package/es/utils/appListDataAssist.js +69 -0
- package/es/utils/applicationAssist.js +28 -0
- package/es/utils/applicationListDataAssist.d.ts +4 -0
- package/es/utils/applicationListDataCacheAssist.d.ts +24 -0
- package/es/utils/bootstrap.d.ts +4 -0
- package/es/utils/bootstrap.js +58 -0
- package/es/utils/configAssist.d.ts +1 -0
- package/es/utils/currentOperatorAssist.d.ts +5 -0
- package/es/utils/definition.d.ts +4 -0
- package/es/utils/index.d.ts +8 -0
- package/es/utils/layoutSettingAssist.d.ts +2 -0
- package/es/utils/layoutSettingAssist.js +60 -0
- package/es/utils/metaDataAssist.d.ts +5 -0
- package/es/utils/metaDataAssist.js +69 -0
- package/es/utils/schedulingControlAssist.d.ts +10 -0
- package/es/utils/storageAssist.js +153 -0
- package/package.json +122 -195
- package/License.txt +0 -21
- package/README.md +0 -35
- package/es/customComponents/AMap/UIPoiPicker.d.ts +0 -8
- package/es/customComponents/AMap/UIPoiPicker.js +0 -78
- package/es/customComponents/AMap/UIPositionPicker.d.ts +0 -8
- package/es/customComponents/AMap/UIPositionPicker.js +0 -87
- package/es/customComponents/ActiveChart/index.d.ts +0 -17
- package/es/customComponents/ActiveChart/index.js +0 -168
- package/es/customComponents/ActiveChart/index.less +0 -58
- package/es/customComponents/AnimalBox/FadeBox/index.d.ts +0 -14
- package/es/customComponents/AnimalBox/FadeBox/index.js +0 -82
- package/es/customComponents/AnimalBox/FadeBox/index.less +0 -61
- package/es/customComponents/AnimalBox/QueueBox/index.d.ts +0 -12
- package/es/customComponents/AnimalBox/QueueBox/index.js +0 -76
- package/es/customComponents/AnimalBox/QueueListBox/index.d.ts +0 -15
- package/es/customComponents/AnimalBox/QueueListBox/index.js +0 -117
- package/es/customComponents/AnimalBox/QueueListBox/index.less +0 -16
- package/es/customComponents/AnimalBox/RotateBox/index.d.ts +0 -14
- package/es/customComponents/AnimalBox/RotateBox/index.js +0 -85
- package/es/customComponents/ArticleListContent/index.d.ts +0 -10
- package/es/customComponents/ArticleListContent/index.js +0 -49
- package/es/customComponents/ArticleListContent/index.less +0 -41
- package/es/customComponents/AudioUpload/index.d.ts +0 -39
- package/es/customComponents/AudioUpload/index.js +0 -478
- package/es/customComponents/Authorized/Authorized.d.ts +0 -6
- package/es/customComponents/Authorized/Authorized.js +0 -33
- package/es/customComponents/Authorized/AuthorizedRoute.d.ts +0 -8
- package/es/customComponents/Authorized/AuthorizedRoute.js +0 -50
- package/es/customComponents/Authorized/CheckPermissions.d.ts +0 -11
- package/es/customComponents/Authorized/CheckPermissions.js +0 -106
- package/es/customComponents/Authorized/PromiseRender.d.ts +0 -13
- package/es/customComponents/Authorized/PromiseRender.js +0 -151
- package/es/customComponents/Authorized/Secured.d.ts +0 -18
- package/es/customComponents/Authorized/Secured.js +0 -95
- package/es/customComponents/Authorized/index.d.ts +0 -2
- package/es/customComponents/Authorized/index.js +0 -22
- package/es/customComponents/Authorized/renderAuthorize.d.ts +0 -3
- package/es/customComponents/Authorized/renderAuthorize.js +0 -37
- package/es/customComponents/AvatarList/index.d.ts +0 -17
- package/es/customComponents/AvatarList/index.js +0 -99
- package/es/customComponents/AvatarList/index.less +0 -53
- package/es/customComponents/AvatarList/index.test.d.ts +0 -1
- package/es/customComponents/Canvas/Bubbly/index.d.ts +0 -20
- package/es/customComponents/Canvas/Bubbly/index.js +0 -182
- package/es/customComponents/Canvas/Core/index.d.ts +0 -28
- package/es/customComponents/Canvas/Core/index.js +0 -163
- package/es/customComponents/Canvas/RadarScanning/index.d.ts +0 -20
- package/es/customComponents/Canvas/RadarScanning/index.js +0 -251
- package/es/customComponents/Canvas/Ribbon.7z +0 -0
- package/es/customComponents/Canvas/Spirit/index.d.ts +0 -23
- package/es/customComponents/Canvas/Spirit/index.js +0 -119
- package/es/customComponents/Canvas/index.d.ts +0 -12
- package/es/customComponents/Canvas/index.js +0 -27
- package/es/customComponents/CenterBox/index.d.ts +0 -7
- package/es/customComponents/CenterBox/index.js +0 -70
- package/es/customComponents/Charts/Bar/index.d.ts +0 -10
- package/es/customComponents/Charts/Bar/index.js +0 -129
- package/es/customComponents/Charts/ChartCard/index.d.ts +0 -8
- package/es/customComponents/Charts/ChartCard/index.js +0 -160
- package/es/customComponents/Charts/ChartCard/index.less +0 -90
- package/es/customComponents/Charts/Field/index.d.ts +0 -6
- package/es/customComponents/Charts/Field/index.js +0 -37
- package/es/customComponents/Charts/Field/index.less +0 -19
- package/es/customComponents/Charts/Gauge/index.d.ts +0 -2
- package/es/customComponents/Charts/Gauge/index.js +0 -185
- package/es/customComponents/Charts/MiniArea/index.d.ts +0 -2
- package/es/customComponents/Charts/MiniArea/index.js +0 -107
- package/es/customComponents/Charts/MiniBar/index.d.ts +0 -2
- package/es/customComponents/Charts/MiniBar/index.js +0 -62
- package/es/customComponents/Charts/MiniProgress/index.d.ts +0 -8
- package/es/customComponents/Charts/MiniProgress/index.js +0 -55
- package/es/customComponents/Charts/MiniProgress/index.less +0 -42
- package/es/customComponents/Charts/Pie/index.d.ts +0 -10
- package/es/customComponents/Charts/Pie/index.js +0 -195
- package/es/customComponents/Charts/Pie/index.less +0 -104
- package/es/customComponents/Charts/TagCloud/index.d.ts +0 -23
- package/es/customComponents/Charts/TagCloud/index.js +0 -276
- package/es/customComponents/Charts/TagCloud/index.less +0 -7
- package/es/customComponents/Charts/TimelineChart/index.d.ts +0 -2
- package/es/customComponents/Charts/TimelineChart/index.js +0 -173
- package/es/customComponents/Charts/TimelineChart/index.less +0 -5
- package/es/customComponents/Charts/WaterWave/index.d.ts +0 -18
- package/es/customComponents/Charts/WaterWave/index.js +0 -319
- package/es/customComponents/Charts/WaterWave/index.less +0 -32
- package/es/customComponents/Charts/autoHeight.d.ts +0 -13
- package/es/customComponents/Charts/autoHeight.js +0 -123
- package/es/customComponents/Charts/bizcharts.d.ts +0 -2
- package/es/customComponents/Charts/bizcharts.js +0 -17
- package/es/customComponents/Charts/index.d.ts +0 -27
- package/es/customComponents/Charts/index.js +0 -119
- package/es/customComponents/Charts/index.less +0 -26
- package/es/customComponents/ColorText/index.d.ts +0 -22
- package/es/customComponents/ColorText/index.js +0 -139
- package/es/customComponents/Countdown/index.d.ts +0 -22
- package/es/customComponents/Countdown/index.js +0 -158
- package/es/customComponents/Countdown/index.less +0 -5
- package/es/customComponents/DataPreviewDrawer/index.less +0 -10
- package/es/customComponents/DecorateAvatar/index.d.ts +0 -37
- package/es/customComponents/DecorateAvatar/index.js +0 -199
- package/es/customComponents/DisplayCopyData/index.d.ts +0 -10
- package/es/customComponents/DisplayCopyData/index.js +0 -86
- package/es/customComponents/EditableItem/index.d.ts +0 -12
- package/es/customComponents/EditableItem/index.js +0 -121
- package/es/customComponents/EditableItem/index.less +0 -25
- package/es/customComponents/EditableLinkGroup/index.d.ts +0 -23
- package/es/customComponents/EditableLinkGroup/index.js +0 -99
- package/es/customComponents/EditableLinkGroup/index.less +0 -18
- package/es/customComponents/Editor/TinymceWrapper/index.d.ts +0 -19
- package/es/customComponents/Editor/TinymceWrapper/index.js +0 -254
- package/es/customComponents/Ellipsis/index.d.ts +0 -26
- package/es/customComponents/Ellipsis/index.js +0 -389
- package/es/customComponents/Ellipsis/index.less +0 -28
- package/es/customComponents/Ellipsis/index.test.d.ts +0 -1
- package/es/customComponents/EllipsisCustom/index.d.ts +0 -26
- package/es/customComponents/EllipsisCustom/index.js +0 -355
- package/es/customComponents/EllipsisCustom/index.less +0 -27
- package/es/customComponents/EverySpace/index.d.ts +0 -16
- package/es/customComponents/EverySpace/index.js +0 -105
- package/es/customComponents/Exception/index.js +0 -121
- package/es/customComponents/Exception/index.less +0 -92
- package/es/customComponents/Exception/typeConfig.d.ts +0 -18
- package/es/customComponents/Exception/typeConfig.js +0 -25
- package/es/customComponents/FigureRange/index.d.ts +0 -133
- package/es/customComponents/FigureRange/index.js +0 -335
- package/es/customComponents/FigureRange/index.less +0 -73
- package/es/customComponents/FileBase64Upload/index.d.ts +0 -27
- package/es/customComponents/FileBase64Upload/index.js +0 -205
- package/es/customComponents/FileUpload/index.d.ts +0 -35
- package/es/customComponents/FileUpload/index.js +0 -402
- package/es/customComponents/FlexBox/index.d.ts +0 -24
- package/es/customComponents/FlexBox/index.js +0 -186
- package/es/customComponents/FlexText/index.d.ts +0 -21
- package/es/customComponents/FlexText/index.js +0 -109
- package/es/customComponents/FlexText/index.less +0 -3
- package/es/customComponents/FooterToolbar/index.d.ts +0 -16
- package/es/customComponents/FooterToolbar/index.js +0 -132
- package/es/customComponents/FooterToolbar/index.less +0 -33
- package/es/customComponents/FromDisplayItem/index.d.ts +0 -14
- package/es/customComponents/FromDisplayItem/index.js +0 -73
- package/es/customComponents/FromDisplayItem/index.less +0 -5
- package/es/customComponents/FunctionComponent/index.d.ts +0 -443
- package/es/customComponents/FunctionComponent/index.js +0 -3404
- package/es/customComponents/FunctionComponent/index.less +0 -63
- package/es/customComponents/FunctionSupplement/Whether/index.d.ts +0 -46
- package/es/customComponents/FunctionSupplement/Whether/index.js +0 -181
- package/es/customComponents/GlobalFooter/index.d.ts +0 -6
- package/es/customComponents/GlobalFooter/index.js +0 -39
- package/es/customComponents/GlobalFooter/index.less +0 -29
- package/es/customComponents/HelpBox/index.d.ts +0 -18
- package/es/customComponents/HelpBox/index.js +0 -192
- package/es/customComponents/HelpBox/index.less +0 -16
- package/es/customComponents/HelpCard/index.d.ts +0 -18
- package/es/customComponents/HelpCard/index.js +0 -91
- package/es/customComponents/HtmlBox/index.d.ts +0 -20
- package/es/customComponents/HtmlBox/index.js +0 -118
- package/es/customComponents/HtmlBox/index.less +0 -7
- package/es/customComponents/IconFont/index.d.ts +0 -2
- package/es/customComponents/IconFont/index.js +0 -14
- package/es/customComponents/IconInfo/index.d.ts +0 -32
- package/es/customComponents/IconInfo/index.js +0 -373
- package/es/customComponents/IconInfo/index.less +0 -5
- package/es/customComponents/ImageBox/index.d.ts +0 -60
- package/es/customComponents/ImageBox/index.js +0 -376
- package/es/customComponents/ImageBox/index.less +0 -114
- package/es/customComponents/ImageContentPreview/index.d.ts +0 -21
- package/es/customComponents/ImageContentPreview/index.js +0 -173
- package/es/customComponents/ImageContentPreview/index.less +0 -9
- package/es/customComponents/ImageUpload/index.d.ts +0 -45
- package/es/customComponents/ImageUpload/index.js +0 -413
- package/es/customComponents/ImageUpload/index.less +0 -81
- package/es/customComponents/MobileContainor/ContentView/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/ContentView/index.js +0 -152
- package/es/customComponents/MobileContainor/ContentView/index.less +0 -30
- package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.d.ts +0 -19
- package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.js +0 -121
- package/es/customComponents/MobileContainor/Devices/IPhone5S/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/Devices/IPhone5S/index.js +0 -124
- package/es/customComponents/MobileContainor/Devices/Iphone8/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/Devices/Iphone8/index.js +0 -124
- package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.js +0 -124
- package/es/customComponents/MobileContainor/Devices/IphoneX/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/Devices/IphoneX/index.js +0 -130
- package/es/customComponents/MobileContainor/Devices/RoughSketch/index.d.ts +0 -19
- package/es/customComponents/MobileContainor/Devices/RoughSketch/index.js +0 -97
- package/es/customComponents/MobileContainor/Devices/RoughSketch/index.less +0 -34
- package/es/customComponents/MobileContainor/Devices/devices.less +0 -2815
- package/es/customComponents/MobileContainor/MobileSimulation/index.d.ts +0 -23
- package/es/customComponents/MobileContainor/MobileSimulation/index.js +0 -243
- package/es/customComponents/NoticeIconCustom/NoticeList.d.ts +0 -10
- package/es/customComponents/NoticeIconCustom/NoticeList.js +0 -81
- package/es/customComponents/NoticeIconCustom/NoticeList.less +0 -90
- package/es/customComponents/NoticeIconCustom/index.d.ts +0 -25
- package/es/customComponents/NoticeIconCustom/index.js +0 -201
- package/es/customComponents/NoticeIconCustom/index.less +0 -31
- package/es/customComponents/NumberInfo/index.d.ts +0 -12
- package/es/customComponents/NumberInfo/index.js +0 -60
- package/es/customComponents/NumberInfo/index.less +0 -77
- package/es/customComponents/PageLoading/index.d.ts +0 -2
- package/es/customComponents/PageLoading/index.js +0 -13
- package/es/customComponents/PercentageBox/index.d.ts +0 -12
- package/es/customComponents/PercentageBox/index.js +0 -70
- package/es/customComponents/PriceBox/index.d.ts +0 -18
- package/es/customComponents/PriceBox/index.js +0 -115
- package/es/customComponents/Result/index.d.ts +0 -9
- package/es/customComponents/Result/index.js +0 -57
- package/es/customComponents/Result/index.less +0 -58
- package/es/customComponents/StandardFormRow/index.d.ts +0 -9
- package/es/customComponents/StandardFormRow/index.js +0 -47
- package/es/customComponents/StandardFormRow/index.less +0 -81
- package/es/customComponents/StandardTable/index.d.ts +0 -17
- package/es/customComponents/StandardTable/index.js +0 -217
- package/es/customComponents/StandardTable/index.less +0 -7
- package/es/customComponents/StandardTableCustom/index.d.ts +0 -22
- package/es/customComponents/StandardTableCustom/index.js +0 -234
- package/es/customComponents/StandardTableCustom/index.less +0 -21
- package/es/customComponents/StatusBar/index.d.ts +0 -13
- package/es/customComponents/StatusBar/index.js +0 -128
- package/es/customComponents/TagSelect/index.d.ts +0 -34
- package/es/customComponents/TagSelect/index.js +0 -226
- package/es/customComponents/TagSelect/index.less +0 -38
- package/es/customComponents/TimeLineCustom/index.d.ts +0 -37
- package/es/customComponents/TimeLineCustom/index.js +0 -273
- package/es/customComponents/TimeLineCustom/index.less +0 -180
- package/es/customComponents/Trend/index.d.ts +0 -10
- package/es/customComponents/Trend/index.js +0 -49
- package/es/customComponents/Trend/index.less +0 -41
- package/es/customComponents/VerticalBox/index.d.ts +0 -15
- package/es/customComponents/VerticalBox/index.js +0 -138
- package/es/customComponents/VerticalBox/index.less +0 -7
- package/es/customComponents/VideoUpload/index.d.ts +0 -39
- package/es/customComponents/VideoUpload/index.js +0 -472
- package/es/customComponents/_utils/pathTools.d.ts +0 -1
- package/es/customComponents/_utils/pathTools.js +0 -15
- package/es/customComponents/_utils/pathTools.test.d.ts +0 -1
- package/es/customComponents/index.js +0 -16
- package/es/framework/Base/index.d.ts +0 -68
- package/es/framework/Base/index.js +0 -338
- package/es/framework/Common/index.less +0 -13
- package/es/framework/CustomBase/index.d.ts +0 -8
- package/es/framework/CustomBase/index.js +0 -77
- package/es/framework/DataDrawer/Base/index.less +0 -27
- package/es/framework/DataForm/BaseAddForm/index.less +0 -51
- package/es/framework/DataListView/Base/index.less +0 -161
- package/es/framework/DataListView/BatchAction/index.less +0 -5
- package/es/framework/DataListView/ColumnSetting/index.less +0 -60
- package/es/framework/DataMenuContainer/index.less +0 -100
- package/es/framework/DataModal/Base/index.less +0 -6
- package/es/framework/DataMultiPageView/InnerMultiPage/index.less +0 -125
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.less +0 -65
- package/es/framework/DataSinglePageView/InnerSinglePage/index.less +0 -50
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.less +0 -33
- package/es/framework/DataSingleView/DataCore/index.less +0 -7
- package/es/framework/DataTabContainer/index.less +0 -51
- package/es/framework/index.js +0 -60
- package/es/utils/Authorized.d.ts +0 -4
- package/es/utils/Authorized.js +0 -52
- package/es/utils/Yuan.d.ts +0 -13
- package/es/utils/Yuan.js +0 -92
- package/es/utils/actionAssist.d.ts +0 -44
- package/es/utils/actionAssist.js +0 -467
- package/es/utils/appConfiguration.d.ts +0 -70
- package/es/utils/appConfiguration.js +0 -403
- package/es/utils/authority.d.ts +0 -7
- package/es/utils/authority.js +0 -259
- package/es/utils/cacheAssist.d.ts +0 -85
- package/es/utils/cacheAssist.js +0 -317
- package/es/utils/constants.d.ts +0 -859
- package/es/utils/constants.js +0 -1540
- package/es/utils/core.d.ts +0 -25
- package/es/utils/core.js +0 -95
- package/es/utils/defaultSettingsSpecial.d.ts +0 -67
- package/es/utils/defaultSettingsSpecial.js +0 -53
- package/es/utils/developAssist.d.ts +0 -41
- package/es/utils/developAssist.js +0 -224
- package/es/utils/dva.d.ts +0 -31
- package/es/utils/dva.js +0 -54
- package/es/utils/globalModel.d.ts +0 -17
- package/es/utils/globalModel.js +0 -40
- package/es/utils/globalStorageAssist.d.ts +0 -78
- package/es/utils/globalStorageAssist.js +0 -239
- package/es/utils/localStorageAssist.d.ts +0 -47
- package/es/utils/localStorageAssist.js +0 -116
- package/es/utils/mediaDefault.d.ts +0 -11
- package/es/utils/mediaDefault.js +0 -24
- package/es/utils/proLayoutCollection.d.ts +0 -12
- package/es/utils/proLayoutCollection.js +0 -76
- package/es/utils/request.d.ts +0 -5
- package/es/utils/request.js +0 -243
- package/es/utils/requestAssistor.d.ts +0 -79
- package/es/utils/requestAssistor.js +0 -596
- package/es/utils/sessionStorageAssist.d.ts +0 -47
- package/es/utils/sessionStorageAssist.js +0 -116
- package/es/utils/tools.d.ts +0 -698
- package/es/utils/tools.js +0 -2205
- package/es/utils/typeCheck.d.ts +0 -21
- package/es/utils/typeCheck.js +0 -58
- package/es/utils/typeConvert.d.ts +0 -7
- package/es/utils/typeConvert.js +0 -16
- package/es/utils/utils.d.ts +0 -5
- package/es/utils/utils.js +0 -70
- package/es/utils/utils.less +0 -63
- package/es/utils/utils.test.d.ts +0 -1
- package/es/utils/virtualRequest.d.ts +0 -51
- package/es/utils/virtualRequest.js +0 -320
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
export default Base;
|
|
2
|
-
declare class Base extends Component<any, any, any> {
|
|
3
|
-
static getDerivedStateFromProps(nextProps: any, prevState: any): null;
|
|
4
|
-
constructor(props: any);
|
|
5
|
-
mounted: boolean;
|
|
6
|
-
/**
|
|
7
|
-
*显示render次数开关,用于开发时候调试页面渲染性能
|
|
8
|
-
*/
|
|
9
|
-
showRenderCountInConsole: boolean;
|
|
10
|
-
renderCount: number;
|
|
11
|
-
/**
|
|
12
|
-
* 用于组件内数据循环构建 key 时附加唯一前缀,有助于提升页面执行效率
|
|
13
|
-
*/
|
|
14
|
-
keyPrefix: string;
|
|
15
|
-
state: {
|
|
16
|
-
dataLoading: boolean;
|
|
17
|
-
processing: boolean;
|
|
18
|
-
reloading: boolean;
|
|
19
|
-
searching: boolean;
|
|
20
|
-
refreshing: boolean;
|
|
21
|
-
paging: boolean;
|
|
22
|
-
firstLoadSuccess: boolean;
|
|
23
|
-
loadSuccess: boolean;
|
|
24
|
-
urlParams: null;
|
|
25
|
-
externalData: null;
|
|
26
|
-
};
|
|
27
|
-
componentDidMount(): void;
|
|
28
|
-
getSnapshotBeforeUpdate(preProps: any, preState: any): null;
|
|
29
|
-
componentDidUpdate(preProps: any, preState: any, snapshot: any): void;
|
|
30
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
31
|
-
componentWillUnmount(): void;
|
|
32
|
-
doDidMountTask: () => void;
|
|
33
|
-
doOtherCheckComponentUpdate: (nextProps: any, nextState: any) => null;
|
|
34
|
-
doWhenGetSnapshotBeforeUpdate: (preProps: any, preState: any) => null;
|
|
35
|
-
doWorkWhenDidUpdate: (preProps: any, preState: any, snapshot: any) => void;
|
|
36
|
-
beforeDidMount: () => void;
|
|
37
|
-
afterDidMount: () => void;
|
|
38
|
-
beforeUnmount: () => void;
|
|
39
|
-
afterUnmount: () => void;
|
|
40
|
-
getDispatch: () => any;
|
|
41
|
-
getDispatchWrapper: () => any;
|
|
42
|
-
dispatchApi: ({ type, payload }: {
|
|
43
|
-
type: any;
|
|
44
|
-
payload: any;
|
|
45
|
-
}) => any;
|
|
46
|
-
goToPath: (path: any) => void;
|
|
47
|
-
redirectToPath: (path: any) => void;
|
|
48
|
-
checkHasMore: (pageNo: any, pageSize: any, total: any) => boolean;
|
|
49
|
-
showRenderCount(): void;
|
|
50
|
-
/**
|
|
51
|
-
* check loading progress,if loading or load fail,return false,else return true
|
|
52
|
-
* @returns bool
|
|
53
|
-
*/
|
|
54
|
-
checkLoadingProgress(): boolean;
|
|
55
|
-
/**
|
|
56
|
-
* check operability,if loading or or processing or load fail,return false,else return true
|
|
57
|
-
* @returns bool
|
|
58
|
-
*/
|
|
59
|
-
checkOperability(): boolean;
|
|
60
|
-
/**
|
|
61
|
-
* check in progress,if loading or or processing,return false,else return true
|
|
62
|
-
* @returns bool
|
|
63
|
-
*/
|
|
64
|
-
checkInProgress(): boolean;
|
|
65
|
-
renderFurther(): null;
|
|
66
|
-
render(): null;
|
|
67
|
-
}
|
|
68
|
-
import { Component } from "react";
|
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
|
|
10
|
-
var _nprogress = _interopRequireDefault(require("nprogress"));
|
|
11
|
-
|
|
12
|
-
var _react = require("react");
|
|
13
|
-
|
|
14
|
-
var _defaultSettingsSpecial = require("../../utils/defaultSettingsSpecial");
|
|
15
|
-
|
|
16
|
-
var _tools = require("../../utils/tools");
|
|
17
|
-
|
|
18
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
|
-
|
|
20
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
-
|
|
22
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
|
-
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
-
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
|
-
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
|
-
|
|
30
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
|
-
|
|
32
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
|
-
|
|
34
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
|
-
|
|
36
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
|
-
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
-
|
|
40
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
41
|
-
|
|
42
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
43
|
-
|
|
44
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
45
|
-
|
|
46
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
47
|
-
|
|
48
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
49
|
-
|
|
50
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
51
|
-
|
|
52
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
53
|
-
|
|
54
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
55
|
-
|
|
56
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
57
|
-
|
|
58
|
-
function filterModel(props) {
|
|
59
|
-
var result = _objectSpread({}, props);
|
|
60
|
-
|
|
61
|
-
delete result.loading;
|
|
62
|
-
Object.entries(result).forEach(function (o) {
|
|
63
|
-
var _o = _slicedToArray(o, 2),
|
|
64
|
-
k = _o[0],
|
|
65
|
-
v = _o[1];
|
|
66
|
-
|
|
67
|
-
if ((0, _tools.isObject)(v)) {
|
|
68
|
-
if (!!v.fromRemote) {
|
|
69
|
-
delete result[k];
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
return result;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Performs equality by iterating through keys on an object and returning false
|
|
77
|
-
* when any key has values which are not strictly equal between the arguments.
|
|
78
|
-
* Returns true when the values of all keys are strictly equal.
|
|
79
|
-
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
function shallowEqual(a, b) {
|
|
83
|
-
return (0, _tools.isEqual)(a, b);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
var Base = /*#__PURE__*/function (_Component) {
|
|
87
|
-
_inherits(Base, _Component);
|
|
88
|
-
|
|
89
|
-
var _super = _createSuper(Base);
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
*显示render次数开关,用于开发时候调试页面渲染性能
|
|
93
|
-
*/
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* 用于组件内数据循环构建 key 时附加唯一前缀,有助于提升页面执行效率
|
|
97
|
-
*/
|
|
98
|
-
function Base(props) {
|
|
99
|
-
var _this;
|
|
100
|
-
|
|
101
|
-
_classCallCheck(this, Base);
|
|
102
|
-
|
|
103
|
-
_this = _super.call(this, props);
|
|
104
|
-
_this.mounted = false;
|
|
105
|
-
_this.showRenderCountInConsole = false;
|
|
106
|
-
_this.renderCount = 0;
|
|
107
|
-
_this.keyPrefix = '';
|
|
108
|
-
|
|
109
|
-
_this.doDidMountTask = function () {};
|
|
110
|
-
|
|
111
|
-
_this.doOtherCheckComponentUpdate = function (nextProps, nextState) {
|
|
112
|
-
return null;
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
_this.doWhenGetSnapshotBeforeUpdate = function (preProps, preState) {
|
|
116
|
-
return null;
|
|
117
|
-
};
|
|
118
|
-
|
|
119
|
-
_this.doWorkWhenDidUpdate = function (preProps, preState, snapshot) {};
|
|
120
|
-
|
|
121
|
-
_this.beforeDidMount = function () {};
|
|
122
|
-
|
|
123
|
-
_this.afterDidMount = function () {};
|
|
124
|
-
|
|
125
|
-
_this.beforeUnmount = function () {};
|
|
126
|
-
|
|
127
|
-
_this.afterUnmount = function () {};
|
|
128
|
-
|
|
129
|
-
_this.getDispatch = function () {
|
|
130
|
-
if ((0, _tools.isObject)(_this.props)) {
|
|
131
|
-
var dispatch = _this.props.dispatch;
|
|
132
|
-
|
|
133
|
-
if ((0, _tools.isFunction)(dispatch)) {
|
|
134
|
-
return dispatch;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
var text = 'please override getDispatch, and return a function';
|
|
139
|
-
(0, _tools.recordError)(text);
|
|
140
|
-
throw new Error(text);
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
_this.getDispatchWrapper = function () {
|
|
144
|
-
var dispatch = _this.getDispatch();
|
|
145
|
-
|
|
146
|
-
if (!(0, _tools.isFunction)(dispatch)) {
|
|
147
|
-
(0, _tools.recordError)('dispatch not a function, please check getDispatch');
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
return dispatch;
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
_this.dispatchApi = function (_ref) {
|
|
154
|
-
var type = _ref.type,
|
|
155
|
-
payload = _ref.payload;
|
|
156
|
-
|
|
157
|
-
var dispatch = _this.getDispatchWrapper();
|
|
158
|
-
|
|
159
|
-
(0, _tools.recordDebug)("modal access: ".concat(type));
|
|
160
|
-
return dispatch({
|
|
161
|
-
type: type,
|
|
162
|
-
payload: payload
|
|
163
|
-
});
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
_this.goToPath = function (path) {
|
|
167
|
-
var location = {
|
|
168
|
-
pathname: path
|
|
169
|
-
};
|
|
170
|
-
|
|
171
|
-
if (_defaultSettingsSpecial.defaultSettingsLayoutCustom.getUseNprogress()) {
|
|
172
|
-
_nprogress.default.inc();
|
|
173
|
-
|
|
174
|
-
setTimeout(function () {
|
|
175
|
-
_nprogress.default.done();
|
|
176
|
-
}, 400);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
(0, _tools.goToPath)(location);
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
_this.redirectToPath = function (path) {
|
|
183
|
-
var location = {
|
|
184
|
-
pathname: path
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
if (_defaultSettingsSpecial.defaultSettingsLayoutCustom.getUseNprogress()) {
|
|
188
|
-
_nprogress.default.inc();
|
|
189
|
-
|
|
190
|
-
setTimeout(function () {
|
|
191
|
-
_nprogress.default.done();
|
|
192
|
-
}, 400);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
(0, _tools.redirectToPath)(location);
|
|
196
|
-
};
|
|
197
|
-
|
|
198
|
-
_this.checkHasMore = function (pageNo, pageSize, total) {
|
|
199
|
-
if ((total || 0) <= 0) {
|
|
200
|
-
return false;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
return (pageNo || 0) * (pageSize || 0) < (total || 0);
|
|
204
|
-
};
|
|
205
|
-
|
|
206
|
-
_this.mounted = false;
|
|
207
|
-
var defaultState = (0, _tools.defaultBaseState)();
|
|
208
|
-
_this.state = defaultState;
|
|
209
|
-
_this.keyPrefix = (0, _tools.getGuid)();
|
|
210
|
-
return _this;
|
|
211
|
-
} // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
_createClass(Base, [{
|
|
215
|
-
key: "componentDidMount",
|
|
216
|
-
value: function componentDidMount() {
|
|
217
|
-
this.beforeDidMount();
|
|
218
|
-
this.mounted = true;
|
|
219
|
-
this.doDidMountTask();
|
|
220
|
-
this.afterDidMount();
|
|
221
|
-
} // eslint-disable-next-line react/sort-comp
|
|
222
|
-
|
|
223
|
-
}, {
|
|
224
|
-
key: "getSnapshotBeforeUpdate",
|
|
225
|
-
value: function getSnapshotBeforeUpdate(preProps, preState) {
|
|
226
|
-
return this.doWhenGetSnapshotBeforeUpdate(preProps, preState);
|
|
227
|
-
}
|
|
228
|
-
}, {
|
|
229
|
-
key: "componentDidUpdate",
|
|
230
|
-
value: function componentDidUpdate(preProps, preState, snapshot) {
|
|
231
|
-
this.doWorkWhenDidUpdate(preProps, preState, snapshot);
|
|
232
|
-
}
|
|
233
|
-
}, {
|
|
234
|
-
key: "shouldComponentUpdate",
|
|
235
|
-
value: function shouldComponentUpdate(nextProps, nextState) {
|
|
236
|
-
var _dispatchComplete$nex = _objectSpread(_objectSpread({}, {
|
|
237
|
-
dispatchComplete: true
|
|
238
|
-
}), nextState),
|
|
239
|
-
dispatchComplete = _dispatchComplete$nex.dispatchComplete;
|
|
240
|
-
|
|
241
|
-
if (!!!dispatchComplete) {
|
|
242
|
-
return false;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
var checkComponentUpdate = this.doOtherCheckComponentUpdate(nextProps, nextState);
|
|
246
|
-
|
|
247
|
-
if ((checkComponentUpdate || null) != null) {
|
|
248
|
-
return !!checkComponentUpdate;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
var nextPropsIgnoreModel = filterModel(nextProps);
|
|
252
|
-
var currentPropsIgnoreModel = filterModel(this.props);
|
|
253
|
-
return !shallowEqual(nextPropsIgnoreModel, currentPropsIgnoreModel) || !shallowEqual(nextState, this.state);
|
|
254
|
-
}
|
|
255
|
-
}, {
|
|
256
|
-
key: "componentWillUnmount",
|
|
257
|
-
value: function componentWillUnmount() {
|
|
258
|
-
this.beforeUnmount();
|
|
259
|
-
this.mounted = false;
|
|
260
|
-
|
|
261
|
-
this.setState = function () {};
|
|
262
|
-
|
|
263
|
-
this.afterUnmount();
|
|
264
|
-
}
|
|
265
|
-
}, {
|
|
266
|
-
key: "showRenderCount",
|
|
267
|
-
value: function showRenderCount() {
|
|
268
|
-
if (this.showRenderCountInConsole) {
|
|
269
|
-
this.renderCount += 1;
|
|
270
|
-
var text = "render frequency: ".concat(this.renderCount);
|
|
271
|
-
(0, _tools.showInfoMessage)({
|
|
272
|
-
message: text
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* check loading progress,if loading or load fail,return false,else return true
|
|
278
|
-
* @returns bool
|
|
279
|
-
*/
|
|
280
|
-
|
|
281
|
-
}, {
|
|
282
|
-
key: "checkLoadingProgress",
|
|
283
|
-
value: function checkLoadingProgress() {
|
|
284
|
-
var _this$state = this.state,
|
|
285
|
-
dataLoading = _this$state.dataLoading,
|
|
286
|
-
loadSuccess = _this$state.loadSuccess;
|
|
287
|
-
return dataLoading || !loadSuccess;
|
|
288
|
-
}
|
|
289
|
-
/**
|
|
290
|
-
* check operability,if loading or or processing or load fail,return false,else return true
|
|
291
|
-
* @returns bool
|
|
292
|
-
*/
|
|
293
|
-
|
|
294
|
-
}, {
|
|
295
|
-
key: "checkOperability",
|
|
296
|
-
value: function checkOperability() {
|
|
297
|
-
var _this$state2 = this.state,
|
|
298
|
-
dataLoading = _this$state2.dataLoading,
|
|
299
|
-
processing = _this$state2.processing,
|
|
300
|
-
loadSuccess = _this$state2.loadSuccess;
|
|
301
|
-
return dataLoading || processing || !loadSuccess;
|
|
302
|
-
}
|
|
303
|
-
/**
|
|
304
|
-
* check in progress,if loading or or processing,return false,else return true
|
|
305
|
-
* @returns bool
|
|
306
|
-
*/
|
|
307
|
-
|
|
308
|
-
}, {
|
|
309
|
-
key: "checkInProgress",
|
|
310
|
-
value: function checkInProgress() {
|
|
311
|
-
var _this$state3 = this.state,
|
|
312
|
-
dataLoading = _this$state3.dataLoading,
|
|
313
|
-
processing = _this$state3.processing;
|
|
314
|
-
return dataLoading || processing;
|
|
315
|
-
}
|
|
316
|
-
}, {
|
|
317
|
-
key: "renderFurther",
|
|
318
|
-
value: function renderFurther() {
|
|
319
|
-
return null;
|
|
320
|
-
}
|
|
321
|
-
}, {
|
|
322
|
-
key: "render",
|
|
323
|
-
value: function render() {
|
|
324
|
-
this.showRenderCount();
|
|
325
|
-
return this.renderFurther();
|
|
326
|
-
}
|
|
327
|
-
}], [{
|
|
328
|
-
key: "getDerivedStateFromProps",
|
|
329
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
330
|
-
return null;
|
|
331
|
-
}
|
|
332
|
-
}]);
|
|
333
|
-
|
|
334
|
-
return Base;
|
|
335
|
-
}(_react.Component);
|
|
336
|
-
|
|
337
|
-
var _default = Base;
|
|
338
|
-
exports.default = _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export default CustomBase;
|
|
2
|
-
declare class CustomBase extends Component<any, any, any> {
|
|
3
|
-
constructor(props: any);
|
|
4
|
-
constructor(props: any, context: any);
|
|
5
|
-
shouldComponentUpdate(nextProps: any, nextState: any): boolean;
|
|
6
|
-
render(): null;
|
|
7
|
-
}
|
|
8
|
-
import { Component } from "react";
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports.default = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = require("react");
|
|
11
|
-
|
|
12
|
-
var _tools = require("../../utils/tools");
|
|
13
|
-
|
|
14
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
|
-
|
|
16
|
-
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
17
|
-
|
|
18
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
19
|
-
|
|
20
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
|
-
|
|
22
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
|
-
|
|
24
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
25
|
-
|
|
26
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
27
|
-
|
|
28
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
29
|
-
|
|
30
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
31
|
-
|
|
32
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
33
|
-
|
|
34
|
-
var CustomBase = /*#__PURE__*/function (_Component) {
|
|
35
|
-
_inherits(CustomBase, _Component);
|
|
36
|
-
|
|
37
|
-
var _super = _createSuper(CustomBase);
|
|
38
|
-
|
|
39
|
-
function CustomBase() {
|
|
40
|
-
_classCallCheck(this, CustomBase);
|
|
41
|
-
|
|
42
|
-
return _super.apply(this, arguments);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
_createClass(CustomBase, [{
|
|
46
|
-
key: "shouldComponentUpdate",
|
|
47
|
-
value: function shouldComponentUpdate(nextProps, nextState) {
|
|
48
|
-
var sourceProps = (0, _tools.cloneWithoutMethod)(this.props);
|
|
49
|
-
var targetProps = (0, _tools.cloneWithoutMethod)(nextProps);
|
|
50
|
-
var isEqualProps = (0, _tools.isEqual)(sourceProps, targetProps);
|
|
51
|
-
|
|
52
|
-
if (!isEqualProps) {
|
|
53
|
-
return true;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
var sourceState = (0, _tools.cloneWithoutMethod)(this.state);
|
|
57
|
-
var targetState = (0, _tools.cloneWithoutMethod)(nextState);
|
|
58
|
-
var isEqualState = (0, _tools.isEqual)(sourceState, targetState);
|
|
59
|
-
|
|
60
|
-
if (!isEqualState) {
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
return false;
|
|
65
|
-
}
|
|
66
|
-
}, {
|
|
67
|
-
key: "render",
|
|
68
|
-
value: function render() {
|
|
69
|
-
return null;
|
|
70
|
-
}
|
|
71
|
-
}]);
|
|
72
|
-
|
|
73
|
-
return CustomBase;
|
|
74
|
-
}(_react.Component);
|
|
75
|
-
|
|
76
|
-
var _default = CustomBase;
|
|
77
|
-
exports.default = _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.mainContainor {
|
|
2
|
-
.contentContainor {
|
|
3
|
-
// padding: 24px;
|
|
4
|
-
background-color: #f0f2f5;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.titleText {
|
|
8
|
-
margin-left: 2px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.bottomBar {
|
|
12
|
-
padding: 10px;
|
|
13
|
-
background-color: #fff;
|
|
14
|
-
border-top: 1px solid #e8e8e8;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
:global {
|
|
18
|
-
.ant-layout {
|
|
19
|
-
min-height: calc(100vh - 55px);
|
|
20
|
-
background-color: #fff;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ant-layout-footer {
|
|
24
|
-
padding: 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
@import '~antd/lib/style/themes/default.less';
|
|
2
|
-
|
|
3
|
-
@import '../../../utils/utils.less';
|
|
4
|
-
|
|
5
|
-
.customContainor {
|
|
6
|
-
:global {
|
|
7
|
-
.ant-page-header.has-footer {
|
|
8
|
-
padding-bottom: 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.ant-page-header-footer .ant-tabs-bar .ant-tabs-nav .ant-tabs-tab {
|
|
12
|
-
font-size: 14px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {
|
|
16
|
-
border-bottom: 0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-active {
|
|
20
|
-
background-color: #f0f2f5;
|
|
21
|
-
border-bottom-color: #f0f2f5;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.textSecondary {
|
|
26
|
-
color: @text-color-secondary;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.heading {
|
|
30
|
-
color: @heading-color;
|
|
31
|
-
font-size: 20px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.pageNameBox {
|
|
35
|
-
display: block;
|
|
36
|
-
max-width: 700px;
|
|
37
|
-
height: 32px;
|
|
38
|
-
overflow: hidden;
|
|
39
|
-
font-size: 18px;
|
|
40
|
-
line-height: 32px;
|
|
41
|
-
white-space: nowrap;
|
|
42
|
-
text-overflow: ellipsis;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.pageTagBox {
|
|
46
|
-
position: relative;
|
|
47
|
-
height: 24px;
|
|
48
|
-
padding: 0 14px 0 0;
|
|
49
|
-
line-height: 24px;
|
|
50
|
-
}
|
|
51
|
-
}
|