antd-management-fast-framework 1.12.103 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/ApplicationWrapper/index.d.ts +9 -0
- package/es/components/Bootstrap/index.d.ts +3 -0
- package/es/{customComponents → components}/DataPreviewDrawer/index.d.ts +5 -6
- 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/{customComponents → components}/MobileContainor/MobilePreviewDrawer/index.d.ts +8 -8
- package/es/components/MobileContainor/index.d.ts +8 -0
- package/es/components/index.d.ts +5 -0
- package/es/configs/index.d.ts +2 -0
- package/es/configs/themeCollection.d.ts +7 -0
- package/es/{configGroup → configs}/webpackPlugin.d.ts +0 -7
- package/es/framework/AuthorizationWrapper/index.d.ts +8 -5
- package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +5 -6
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +6 -7
- package/es/framework/ButtonExtension/SelectButton/index.d.ts +6 -0
- package/es/framework/ButtonExtension/index.d.ts +1 -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/InternalTabFlow/index.d.ts +12 -0
- package/es/framework/Common/index.d.ts +2 -205
- package/es/framework/Core/index.d.ts +17 -6
- package/es/framework/CustomWrapper/Supplement/index.d.ts +2 -3
- package/es/framework/CustomWrapper/SupplementCore/index.d.ts +2 -4
- package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +2 -3
- package/es/framework/CustomWrapper/index.d.ts +3 -0
- package/es/framework/DataDrawer/Base/index.d.ts +16 -18
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +3 -4
- package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +3 -4
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +3 -4
- package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +2 -3
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +2 -3
- package/es/framework/DataDrawer/index.d.ts +14 -0
- package/es/framework/DataForm/BaseAddForm/index.d.ts +7 -7
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +3 -4
- package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +2 -3
- package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +3 -3
- package/es/framework/DataForm/index.d.ts +10 -0
- package/es/framework/DataListView/Base/index.d.ts +38 -82
- package/es/framework/DataListView/BatchAction/index.d.ts +3 -3
- package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +1 -2
- package/es/framework/DataListView/ColumnSetting/index.d.ts +1 -2
- package/es/framework/DataListView/DensityAction/index.d.ts +2 -3
- package/es/framework/DataListView/index.d.ts +10 -0
- package/es/framework/DataMenuContainer/index.d.ts +8 -10
- package/es/framework/DataModal/Base/index.d.ts +10 -12
- package/es/framework/DataModal/BaseAddModal/index.d.ts +2 -3
- package/es/framework/DataModal/BaseLoadModal/index.d.ts +3 -4
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +6 -6
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +4 -4
- package/es/framework/DataModal/BaseUpdateModal/index.d.ts +2 -3
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +5 -5
- package/es/framework/DataModal/index.d.ts +16 -0
- package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +3 -3
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +4 -3
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +19 -21
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +4 -5
- package/es/framework/DataMultiPageView/index.d.ts +10 -0
- package/es/framework/DataOperation/Base/index.d.ts +2 -3
- package/es/framework/DataOperation/BaseView/index.d.ts +2 -3
- package/es/framework/DataOperation/BaseWindow/index.d.ts +13 -14
- package/es/framework/DataOperation/index.d.ts +8 -0
- package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +3 -3
- package/es/framework/DataSinglePageView/SinglePage/index.d.ts +9 -4
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +19 -21
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +4 -5
- package/es/framework/DataSinglePageView/index.d.ts +10 -0
- package/es/framework/DataSingleView/DataCore/index.d.ts +13 -40
- package/es/framework/DataSingleView/DataLoad/index.d.ts +5 -5
- package/es/framework/DataSingleView/index.d.ts +6 -0
- package/es/framework/DataTabContainer/index.d.ts +6 -29
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +6 -7
- 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/Wrapper/index.d.ts +2 -3
- package/es/framework/index.d.ts +17 -7
- package/es/index.css +12 -0
- package/es/index.d.ts +5 -1
- package/es/index.js +3 -8
- package/es/modelBuilders/index.d.ts +1 -0
- package/es/modelBuilders/schedulingControl.d.ts +68 -0
- package/es/services/schedulingControl.d.ts +4 -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/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/metaDataAssist.d.ts +5 -0
- package/es/utils/schedulingControlAssist.d.ts +10 -0
- package/package.json +122 -195
- package/License.txt +0 -21
- package/README.md +0 -35
- package/es/configGroup/configGeneral.d.ts +0 -56
- package/es/configGroup/configGeneral.js +0 -143
- package/es/configGroup/themeCollection.d.ts +0 -29
- package/es/configGroup/themeCollection.js +0 -117
- package/es/configGroup/webpackPlugin.js +0 -166
- 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.js +0 -178
- 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/MobileHtmlPreviewBox/index.d.ts +0 -12
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +0 -80
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +0 -49
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +0 -220
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +0 -176
- 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.d.ts +0 -7
- package/es/customComponents/index.js +0 -16
- package/es/framework/AuthorizationWrapper/index.js +0 -117
- package/es/framework/Base/index.d.ts +0 -68
- package/es/framework/Base/index.js +0 -338
- package/es/framework/ButtonExtension/SelectButton/Base/index.js +0 -116
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +0 -177
- package/es/framework/Common/index.js +0 -2481
- package/es/framework/Common/index.less +0 -13
- package/es/framework/Core/index.js +0 -79
- package/es/framework/CustomBase/index.d.ts +0 -8
- package/es/framework/CustomBase/index.js +0 -77
- package/es/framework/CustomWrapper/Supplement/index.js +0 -64
- package/es/framework/CustomWrapper/SupplementCore/index.js +0 -150
- package/es/framework/CustomWrapper/SupplementWrapper/index.js +0 -58
- package/es/framework/DataDrawer/Base/index.js +0 -447
- package/es/framework/DataDrawer/Base/index.less +0 -27
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +0 -98
- package/es/framework/DataDrawer/BaseLoadDrawer/index.js +0 -75
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +0 -100
- package/es/framework/DataDrawer/BaseSaveDrawer/index.js +0 -87
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +0 -83
- package/es/framework/DataForm/BaseAddForm/index.js +0 -328
- package/es/framework/DataForm/BaseAddForm/index.less +0 -51
- package/es/framework/DataForm/BaseUpdateForm/index.js +0 -202
- package/es/framework/DataForm/BaseUpdateFormContent/index.js +0 -62
- package/es/framework/DataForm/BaseUpdateFormTab/index.js +0 -49
- package/es/framework/DataListView/Base/index.js +0 -1578
- package/es/framework/DataListView/Base/index.less +0 -161
- package/es/framework/DataListView/BatchAction/index.js +0 -103
- package/es/framework/DataListView/BatchAction/index.less +0 -5
- package/es/framework/DataListView/ColumnSetting/DndItem.js +0 -139
- package/es/framework/DataListView/ColumnSetting/index.js +0 -368
- package/es/framework/DataListView/ColumnSetting/index.less +0 -60
- package/es/framework/DataListView/DensityAction/index.js +0 -118
- package/es/framework/DataMenuContainer/index.js +0 -341
- package/es/framework/DataMenuContainer/index.less +0 -100
- package/es/framework/DataModal/Base/index.js +0 -285
- package/es/framework/DataModal/Base/index.less +0 -6
- package/es/framework/DataModal/BaseAddModal/index.js +0 -70
- package/es/framework/DataModal/BaseLoadModal/index.js +0 -75
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +0 -113
- package/es/framework/DataModal/BaseSelectModal/index.js +0 -73
- package/es/framework/DataModal/BaseUpdateModal/index.js +0 -49
- package/es/framework/DataModal/BaseUpdateTransferModal/index.js +0 -162
- package/es/framework/DataMultiPageView/InnerMultiPage/index.js +0 -62
- package/es/framework/DataMultiPageView/InnerMultiPage/index.less +0 -125
- package/es/framework/DataMultiPageView/MultiPage/index.js +0 -333
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +0 -511
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.less +0 -65
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +0 -117
- package/es/framework/DataOperation/Base/index.js +0 -380
- package/es/framework/DataOperation/BaseView/index.js +0 -78
- package/es/framework/DataOperation/BaseWindow/index.js +0 -378
- package/es/framework/DataSinglePageView/InnerSinglePage/index.js +0 -62
- package/es/framework/DataSinglePageView/InnerSinglePage/index.less +0 -50
- package/es/framework/DataSinglePageView/SinglePage/index.js +0 -278
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +0 -489
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.less +0 -33
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +0 -120
- package/es/framework/DataSingleView/DataCore/index.js +0 -330
- package/es/framework/DataSingleView/DataCore/index.less +0 -7
- package/es/framework/DataSingleView/DataLoad/index.js +0 -169
- package/es/framework/DataTabContainer/index.js +0 -280
- package/es/framework/DataTabContainer/index.less +0 -51
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +0 -185
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +0 -191
- package/es/framework/Wrapper/index.js +0 -58
- 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,447 +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
|
-
require("antd/es/drawer/style");
|
|
11
|
-
|
|
12
|
-
var _drawer = _interopRequireDefault(require("antd/es/drawer"));
|
|
13
|
-
|
|
14
|
-
require("antd/es/affix/style");
|
|
15
|
-
|
|
16
|
-
var _affix = _interopRequireDefault(require("antd/es/affix"));
|
|
17
|
-
|
|
18
|
-
require("antd/es/row/style");
|
|
19
|
-
|
|
20
|
-
var _row = _interopRequireDefault(require("antd/es/row"));
|
|
21
|
-
|
|
22
|
-
require("antd/es/col/style");
|
|
23
|
-
|
|
24
|
-
var _col = _interopRequireDefault(require("antd/es/col"));
|
|
25
|
-
|
|
26
|
-
require("antd/es/space/style");
|
|
27
|
-
|
|
28
|
-
var _space = _interopRequireDefault(require("antd/es/space"));
|
|
29
|
-
|
|
30
|
-
require("antd/es/divider/style");
|
|
31
|
-
|
|
32
|
-
var _divider = _interopRequireDefault(require("antd/es/divider"));
|
|
33
|
-
|
|
34
|
-
require("antd/es/form/style");
|
|
35
|
-
|
|
36
|
-
var _form = _interopRequireDefault(require("antd/es/form"));
|
|
37
|
-
|
|
38
|
-
require("antd/es/layout/style");
|
|
39
|
-
|
|
40
|
-
var _layout = _interopRequireDefault(require("antd/es/layout"));
|
|
41
|
-
|
|
42
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
43
|
-
|
|
44
|
-
var _FlexBox = _interopRequireDefault(require("../../../customComponents/FlexBox"));
|
|
45
|
-
|
|
46
|
-
var _FunctionComponent = require("../../../customComponents/FunctionComponent");
|
|
47
|
-
|
|
48
|
-
var _IconInfo = _interopRequireDefault(require("../../../customComponents/IconInfo"));
|
|
49
|
-
|
|
50
|
-
var _constants = require("../../../utils/constants");
|
|
51
|
-
|
|
52
|
-
var _tools = require("../../../utils/tools");
|
|
53
|
-
|
|
54
|
-
var _BaseWindow2 = _interopRequireDefault(require("../../DataOperation/BaseWindow"));
|
|
55
|
-
|
|
56
|
-
var _index = _interopRequireDefault(require("./index.less"));
|
|
57
|
-
|
|
58
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
59
|
-
|
|
60
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
61
|
-
|
|
62
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
63
|
-
|
|
64
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
65
|
-
|
|
66
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
67
|
-
|
|
68
|
-
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); }
|
|
69
|
-
|
|
70
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
71
|
-
|
|
72
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
73
|
-
|
|
74
|
-
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; }
|
|
75
|
-
|
|
76
|
-
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; }
|
|
77
|
-
|
|
78
|
-
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; }
|
|
79
|
-
|
|
80
|
-
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; }
|
|
81
|
-
|
|
82
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
83
|
-
|
|
84
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
85
|
-
|
|
86
|
-
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); } }
|
|
87
|
-
|
|
88
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
89
|
-
|
|
90
|
-
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); }
|
|
91
|
-
|
|
92
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
93
|
-
|
|
94
|
-
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); }; }
|
|
95
|
-
|
|
96
|
-
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); }
|
|
97
|
-
|
|
98
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
99
|
-
|
|
100
|
-
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; } }
|
|
101
|
-
|
|
102
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
103
|
-
|
|
104
|
-
var Footer = _layout.default.Footer,
|
|
105
|
-
Content = _layout.default.Content;
|
|
106
|
-
|
|
107
|
-
var Base = /*#__PURE__*/function (_BaseWindow) {
|
|
108
|
-
_inherits(Base, _BaseWindow);
|
|
109
|
-
|
|
110
|
-
var _super = _createSuper(Base);
|
|
111
|
-
|
|
112
|
-
function Base(props) {
|
|
113
|
-
var _this;
|
|
114
|
-
|
|
115
|
-
_classCallCheck(this, Base);
|
|
116
|
-
|
|
117
|
-
_this = _super.call(this, props);
|
|
118
|
-
|
|
119
|
-
_this.onClose = function () {
|
|
120
|
-
var afterClose = _this.props.afterClose;
|
|
121
|
-
|
|
122
|
-
if ((0, _tools.isFunction)(afterClose)) {
|
|
123
|
-
afterClose();
|
|
124
|
-
}
|
|
125
|
-
};
|
|
126
|
-
|
|
127
|
-
_this.buildTitlePrevText = function () {
|
|
128
|
-
return '';
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
_this.buildTitleText = function () {
|
|
132
|
-
var pageName = _this.state.pageName;
|
|
133
|
-
return pageName;
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
_this.buildTitleSubText = function () {
|
|
137
|
-
return '';
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
_this.renderTitleIcon = function () {
|
|
141
|
-
return _constants.iconCollection.form;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
_this.renderTitle = function () {
|
|
145
|
-
var prevText = _this.buildTitlePrevText();
|
|
146
|
-
|
|
147
|
-
var subText = _this.buildTitleSubText();
|
|
148
|
-
|
|
149
|
-
subText = (0, _tools.stringIsNullOrWhiteSpace)(subText) ? '' : "\uFF1A\u3010".concat(subText, "\u3011");
|
|
150
|
-
return "".concat(prevText).concat(_this.buildTitleText() || '信息详情').concat(subText);
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
_this.buildFormLayout = function () {
|
|
154
|
-
return 'vertical';
|
|
155
|
-
};
|
|
156
|
-
|
|
157
|
-
_this.buildNotificationPlacement = function () {
|
|
158
|
-
return "bottomLeft";
|
|
159
|
-
};
|
|
160
|
-
|
|
161
|
-
_this.renderForm = function () {
|
|
162
|
-
var _this$state = _this.state,
|
|
163
|
-
metaData = _this$state.metaData,
|
|
164
|
-
metaListData = _this$state.metaListData,
|
|
165
|
-
metaExtra = _this$state.metaExtra,
|
|
166
|
-
metaOriginalData = _this$state.metaOriginalData;
|
|
167
|
-
|
|
168
|
-
var initialValues = _this.buildInitialValues({
|
|
169
|
-
metaData: metaData,
|
|
170
|
-
metaListData: metaListData,
|
|
171
|
-
metaExtra: metaExtra,
|
|
172
|
-
metaOriginalData: metaOriginalData
|
|
173
|
-
});
|
|
174
|
-
|
|
175
|
-
var otherFormProps = _this.establishFormAdditionalConfig();
|
|
176
|
-
|
|
177
|
-
return /*#__PURE__*/_react.default.createElement(_form.default, _extends({
|
|
178
|
-
ref: _this.formRef,
|
|
179
|
-
initialValues: initialValues,
|
|
180
|
-
className: _this.getFormClassName(),
|
|
181
|
-
layout: _this.buildFormLayout()
|
|
182
|
-
}, otherFormProps), _this.formContent());
|
|
183
|
-
};
|
|
184
|
-
|
|
185
|
-
_this.establishCardCollectionConfig = function () {
|
|
186
|
-
return null;
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
_this.establishWrapperTypeConfig = function () {
|
|
190
|
-
return {
|
|
191
|
-
mode: _constants.cardConfig.wrapperType.drawer
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
|
|
195
|
-
_this.formContent = function () {
|
|
196
|
-
return _this.buildCardCollection(_this.establishCardCollectionConfig());
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
_this.renderContentContainor = function () {
|
|
200
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
201
|
-
className: _index.default.contentContainor
|
|
202
|
-
}, _this.renderForm());
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
_this.renderCloseButton = function (option) {
|
|
206
|
-
var o = _objectSpread(_objectSpread(_objectSpread({}, {
|
|
207
|
-
type: 'default',
|
|
208
|
-
icon: _constants.iconCollection.closeCircle,
|
|
209
|
-
text: '关闭'
|
|
210
|
-
}), option || {}), {
|
|
211
|
-
handleClick: function handleClick() {
|
|
212
|
-
_this.onClose();
|
|
213
|
-
}
|
|
214
|
-
});
|
|
215
|
-
|
|
216
|
-
return _this.renderGeneralButton(o);
|
|
217
|
-
};
|
|
218
|
-
|
|
219
|
-
_this.buildBottomBarInnerExtraConfigList = function () {
|
|
220
|
-
return [];
|
|
221
|
-
};
|
|
222
|
-
|
|
223
|
-
_this.buildBottomBarInnerDefaultConfigList = function () {
|
|
224
|
-
return [{
|
|
225
|
-
buildType: _constants.drawerConfig.bottomBarBuildType.close
|
|
226
|
-
}];
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
_this.buildBottomBarInnerLeftItemConfigList = function () {
|
|
230
|
-
return [];
|
|
231
|
-
};
|
|
232
|
-
|
|
233
|
-
_this.buildBottomBarInnerRightItemConfigList = function () {
|
|
234
|
-
var bottomBarInnerExtraConfigList = _this.buildBottomBarInnerExtraConfigList();
|
|
235
|
-
|
|
236
|
-
var bottomBarInnerDefaultConfigList = _this.buildBottomBarInnerDefaultConfigList();
|
|
237
|
-
|
|
238
|
-
return [].concat(_toConsumableArray(bottomBarInnerExtraConfigList), _toConsumableArray(bottomBarInnerDefaultConfigList));
|
|
239
|
-
};
|
|
240
|
-
|
|
241
|
-
_this.renderBottomBarRightBox = function () {
|
|
242
|
-
var rightConfigList = _this.buildBottomBarInnerRightItemConfigList();
|
|
243
|
-
|
|
244
|
-
return _this.renderBottomBarInnerBox(rightConfigList);
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
_this.renderBottomBarLeftBox = function () {
|
|
248
|
-
var leftConfigList = _this.buildBottomBarInnerLeftItemConfigList();
|
|
249
|
-
|
|
250
|
-
return _this.renderBottomBarInnerBox(leftConfigList);
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
_this.renderBottomBarInnerBox = function (configList) {
|
|
254
|
-
if (!(0, _tools.isArray)(configList) || configList.length <= 0) {
|
|
255
|
-
return null;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
var components = [];
|
|
259
|
-
|
|
260
|
-
var that = _assertThisInitialized(_this);
|
|
261
|
-
|
|
262
|
-
configList.forEach(function (item, index) {
|
|
263
|
-
if ((item || null) != null) {
|
|
264
|
-
var _hidden$buildType$ico = _objectSpread(_objectSpread({}, {
|
|
265
|
-
hidden: false,
|
|
266
|
-
buildType: null,
|
|
267
|
-
icon: null,
|
|
268
|
-
text: '',
|
|
269
|
-
component: null
|
|
270
|
-
}), item),
|
|
271
|
-
hidden = _hidden$buildType$ico.hidden,
|
|
272
|
-
itemBuildType = _hidden$buildType$ico.buildType,
|
|
273
|
-
itemIcon = _hidden$buildType$ico.icon,
|
|
274
|
-
itemText = _hidden$buildType$ico.text,
|
|
275
|
-
itemComponent = _hidden$buildType$ico.component;
|
|
276
|
-
|
|
277
|
-
var itemHidden = hidden;
|
|
278
|
-
|
|
279
|
-
if (!hidden && itemBuildType === _constants.drawerConfig.bottomBarBuildType.component && (itemComponent || null) == null) {
|
|
280
|
-
itemHidden = true;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
if (!itemHidden) {
|
|
284
|
-
var itemKey = "drawer_bottomBar_button_key_".concat(index);
|
|
285
|
-
var itemAdjust = item;
|
|
286
|
-
|
|
287
|
-
switch (itemBuildType) {
|
|
288
|
-
case _constants.drawerConfig.bottomBarBuildType.close:
|
|
289
|
-
itemAdjust = _this.renderCloseButton(item);
|
|
290
|
-
break;
|
|
291
|
-
|
|
292
|
-
case _constants.drawerConfig.bottomBarBuildType.save:
|
|
293
|
-
itemAdjust = _this.renderSaveButton(_objectSpread(_objectSpread({}, item), {
|
|
294
|
-
handleClick: function handleClick(e) {
|
|
295
|
-
that.handleOk(e);
|
|
296
|
-
}
|
|
297
|
-
}));
|
|
298
|
-
break;
|
|
299
|
-
|
|
300
|
-
case _constants.drawerConfig.bottomBarBuildType.generalButton:
|
|
301
|
-
itemAdjust = _this.renderGeneralButton(item);
|
|
302
|
-
break;
|
|
303
|
-
|
|
304
|
-
case _constants.cardConfig.extraBuildType.flexSelect:
|
|
305
|
-
itemAdjust = (0, _FunctionComponent.buildCustomSelect)(item);
|
|
306
|
-
break;
|
|
307
|
-
|
|
308
|
-
case _constants.drawerConfig.bottomBarBuildType.button:
|
|
309
|
-
itemAdjust = (0, _FunctionComponent.buildButton)(item);
|
|
310
|
-
break;
|
|
311
|
-
|
|
312
|
-
case _constants.drawerConfig.bottomBarBuildType.dropdown:
|
|
313
|
-
itemAdjust = (0, _FunctionComponent.buildDropdown)(_objectSpread(_objectSpread({}, item), {
|
|
314
|
-
placement: 'topRight'
|
|
315
|
-
}));
|
|
316
|
-
break;
|
|
317
|
-
|
|
318
|
-
case _constants.drawerConfig.bottomBarBuildType.dropdownButton:
|
|
319
|
-
itemAdjust = (0, _FunctionComponent.buildDropdownButton)(_objectSpread(_objectSpread({}, item), {
|
|
320
|
-
placement: 'topRight'
|
|
321
|
-
}));
|
|
322
|
-
break;
|
|
323
|
-
|
|
324
|
-
case _constants.drawerConfig.bottomBarBuildType.dropdownEllipsis:
|
|
325
|
-
itemAdjust = (0, _FunctionComponent.buildDropdownEllipsis)(_objectSpread(_objectSpread({}, item), {
|
|
326
|
-
placement: 'topRight'
|
|
327
|
-
}));
|
|
328
|
-
break;
|
|
329
|
-
|
|
330
|
-
case _constants.drawerConfig.bottomBarBuildType.iconInfo:
|
|
331
|
-
itemAdjust = /*#__PURE__*/_react.default.createElement(_IconInfo.default, {
|
|
332
|
-
icon: itemIcon,
|
|
333
|
-
text: itemText
|
|
334
|
-
});
|
|
335
|
-
break;
|
|
336
|
-
|
|
337
|
-
case _constants.drawerConfig.bottomBarBuildType.component:
|
|
338
|
-
itemAdjust = itemComponent || null;
|
|
339
|
-
break;
|
|
340
|
-
|
|
341
|
-
default:
|
|
342
|
-
itemAdjust = item;
|
|
343
|
-
break;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
components.push( /*#__PURE__*/_react.default.createElement(_react.Fragment, {
|
|
347
|
-
key: itemKey
|
|
348
|
-
}, itemAdjust));
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
});
|
|
352
|
-
return components;
|
|
353
|
-
};
|
|
354
|
-
|
|
355
|
-
_this.renderBottomBar = function () {
|
|
356
|
-
var bottomBarLeftBox = _this.renderBottomBarLeftBox();
|
|
357
|
-
|
|
358
|
-
var bottomBarRightBox = _this.renderBottomBarRightBox();
|
|
359
|
-
|
|
360
|
-
return /*#__PURE__*/_react.default.createElement(Footer, null, /*#__PURE__*/_react.default.createElement(_affix.default, {
|
|
361
|
-
offsetBottom: 0
|
|
362
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
363
|
-
className: _index.default.bottomBar
|
|
364
|
-
}, /*#__PURE__*/_react.default.createElement(_row.default, null, /*#__PURE__*/_react.default.createElement(_col.default, {
|
|
365
|
-
span: 24,
|
|
366
|
-
style: {
|
|
367
|
-
textAlign: 'right'
|
|
368
|
-
}
|
|
369
|
-
}, /*#__PURE__*/_react.default.createElement(_FlexBox.default, {
|
|
370
|
-
flexAuto: "left",
|
|
371
|
-
left: /*#__PURE__*/_react.default.createElement(_FlexBox.default, {
|
|
372
|
-
flexAuto: "right",
|
|
373
|
-
style: {
|
|
374
|
-
height: '100%'
|
|
375
|
-
},
|
|
376
|
-
leftStyle: {
|
|
377
|
-
height: '100%'
|
|
378
|
-
},
|
|
379
|
-
left: /*#__PURE__*/_react.default.createElement(_space.default, {
|
|
380
|
-
split: /*#__PURE__*/_react.default.createElement(_divider.default, {
|
|
381
|
-
type: "vertical"
|
|
382
|
-
}),
|
|
383
|
-
style: {
|
|
384
|
-
height: '100%'
|
|
385
|
-
}
|
|
386
|
-
}, bottomBarLeftBox),
|
|
387
|
-
right: /*#__PURE__*/_react.default.createElement("div", null)
|
|
388
|
-
}),
|
|
389
|
-
right: /*#__PURE__*/_react.default.createElement(_space.default, {
|
|
390
|
-
split: /*#__PURE__*/_react.default.createElement(_divider.default, {
|
|
391
|
-
type: "vertical"
|
|
392
|
-
})
|
|
393
|
-
}, bottomBarRightBox)
|
|
394
|
-
}))))));
|
|
395
|
-
};
|
|
396
|
-
|
|
397
|
-
var defaultState = (0, _tools.defaultFormState)();
|
|
398
|
-
_this.state = _objectSpread(_objectSpread({}, defaultState), {
|
|
399
|
-
title: '',
|
|
400
|
-
width: 820,
|
|
401
|
-
height: 256,
|
|
402
|
-
visible: false,
|
|
403
|
-
dataLoading: false,
|
|
404
|
-
showBottomBar: false,
|
|
405
|
-
submitApiPath: '',
|
|
406
|
-
placement: 'right'
|
|
407
|
-
});
|
|
408
|
-
return _this;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
_createClass(Base, [{
|
|
412
|
-
key: "renderFurther",
|
|
413
|
-
value: function renderFurther() {
|
|
414
|
-
var _this$state2 = this.state,
|
|
415
|
-
visible = _this$state2.visible,
|
|
416
|
-
width = _this$state2.width,
|
|
417
|
-
height = _this$state2.height,
|
|
418
|
-
showBottomBar = _this$state2.showBottomBar,
|
|
419
|
-
placement = _this$state2.placement;
|
|
420
|
-
var maskClosable = this.props.maskClosable;
|
|
421
|
-
var titleIcon = this.renderTitleIcon();
|
|
422
|
-
return /*#__PURE__*/_react.default.createElement(_drawer.default, {
|
|
423
|
-
title: /*#__PURE__*/_react.default.createElement("span", null, titleIcon, titleIcon ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("span", {
|
|
424
|
-
className: _index.default.titleText
|
|
425
|
-
}), " ", this.renderTitle()) : this.renderTitle()),
|
|
426
|
-
destroyOnClose: false,
|
|
427
|
-
width: width,
|
|
428
|
-
height: height,
|
|
429
|
-
placement: placement,
|
|
430
|
-
visible: visible || false,
|
|
431
|
-
maskClosable: (0, _tools.isUndefined)(maskClosable) ? false : maskClosable,
|
|
432
|
-
onClose: this.onClose,
|
|
433
|
-
bodyStyle: {
|
|
434
|
-
padding: 0
|
|
435
|
-
},
|
|
436
|
-
extra: this.buildExtraAction()
|
|
437
|
-
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
438
|
-
className: _index.default.mainContainor
|
|
439
|
-
}, /*#__PURE__*/_react.default.createElement(_layout.default, null, /*#__PURE__*/_react.default.createElement(Content, null, this.renderContentContainor()), showBottomBar ? this.renderBottomBar() : null), this.renderOther()));
|
|
440
|
-
}
|
|
441
|
-
}]);
|
|
442
|
-
|
|
443
|
-
return Base;
|
|
444
|
-
}(_BaseWindow2.default);
|
|
445
|
-
|
|
446
|
-
var _default = Base;
|
|
447
|
-
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,98 +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 _constants = require("../../../utils/constants");
|
|
11
|
-
|
|
12
|
-
var _BaseNeedlessLoadDrawer = _interopRequireDefault(require("../BaseNeedlessLoadDrawer"));
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
|
|
16
|
-
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; }
|
|
17
|
-
|
|
18
|
-
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; }
|
|
19
|
-
|
|
20
|
-
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; }
|
|
21
|
-
|
|
22
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
23
|
-
|
|
24
|
-
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); } }
|
|
25
|
-
|
|
26
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
|
-
|
|
28
|
-
function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
|
29
|
-
|
|
30
|
-
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
31
|
-
|
|
32
|
-
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); }
|
|
33
|
-
|
|
34
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
35
|
-
|
|
36
|
-
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); }; }
|
|
37
|
-
|
|
38
|
-
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); }
|
|
39
|
-
|
|
40
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
41
|
-
|
|
42
|
-
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; } }
|
|
43
|
-
|
|
44
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
45
|
-
|
|
46
|
-
var BaseAddDrawer = /*#__PURE__*/function (_BaseNeedlessLoadDraw) {
|
|
47
|
-
_inherits(BaseAddDrawer, _BaseNeedlessLoadDraw);
|
|
48
|
-
|
|
49
|
-
var _super = _createSuper(BaseAddDrawer);
|
|
50
|
-
|
|
51
|
-
function BaseAddDrawer(props) {
|
|
52
|
-
var _this;
|
|
53
|
-
|
|
54
|
-
_classCallCheck(this, BaseAddDrawer);
|
|
55
|
-
|
|
56
|
-
_this = _super.call(this, props);
|
|
57
|
-
|
|
58
|
-
_this.adjustWhenDidMount = function () {
|
|
59
|
-
_this.fillData({});
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
_this.buildBottomBarInnerDefaultConfigList = function () {
|
|
63
|
-
var buttonProcessing = _this.getSaveButtonProcessing();
|
|
64
|
-
|
|
65
|
-
var that = _assertThisInitialized(_this);
|
|
66
|
-
|
|
67
|
-
return [{
|
|
68
|
-
buildType: _constants.drawerConfig.bottomBarBuildType.generalButton,
|
|
69
|
-
type: 'primary',
|
|
70
|
-
icon: _constants.iconCollection.save,
|
|
71
|
-
text: '保存',
|
|
72
|
-
disabled: buttonProcessing,
|
|
73
|
-
handleClick: function handleClick(e) {
|
|
74
|
-
that.handleOk(e);
|
|
75
|
-
}
|
|
76
|
-
}, {
|
|
77
|
-
buildType: _constants.drawerConfig.bottomBarBuildType.close
|
|
78
|
-
}];
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
_this.state = _objectSpread(_objectSpread({}, _this.state), {
|
|
82
|
-
showBottomBar: true
|
|
83
|
-
});
|
|
84
|
-
return _this;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
_createClass(BaseAddDrawer, null, [{
|
|
88
|
-
key: "getDerivedStateFromProps",
|
|
89
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
90
|
-
return _get(_getPrototypeOf(BaseAddDrawer), "getDerivedStateFromProps", this).call(this, nextProps, prevState);
|
|
91
|
-
}
|
|
92
|
-
}]);
|
|
93
|
-
|
|
94
|
-
return BaseAddDrawer;
|
|
95
|
-
}(_BaseNeedlessLoadDrawer.default);
|
|
96
|
-
|
|
97
|
-
var _default = BaseAddDrawer;
|
|
98
|
-
exports.default = _default;
|
|
@@ -1,75 +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 _Base2 = _interopRequireDefault(require("../Base"));
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
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 _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Reflect.get.bind(); } else { _get = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get.apply(this, arguments); }
|
|
21
|
-
|
|
22
|
-
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
23
|
-
|
|
24
|
-
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); }
|
|
25
|
-
|
|
26
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
|
-
|
|
28
|
-
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); }; }
|
|
29
|
-
|
|
30
|
-
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); }
|
|
31
|
-
|
|
32
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
33
|
-
|
|
34
|
-
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; } }
|
|
35
|
-
|
|
36
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
37
|
-
|
|
38
|
-
var BaseLoadDrawer = /*#__PURE__*/function (_Base) {
|
|
39
|
-
_inherits(BaseLoadDrawer, _Base);
|
|
40
|
-
|
|
41
|
-
var _super = _createSuper(BaseLoadDrawer);
|
|
42
|
-
|
|
43
|
-
function BaseLoadDrawer() {
|
|
44
|
-
var _this;
|
|
45
|
-
|
|
46
|
-
_classCallCheck(this, BaseLoadDrawer);
|
|
47
|
-
|
|
48
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
49
|
-
args[_key] = arguments[_key];
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
_this = _super.call.apply(_super, [this].concat(args));
|
|
53
|
-
|
|
54
|
-
_this.doOtherWhenChangeVisibleToShow = function (preProps, preState, snapshot) {
|
|
55
|
-
_this.reloadData({
|
|
56
|
-
dataLoading: true
|
|
57
|
-
}, null, 300);
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
return _this;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
_createClass(BaseLoadDrawer, null, [{
|
|
64
|
-
key: "getDerivedStateFromProps",
|
|
65
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
66
|
-
return _get(_getPrototypeOf(BaseLoadDrawer), "getDerivedStateFromProps", this).call(this, nextProps, prevState);
|
|
67
|
-
} // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
68
|
-
|
|
69
|
-
}]);
|
|
70
|
-
|
|
71
|
-
return BaseLoadDrawer;
|
|
72
|
-
}(_Base2.default);
|
|
73
|
-
|
|
74
|
-
var _default = BaseLoadDrawer;
|
|
75
|
-
exports.default = _default;
|