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
package/es/utils/typeCheck.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* check value is string
|
|
3
|
-
*/
|
|
4
|
-
export function isString(value: any): boolean;
|
|
5
|
-
export function isFunction(value: any): boolean;
|
|
6
|
-
/**
|
|
7
|
-
* 判断是否是数字字符串
|
|
8
|
-
*
|
|
9
|
-
* @export
|
|
10
|
-
* @param {*} str
|
|
11
|
-
* @returns
|
|
12
|
-
*/
|
|
13
|
-
export function isNumber(v: any): boolean;
|
|
14
|
-
export function isArray(value: any): boolean;
|
|
15
|
-
/**
|
|
16
|
-
* 占位函数
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @returns
|
|
20
|
-
*/
|
|
21
|
-
export function empty(): {};
|
package/es/utils/typeCheck.js
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.empty = empty;
|
|
7
|
-
exports.isArray = isArray;
|
|
8
|
-
exports.isFunction = isFunction;
|
|
9
|
-
exports.isNumber = isNumber;
|
|
10
|
-
exports.isString = isString;
|
|
11
|
-
|
|
12
|
-
var _lodash = require("lodash");
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* check value is string
|
|
16
|
-
*/
|
|
17
|
-
function isString(value) {
|
|
18
|
-
return (0, _lodash.isString)(value);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
function isFunction(value) {
|
|
22
|
-
return (0, _lodash.isFunction)(value);
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* 判断是否是数字字符串
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @param {*} str
|
|
29
|
-
* @returns
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
function isNumber(v) {
|
|
34
|
-
var str = "".concat(typeof v === 'undefined' ? null : v);
|
|
35
|
-
|
|
36
|
-
if (str === '') {
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
var regular = /^[0-9]*$/;
|
|
41
|
-
var re = new RegExp(regular);
|
|
42
|
-
return re.test(str);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function isArray(value) {
|
|
46
|
-
return Array.isArray(value);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* 占位函数
|
|
50
|
-
*
|
|
51
|
-
* @export
|
|
52
|
-
* @returns
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
function empty() {
|
|
57
|
-
return {};
|
|
58
|
-
}
|
package/es/utils/typeConvert.js
DELETED
package/es/utils/utils.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
export function isUrl(path: any): boolean;
|
|
3
|
-
export function getPageQuery(): import("querystring").ParsedUrlQuery;
|
|
4
|
-
export function getAuthorityFromRouter(router: any[] | undefined, pathname: any): any;
|
|
5
|
-
export function getRouteAuthority(path: any, routeData: any): undefined;
|
package/es/utils/utils.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isUrl = exports.getRouteAuthority = exports.getPageQuery = exports.getAuthorityFromRouter = void 0;
|
|
7
|
-
|
|
8
|
-
var _pathToRegexp = require("path-to-regexp");
|
|
9
|
-
|
|
10
|
-
var _querystring = require("querystring");
|
|
11
|
-
|
|
12
|
-
var reg = /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/;
|
|
13
|
-
|
|
14
|
-
var isUrl = function isUrl(path) {
|
|
15
|
-
return reg.test(path);
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
exports.isUrl = isUrl;
|
|
19
|
-
|
|
20
|
-
var getPageQuery = function getPageQuery() {
|
|
21
|
-
return (0, _querystring.parse)(window.location.href.split('?')[1]);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* props.route.routes
|
|
25
|
-
* @param router [{}]
|
|
26
|
-
* @param pathname string
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
exports.getPageQuery = getPageQuery;
|
|
31
|
-
|
|
32
|
-
var getAuthorityFromRouter = function getAuthorityFromRouter() {
|
|
33
|
-
var router = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
34
|
-
var pathname = arguments.length > 1 ? arguments[1] : undefined;
|
|
35
|
-
var authority = router.find(function (_ref) {
|
|
36
|
-
var routes = _ref.routes,
|
|
37
|
-
_ref$path = _ref.path,
|
|
38
|
-
path = _ref$path === void 0 ? '/' : _ref$path;
|
|
39
|
-
return path && (0, _pathToRegexp.pathToRegexp)(path).exec(pathname) || routes && getAuthorityFromRouter(routes, pathname);
|
|
40
|
-
});
|
|
41
|
-
if (authority) return authority;
|
|
42
|
-
return undefined;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
exports.getAuthorityFromRouter = getAuthorityFromRouter;
|
|
46
|
-
|
|
47
|
-
var getRouteAuthority = function getRouteAuthority(path, routeData) {
|
|
48
|
-
var authorities;
|
|
49
|
-
routeData.forEach(function (route) {
|
|
50
|
-
// match prefix
|
|
51
|
-
if ((0, _pathToRegexp.pathToRegexp)("".concat(route.path, "/(.*)")).test("".concat(path, "/"))) {
|
|
52
|
-
if (route.authority) {
|
|
53
|
-
authorities = route.authority;
|
|
54
|
-
} // exact match
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
if (route.path === path) {
|
|
58
|
-
authorities = route.authority || authorities;
|
|
59
|
-
} // get children authority recursively
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
if (route.routes) {
|
|
63
|
-
authorities = getRouteAuthority(path, route.routes) || authorities;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
return authorities;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
exports.getRouteAuthority = getRouteAuthority;
|
package/es/utils/utils.less
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
.textOverflow() {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
white-space: nowrap;
|
|
4
|
-
text-overflow: ellipsis;
|
|
5
|
-
word-break: break-all;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.textOverflowMulti(@line: 3, @bg: #fff) {
|
|
9
|
-
position: relative;
|
|
10
|
-
max-height: @line * 1.5em;
|
|
11
|
-
margin-right: -1em;
|
|
12
|
-
padding-right: 1em;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
line-height: 1.5em;
|
|
15
|
-
text-align: justify;
|
|
16
|
-
|
|
17
|
-
&::before {
|
|
18
|
-
position: absolute;
|
|
19
|
-
right: 14px;
|
|
20
|
-
bottom: 0;
|
|
21
|
-
padding: 0 1px;
|
|
22
|
-
background: @bg;
|
|
23
|
-
content: '...';
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&::after {
|
|
27
|
-
position: absolute;
|
|
28
|
-
right: 14px;
|
|
29
|
-
width: 1em;
|
|
30
|
-
height: 1em;
|
|
31
|
-
margin-top: 0.2em;
|
|
32
|
-
background: white;
|
|
33
|
-
content: '';
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// mixins for clearfix
|
|
38
|
-
// ------------------------
|
|
39
|
-
.clearfix() {
|
|
40
|
-
zoom: 1;
|
|
41
|
-
|
|
42
|
-
&::before,
|
|
43
|
-
&::after {
|
|
44
|
-
display: table;
|
|
45
|
-
content: ' ';
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&::after {
|
|
49
|
-
clear: both;
|
|
50
|
-
height: 0;
|
|
51
|
-
font-size: 0;
|
|
52
|
-
visibility: hidden;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.hidden {
|
|
57
|
-
display: none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.help {
|
|
61
|
-
color: #985e5e;
|
|
62
|
-
font-size: 12px;
|
|
63
|
-
}
|
package/es/utils/utils.test.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 是否使用模拟访问
|
|
3
|
-
*
|
|
4
|
-
* @export
|
|
5
|
-
* @returns
|
|
6
|
-
*/
|
|
7
|
-
export function transferToVirtualAccess(): boolean;
|
|
8
|
-
/**
|
|
9
|
-
* 封装模拟的错误返回
|
|
10
|
-
*/
|
|
11
|
-
export function apiVirtualFailData({ remoteResponse, code, message: messageText, needAuthorize, }: {
|
|
12
|
-
remoteResponse: any;
|
|
13
|
-
code: any;
|
|
14
|
-
message: any;
|
|
15
|
-
needAuthorize?: boolean | undefined;
|
|
16
|
-
}): any;
|
|
17
|
-
/**
|
|
18
|
-
* 封装模拟的正确返回
|
|
19
|
-
*/
|
|
20
|
-
export function apiVirtualSuccessData({ remoteResponse, needAuthorize, }: {
|
|
21
|
-
remoteResponse: any;
|
|
22
|
-
needAuthorize?: boolean | undefined;
|
|
23
|
-
}): any;
|
|
24
|
-
/**
|
|
25
|
-
* 封装正确的虚拟访问
|
|
26
|
-
*/
|
|
27
|
-
export function apiVirtualSuccessAccess({ remoteResponse, needAuthorize, }: {
|
|
28
|
-
remoteResponse: any;
|
|
29
|
-
needAuthorize?: boolean | undefined;
|
|
30
|
-
}): Promise<{}>;
|
|
31
|
-
/**
|
|
32
|
-
* 封装失败的虚拟访问
|
|
33
|
-
*/
|
|
34
|
-
export function apiVirtualFailAccess({ remoteResponse, needAuthorize, }: {
|
|
35
|
-
remoteResponse: any;
|
|
36
|
-
needAuthorize?: boolean | undefined;
|
|
37
|
-
}): Promise<{}>;
|
|
38
|
-
/**
|
|
39
|
-
* 封装模拟访问
|
|
40
|
-
*/
|
|
41
|
-
export function apiVirtualAccess({ virtualRequestDelay, dataBuild, }: {
|
|
42
|
-
virtualRequestDelay?: number | undefined;
|
|
43
|
-
dataBuild: any;
|
|
44
|
-
}): Promise<{}>;
|
|
45
|
-
/**
|
|
46
|
-
* 占位函数
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
* @returns
|
|
50
|
-
*/
|
|
51
|
-
export function empty(): {};
|
|
@@ -1,320 +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.apiVirtualAccess = apiVirtualAccess;
|
|
9
|
-
exports.apiVirtualFailAccess = apiVirtualFailAccess;
|
|
10
|
-
exports.apiVirtualFailData = apiVirtualFailData;
|
|
11
|
-
exports.apiVirtualSuccessAccess = apiVirtualSuccessAccess;
|
|
12
|
-
exports.apiVirtualSuccessData = apiVirtualSuccessData;
|
|
13
|
-
exports.empty = empty;
|
|
14
|
-
exports.transferToVirtualAccess = transferToVirtualAccess;
|
|
15
|
-
|
|
16
|
-
require("antd/es/message/style");
|
|
17
|
-
|
|
18
|
-
var _message2 = _interopRequireDefault(require("antd/es/message"));
|
|
19
|
-
|
|
20
|
-
var _defaultSettingsSpecial = require("./defaultSettingsSpecial");
|
|
21
|
-
|
|
22
|
-
var _globalStorageAssist = require("./globalStorageAssist");
|
|
23
|
-
|
|
24
|
-
var _tools = require("./tools");
|
|
25
|
-
|
|
26
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
27
|
-
|
|
28
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return generator._invoke = function (innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; }(innerFn, self, context), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return ContinueSentinel; } var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (object) { var keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
29
|
-
|
|
30
|
-
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
31
|
-
|
|
32
|
-
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
33
|
-
|
|
34
|
-
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; }
|
|
35
|
-
|
|
36
|
-
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; }
|
|
37
|
-
|
|
38
|
-
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; }
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* 是否使用模拟访问
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
* @returns
|
|
45
|
-
*/
|
|
46
|
-
function transferToVirtualAccess() {
|
|
47
|
-
return _defaultSettingsSpecial.defaultSettingsLayoutCustom.getUseVirtualRequest();
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* 封装模拟的登录验证
|
|
51
|
-
*
|
|
52
|
-
* @returns
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
function apiVirtualAuthorize() {
|
|
57
|
-
var tokenValue = _globalStorageAssist.getToken;
|
|
58
|
-
return (tokenValue || '') !== '';
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* 封装模拟的错误返回
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
function apiVirtualFailData(_ref) {
|
|
66
|
-
var remoteResponse = _ref.remoteResponse,
|
|
67
|
-
code = _ref.code,
|
|
68
|
-
messageText = _ref.message,
|
|
69
|
-
_ref$needAuthorize = _ref.needAuthorize,
|
|
70
|
-
needAuthorize = _ref$needAuthorize === void 0 ? true : _ref$needAuthorize;
|
|
71
|
-
|
|
72
|
-
if (needAuthorize) {
|
|
73
|
-
if (apiVirtualAuthorize()) {
|
|
74
|
-
(0, _tools.showRuntimeError)({
|
|
75
|
-
message: messageText
|
|
76
|
-
});
|
|
77
|
-
return _objectSpread({
|
|
78
|
-
code: code,
|
|
79
|
-
message: messageText,
|
|
80
|
-
success: false
|
|
81
|
-
}, remoteResponse);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
code: _defaultSettingsSpecial.defaultSettingsLayoutCustom.getAuthenticationFailCode(),
|
|
86
|
-
message: '登录失效,请重新登录',
|
|
87
|
-
success: false
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
(0, _tools.showRuntimeError)({
|
|
92
|
-
message: messageText
|
|
93
|
-
});
|
|
94
|
-
return _objectSpread({
|
|
95
|
-
code: code,
|
|
96
|
-
message: _message2.default,
|
|
97
|
-
success: false
|
|
98
|
-
}, remoteResponse);
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* 封装模拟的正确返回
|
|
102
|
-
*/
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
function apiVirtualSuccessData(_ref2) {
|
|
106
|
-
var remoteResponse = _ref2.remoteResponse,
|
|
107
|
-
_ref2$needAuthorize = _ref2.needAuthorize,
|
|
108
|
-
needAuthorize = _ref2$needAuthorize === void 0 ? true : _ref2$needAuthorize;
|
|
109
|
-
|
|
110
|
-
if (needAuthorize) {
|
|
111
|
-
if (apiVirtualAuthorize()) {
|
|
112
|
-
return _objectSpread({
|
|
113
|
-
code: _defaultSettingsSpecial.defaultSettingsLayoutCustom.getApiSuccessCode(),
|
|
114
|
-
message: 'success',
|
|
115
|
-
success: true
|
|
116
|
-
}, remoteResponse);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return {
|
|
120
|
-
code: _defaultSettingsSpecial.defaultSettingsLayoutCustom.getAuthenticationFailCode(),
|
|
121
|
-
message: '登录失效,请重新登录',
|
|
122
|
-
success: false
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
return _objectSpread({
|
|
127
|
-
code: _defaultSettingsSpecial.defaultSettingsLayoutCustom.getApiSuccessCode(),
|
|
128
|
-
message: 'success',
|
|
129
|
-
success: true
|
|
130
|
-
}, remoteResponse);
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* 封装正确的虚拟访问
|
|
134
|
-
*/
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
function apiVirtualSuccessAccess(_x) {
|
|
138
|
-
return _apiVirtualSuccessAccess.apply(this, arguments);
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* 封装失败的虚拟访问
|
|
142
|
-
*/
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
function _apiVirtualSuccessAccess() {
|
|
146
|
-
_apiVirtualSuccessAccess = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref3) {
|
|
147
|
-
var remoteResponse, _ref3$needAuthorize, needAuthorize, result, _result, code, entrancePath;
|
|
148
|
-
|
|
149
|
-
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
150
|
-
while (1) {
|
|
151
|
-
switch (_context.prev = _context.next) {
|
|
152
|
-
case 0:
|
|
153
|
-
remoteResponse = _ref3.remoteResponse, _ref3$needAuthorize = _ref3.needAuthorize, needAuthorize = _ref3$needAuthorize === void 0 ? true : _ref3$needAuthorize;
|
|
154
|
-
result = {};
|
|
155
|
-
_context.next = 4;
|
|
156
|
-
return new Promise(function (resolve) {
|
|
157
|
-
setTimeout(function () {
|
|
158
|
-
resolve(apiVirtualSuccessData({
|
|
159
|
-
remoteResponse: remoteResponse,
|
|
160
|
-
needAuthorize: needAuthorize
|
|
161
|
-
}));
|
|
162
|
-
}, 300);
|
|
163
|
-
}).then(function (data) {
|
|
164
|
-
result = data;
|
|
165
|
-
});
|
|
166
|
-
|
|
167
|
-
case 4:
|
|
168
|
-
_result = result, code = _result.code;
|
|
169
|
-
|
|
170
|
-
if (!(code === _defaultSettingsSpecial.defaultSettingsLayoutCustom.getAuthenticationFailCode())) {
|
|
171
|
-
_context.next = 10;
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
entrancePath = _defaultSettingsSpecial.defaultSettingsLayoutCustom.getEntrancePath();
|
|
176
|
-
|
|
177
|
-
if (!(0, _tools.stringIsNullOrWhiteSpace)(entrancePath)) {
|
|
178
|
-
_context.next = 9;
|
|
179
|
-
break;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
throw new Error('缺少登录页面路径配置');
|
|
183
|
-
|
|
184
|
-
case 9:
|
|
185
|
-
(0, _tools.goToPath)(entrancePath);
|
|
186
|
-
|
|
187
|
-
case 10:
|
|
188
|
-
return _context.abrupt("return", result);
|
|
189
|
-
|
|
190
|
-
case 11:
|
|
191
|
-
case "end":
|
|
192
|
-
return _context.stop();
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}, _callee);
|
|
196
|
-
}));
|
|
197
|
-
return _apiVirtualSuccessAccess.apply(this, arguments);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
function apiVirtualFailAccess(_x2) {
|
|
201
|
-
return _apiVirtualFailAccess.apply(this, arguments);
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* 封装模拟访问
|
|
205
|
-
*/
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
function _apiVirtualFailAccess() {
|
|
209
|
-
_apiVirtualFailAccess = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref4) {
|
|
210
|
-
var remoteResponse, _ref4$needAuthorize, needAuthorize, result, _result2, code, messageText, entrancePath;
|
|
211
|
-
|
|
212
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
213
|
-
while (1) {
|
|
214
|
-
switch (_context2.prev = _context2.next) {
|
|
215
|
-
case 0:
|
|
216
|
-
remoteResponse = _ref4.remoteResponse, _ref4$needAuthorize = _ref4.needAuthorize, needAuthorize = _ref4$needAuthorize === void 0 ? true : _ref4$needAuthorize;
|
|
217
|
-
result = {};
|
|
218
|
-
_context2.next = 4;
|
|
219
|
-
return new Promise(function (resolve) {
|
|
220
|
-
setTimeout(function () {
|
|
221
|
-
resolve(apiVirtualFailData(remoteResponse, needAuthorize));
|
|
222
|
-
}, 300);
|
|
223
|
-
}).then(function (data) {
|
|
224
|
-
result = data;
|
|
225
|
-
});
|
|
226
|
-
|
|
227
|
-
case 4:
|
|
228
|
-
_result2 = result, code = _result2.code, messageText = _result2.message;
|
|
229
|
-
|
|
230
|
-
if (!(code === _defaultSettingsSpecial.defaultSettingsLayoutCustom.getAuthenticationFailCode())) {
|
|
231
|
-
_context2.next = 12;
|
|
232
|
-
break;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
entrancePath = _defaultSettingsSpecial.defaultSettingsLayoutCustom.getEntrancePath();
|
|
236
|
-
|
|
237
|
-
if (!(0, _tools.stringIsNullOrWhiteSpace)(entrancePath)) {
|
|
238
|
-
_context2.next = 9;
|
|
239
|
-
break;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
throw new Error('缺少登录页面路径配置');
|
|
243
|
-
|
|
244
|
-
case 9:
|
|
245
|
-
(0, _tools.goToPath)(entrancePath);
|
|
246
|
-
_context2.next = 13;
|
|
247
|
-
break;
|
|
248
|
-
|
|
249
|
-
case 12:
|
|
250
|
-
if (code !== _defaultSettingsSpecial.defaultSettingsLayoutCustom.getApiSuccessCode()) {
|
|
251
|
-
_message2.default.warn(messageText);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
case 13:
|
|
255
|
-
return _context2.abrupt("return", result);
|
|
256
|
-
|
|
257
|
-
case 14:
|
|
258
|
-
case "end":
|
|
259
|
-
return _context2.stop();
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}, _callee2);
|
|
263
|
-
}));
|
|
264
|
-
return _apiVirtualFailAccess.apply(this, arguments);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
function apiVirtualAccess(_x3) {
|
|
268
|
-
return _apiVirtualAccess.apply(this, arguments);
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* 占位函数
|
|
272
|
-
*
|
|
273
|
-
* @export
|
|
274
|
-
* @returns
|
|
275
|
-
*/
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
function _apiVirtualAccess() {
|
|
279
|
-
_apiVirtualAccess = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref5) {
|
|
280
|
-
var _ref5$virtualRequestD, virtualRequestDelay, dataBuild, result, _result3, code, messageText;
|
|
281
|
-
|
|
282
|
-
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
283
|
-
while (1) {
|
|
284
|
-
switch (_context3.prev = _context3.next) {
|
|
285
|
-
case 0:
|
|
286
|
-
_ref5$virtualRequestD = _ref5.virtualRequestDelay, virtualRequestDelay = _ref5$virtualRequestD === void 0 ? 200 : _ref5$virtualRequestD, dataBuild = _ref5.dataBuild;
|
|
287
|
-
result = {};
|
|
288
|
-
_context3.next = 4;
|
|
289
|
-
return new Promise(function (resolve) {
|
|
290
|
-
if ((0, _tools.isFunction)(dataBuild)) {
|
|
291
|
-
setTimeout(function () {
|
|
292
|
-
dataBuild(resolve);
|
|
293
|
-
}, virtualRequestDelay > 0 ? virtualRequestDelay : 0);
|
|
294
|
-
}
|
|
295
|
-
}).then(function (data) {
|
|
296
|
-
result = data;
|
|
297
|
-
});
|
|
298
|
-
|
|
299
|
-
case 4:
|
|
300
|
-
_result3 = result, code = _result3.code, messageText = _result3.message;
|
|
301
|
-
|
|
302
|
-
if (code !== _defaultSettingsSpecial.defaultSettingsLayoutCustom.getApiSuccessCode()) {
|
|
303
|
-
_message2.default.warn(messageText);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
return _context3.abrupt("return", result);
|
|
307
|
-
|
|
308
|
-
case 7:
|
|
309
|
-
case "end":
|
|
310
|
-
return _context3.stop();
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
}, _callee3);
|
|
314
|
-
}));
|
|
315
|
-
return _apiVirtualAccess.apply(this, arguments);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
function empty() {
|
|
319
|
-
return {};
|
|
320
|
-
}
|