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/tools.d.ts
DELETED
|
@@ -1,698 +0,0 @@
|
|
|
1
|
-
export function defaultBaseState(): {
|
|
2
|
-
dataLoading: boolean;
|
|
3
|
-
processing: boolean;
|
|
4
|
-
reloading: boolean;
|
|
5
|
-
searching: boolean;
|
|
6
|
-
refreshing: boolean;
|
|
7
|
-
paging: boolean;
|
|
8
|
-
firstLoadSuccess: boolean;
|
|
9
|
-
loadSuccess: boolean;
|
|
10
|
-
urlParams: null;
|
|
11
|
-
externalData: null;
|
|
12
|
-
};
|
|
13
|
-
export function defaultCoreState(): {
|
|
14
|
-
dataLoading: boolean;
|
|
15
|
-
processing: boolean;
|
|
16
|
-
reloading: boolean;
|
|
17
|
-
searching: boolean;
|
|
18
|
-
refreshing: boolean;
|
|
19
|
-
paging: boolean;
|
|
20
|
-
firstLoadSuccess: boolean;
|
|
21
|
-
loadSuccess: boolean;
|
|
22
|
-
urlParams: null;
|
|
23
|
-
externalData: null;
|
|
24
|
-
};
|
|
25
|
-
export function defaultCommonState(): {
|
|
26
|
-
loadApiPath: string;
|
|
27
|
-
pageName: string;
|
|
28
|
-
metaData: null;
|
|
29
|
-
metaExtra: null;
|
|
30
|
-
metaListData: never[];
|
|
31
|
-
metaOriginalData: null;
|
|
32
|
-
dataLoading: boolean;
|
|
33
|
-
processing: boolean;
|
|
34
|
-
reloading: boolean;
|
|
35
|
-
searching: boolean;
|
|
36
|
-
refreshing: boolean;
|
|
37
|
-
paging: boolean;
|
|
38
|
-
firstLoadSuccess: boolean;
|
|
39
|
-
loadSuccess: boolean;
|
|
40
|
-
urlParams: null;
|
|
41
|
-
externalData: null;
|
|
42
|
-
};
|
|
43
|
-
export function defaultListState(): {
|
|
44
|
-
dateRangeFieldName: string;
|
|
45
|
-
tableScroll: {
|
|
46
|
-
x: number;
|
|
47
|
-
};
|
|
48
|
-
formValues: {};
|
|
49
|
-
pageNo: number;
|
|
50
|
-
pageSize: number;
|
|
51
|
-
startTimeAlias: string;
|
|
52
|
-
endTimeAlias: string;
|
|
53
|
-
startTime: string;
|
|
54
|
-
endTime: string;
|
|
55
|
-
listViewMode: number;
|
|
56
|
-
showSelect: boolean;
|
|
57
|
-
selectedDataTableDataRows: never[];
|
|
58
|
-
loadApiPath: string;
|
|
59
|
-
pageName: string;
|
|
60
|
-
metaData: null;
|
|
61
|
-
metaExtra: null;
|
|
62
|
-
metaListData: never[];
|
|
63
|
-
metaOriginalData: null;
|
|
64
|
-
dataLoading: boolean;
|
|
65
|
-
processing: boolean;
|
|
66
|
-
reloading: boolean;
|
|
67
|
-
searching: boolean;
|
|
68
|
-
refreshing: boolean;
|
|
69
|
-
paging: boolean;
|
|
70
|
-
firstLoadSuccess: boolean;
|
|
71
|
-
loadSuccess: boolean;
|
|
72
|
-
urlParams: null;
|
|
73
|
-
externalData: null;
|
|
74
|
-
};
|
|
75
|
-
export function defaultPageListState(): {
|
|
76
|
-
paramsKey: string;
|
|
77
|
-
loadApiPath: string;
|
|
78
|
-
dateRangeFieldName: string;
|
|
79
|
-
tableScroll: {
|
|
80
|
-
x: number;
|
|
81
|
-
};
|
|
82
|
-
formValues: {};
|
|
83
|
-
pageNo: number;
|
|
84
|
-
pageSize: number;
|
|
85
|
-
startTime: string;
|
|
86
|
-
endTime: string;
|
|
87
|
-
listViewMode: number;
|
|
88
|
-
showSelect: boolean;
|
|
89
|
-
selectedDataTableDataRows: never[];
|
|
90
|
-
pageName: string;
|
|
91
|
-
metaData: null;
|
|
92
|
-
metaExtra: null;
|
|
93
|
-
metaListData: never[];
|
|
94
|
-
metaOriginalData: null;
|
|
95
|
-
dataLoading: boolean;
|
|
96
|
-
processing: boolean;
|
|
97
|
-
reloading: boolean;
|
|
98
|
-
searching: boolean;
|
|
99
|
-
refreshing: boolean;
|
|
100
|
-
paging: boolean;
|
|
101
|
-
firstLoadSuccess: boolean;
|
|
102
|
-
loadSuccess: boolean;
|
|
103
|
-
urlParams: null;
|
|
104
|
-
externalData: null;
|
|
105
|
-
};
|
|
106
|
-
export function defaultFormState(): {
|
|
107
|
-
errorFieldName: string;
|
|
108
|
-
submitApiPath: string;
|
|
109
|
-
loadApiPath: string;
|
|
110
|
-
pageName: string;
|
|
111
|
-
metaData: null;
|
|
112
|
-
metaExtra: null;
|
|
113
|
-
metaListData: never[];
|
|
114
|
-
metaOriginalData: null;
|
|
115
|
-
dataLoading: boolean;
|
|
116
|
-
processing: boolean;
|
|
117
|
-
reloading: boolean;
|
|
118
|
-
searching: boolean;
|
|
119
|
-
refreshing: boolean;
|
|
120
|
-
paging: boolean;
|
|
121
|
-
firstLoadSuccess: boolean;
|
|
122
|
-
loadSuccess: boolean;
|
|
123
|
-
urlParams: null;
|
|
124
|
-
externalData: null;
|
|
125
|
-
};
|
|
126
|
-
export function getValue(obj: any): string;
|
|
127
|
-
/**
|
|
128
|
-
* 复制到剪贴板
|
|
129
|
-
* @param {*} text
|
|
130
|
-
* @param {*} showText
|
|
131
|
-
*/
|
|
132
|
-
export function copyToClipboard(text: any, showCopyText?: boolean, otherShowText?: string): void;
|
|
133
|
-
/**
|
|
134
|
-
* 复制到剪贴板
|
|
135
|
-
* @param {*} text
|
|
136
|
-
*/
|
|
137
|
-
export function stringIsEmpty(text: any): boolean;
|
|
138
|
-
/**
|
|
139
|
-
*替换指定字符串
|
|
140
|
-
*
|
|
141
|
-
* @export
|
|
142
|
-
* @param {*} text
|
|
143
|
-
* @param {*} replaceText
|
|
144
|
-
* @param {*} beforeKeepNumber
|
|
145
|
-
* @param {*} afterKeepNumber
|
|
146
|
-
* @returns
|
|
147
|
-
*/
|
|
148
|
-
export function replaceTargetText(text: any, replaceText: any, beforeKeepNumber: any, afterKeepNumber: any): string;
|
|
149
|
-
export function checkDevelopment(): boolean;
|
|
150
|
-
/**
|
|
151
|
-
* corsTarget
|
|
152
|
-
* 跨域域名配置
|
|
153
|
-
* @export
|
|
154
|
-
* @param {*} v
|
|
155
|
-
* @returns
|
|
156
|
-
*/
|
|
157
|
-
export function corsTarget(): string;
|
|
158
|
-
export function goToPath(path: any): void;
|
|
159
|
-
export function redirectToPath(path: any): void;
|
|
160
|
-
export function showError(text: any): void;
|
|
161
|
-
export function showRuntimeError({ message: messageText, showStack }: {
|
|
162
|
-
message: any;
|
|
163
|
-
showStack?: boolean | undefined;
|
|
164
|
-
}): void;
|
|
165
|
-
export function showSuccessMessage({ duration, message: messageText, onClose, }: {
|
|
166
|
-
duration?: number | undefined;
|
|
167
|
-
message: any;
|
|
168
|
-
onClose?: (() => void) | undefined;
|
|
169
|
-
}): void;
|
|
170
|
-
export function showErrorMessage({ duration, message: messageText, onClose, }: {
|
|
171
|
-
duration?: number | undefined;
|
|
172
|
-
message: any;
|
|
173
|
-
onClose?: (() => void) | undefined;
|
|
174
|
-
}): void;
|
|
175
|
-
export function showWarnMessage({ duration, message: messageText, onClose, }: {
|
|
176
|
-
duration?: number | undefined;
|
|
177
|
-
message: any;
|
|
178
|
-
onClose?: (() => void) | undefined;
|
|
179
|
-
}): void;
|
|
180
|
-
/**
|
|
181
|
-
* 显示警告信息框
|
|
182
|
-
*/
|
|
183
|
-
export function showWarningMessage({ duration, message: messageText, onClose, }: {
|
|
184
|
-
duration?: number | undefined;
|
|
185
|
-
message: any;
|
|
186
|
-
onClose?: (() => void) | undefined;
|
|
187
|
-
}): void;
|
|
188
|
-
/**
|
|
189
|
-
* 显示消息信息
|
|
190
|
-
*/
|
|
191
|
-
export function showInfoMessage({ duration, message: messageText, onClose, }: {
|
|
192
|
-
duration?: number | undefined;
|
|
193
|
-
message: any;
|
|
194
|
-
onClose?: (() => void) | undefined;
|
|
195
|
-
}): void;
|
|
196
|
-
export function showLoadingMessage({ duration, message: messageText, onClose, }: {
|
|
197
|
-
duration?: number | undefined;
|
|
198
|
-
message: any;
|
|
199
|
-
onClose?: (() => void) | undefined;
|
|
200
|
-
}): void;
|
|
201
|
-
export function showOpenMessage({ duration, message: messageText, onClose, }: {
|
|
202
|
-
duration?: number | undefined;
|
|
203
|
-
message: any;
|
|
204
|
-
onClose?: (() => void) | undefined;
|
|
205
|
-
}): void;
|
|
206
|
-
export function showMessage({ type, duration, message: messageText, onClose, }: {
|
|
207
|
-
type: any;
|
|
208
|
-
duration?: number | undefined;
|
|
209
|
-
message: any;
|
|
210
|
-
onClose?: (() => void) | undefined;
|
|
211
|
-
}): void;
|
|
212
|
-
/**
|
|
213
|
-
* 获取Guid
|
|
214
|
-
*
|
|
215
|
-
* @export
|
|
216
|
-
* @param {*} v
|
|
217
|
-
* @returns
|
|
218
|
-
*/
|
|
219
|
-
export function getGuid(): string;
|
|
220
|
-
/**
|
|
221
|
-
* 检测目标是否在数组址之中
|
|
222
|
-
*/
|
|
223
|
-
export function inCollection(collection: any, value: any): boolean;
|
|
224
|
-
/**
|
|
225
|
-
* 格式化时间
|
|
226
|
-
*
|
|
227
|
-
* @export
|
|
228
|
-
* @param {*} v
|
|
229
|
-
* @returns
|
|
230
|
-
*/
|
|
231
|
-
export function isInvalid(v: any): boolean;
|
|
232
|
-
export function toDatetime(v: any): any;
|
|
233
|
-
/**
|
|
234
|
-
* 格式化时间
|
|
235
|
-
*
|
|
236
|
-
* @export
|
|
237
|
-
* @param {*} v
|
|
238
|
-
* @returns
|
|
239
|
-
*/
|
|
240
|
-
export function formatDatetime({ data, format, defaultValue, timeZone, }: any): any;
|
|
241
|
-
/**
|
|
242
|
-
* 格式化数字
|
|
243
|
-
*/
|
|
244
|
-
export function numeralFormat(v: any, formatString: any): string;
|
|
245
|
-
/**
|
|
246
|
-
* 当前Moment时间
|
|
247
|
-
*
|
|
248
|
-
* @export
|
|
249
|
-
* @param {*} v
|
|
250
|
-
* @returns
|
|
251
|
-
*/
|
|
252
|
-
export function getMomentNow(timeZone?: number): moment.Moment;
|
|
253
|
-
/**
|
|
254
|
-
* 转化为Moment时间
|
|
255
|
-
*
|
|
256
|
-
* @export
|
|
257
|
-
* @param {*} v
|
|
258
|
-
* @returns
|
|
259
|
-
*/
|
|
260
|
-
export function toMoment({ data, timeZone }: any): moment.Moment | null;
|
|
261
|
-
/**
|
|
262
|
-
* 转化为Moment时间
|
|
263
|
-
*
|
|
264
|
-
* @export
|
|
265
|
-
* @param {*} v
|
|
266
|
-
* @returns
|
|
267
|
-
*/
|
|
268
|
-
export function stringToMoment({ data, timeZone }: any): moment.Moment | null;
|
|
269
|
-
/**
|
|
270
|
-
* 转化为Moment时间
|
|
271
|
-
*
|
|
272
|
-
* @export
|
|
273
|
-
* @param {*} v
|
|
274
|
-
* @returns
|
|
275
|
-
*/
|
|
276
|
-
export function dateToMoment({ data, timeZone }: any): moment.Moment | null;
|
|
277
|
-
/**
|
|
278
|
-
* 判断是否是时间字符串
|
|
279
|
-
*
|
|
280
|
-
* @export
|
|
281
|
-
* @param {*} v
|
|
282
|
-
* @returns
|
|
283
|
-
*/
|
|
284
|
-
export function isDatetime(v: any): boolean;
|
|
285
|
-
/**
|
|
286
|
-
* 判断是否是数字字符串
|
|
287
|
-
*
|
|
288
|
-
* @export
|
|
289
|
-
* @param {*} str
|
|
290
|
-
* @returns
|
|
291
|
-
*/
|
|
292
|
-
export function isNumber(v: any): boolean;
|
|
293
|
-
/**
|
|
294
|
-
* 转换为数字
|
|
295
|
-
*
|
|
296
|
-
* @export
|
|
297
|
-
* @param {*} str
|
|
298
|
-
* @returns
|
|
299
|
-
*/
|
|
300
|
-
export function toNumber(v: any): number;
|
|
301
|
-
/**
|
|
302
|
-
* 转换为数字
|
|
303
|
-
*
|
|
304
|
-
* @export
|
|
305
|
-
* @param {*} str
|
|
306
|
-
* @returns
|
|
307
|
-
*/
|
|
308
|
-
export function split(source: any, separator: any, limit?: number): string[];
|
|
309
|
-
/**
|
|
310
|
-
* 转换为文本
|
|
311
|
-
*
|
|
312
|
-
* @export
|
|
313
|
-
* @param {*} str
|
|
314
|
-
* @returns
|
|
315
|
-
*/
|
|
316
|
-
export function toString(value: any): string;
|
|
317
|
-
/**
|
|
318
|
-
* 去除重复数据并排序(升序)
|
|
319
|
-
*/
|
|
320
|
-
export function sortedUnique(array: any): any[];
|
|
321
|
-
/**
|
|
322
|
-
*
|
|
323
|
-
*@param val 值 len保留小数位数
|
|
324
|
-
*
|
|
325
|
-
*/
|
|
326
|
-
export function roundToTarget(v: any, len: any): number;
|
|
327
|
-
/**
|
|
328
|
-
* 判断是否是数字字符串
|
|
329
|
-
*
|
|
330
|
-
* @export
|
|
331
|
-
* @param {*} str
|
|
332
|
-
* @returns
|
|
333
|
-
*/
|
|
334
|
-
export function isMoney(v: any): boolean;
|
|
335
|
-
/**
|
|
336
|
-
* 转换为数字
|
|
337
|
-
*
|
|
338
|
-
* @export
|
|
339
|
-
* @param {*} str
|
|
340
|
-
* @returns
|
|
341
|
-
*/
|
|
342
|
-
export function toMoney(v: any): number;
|
|
343
|
-
/**
|
|
344
|
-
* 通过 key 获取对应得值
|
|
345
|
-
*/
|
|
346
|
-
export function getValueByKey({ data, key, defaultValue, convert, convertBuilder, format, formatBuilder, }: {
|
|
347
|
-
data: any;
|
|
348
|
-
key: any;
|
|
349
|
-
defaultValue?: null | undefined;
|
|
350
|
-
convert?: null | undefined;
|
|
351
|
-
convertBuilder?: null | undefined;
|
|
352
|
-
format?: null | undefined;
|
|
353
|
-
formatBuilder?: null | undefined;
|
|
354
|
-
}): any;
|
|
355
|
-
/**
|
|
356
|
-
* convertTarget
|
|
357
|
-
* @param {*} param0
|
|
358
|
-
* @returns
|
|
359
|
-
*/
|
|
360
|
-
export function convertTarget({ target, convert }: any): any;
|
|
361
|
-
export function formatTarget({ target, format, option }: {
|
|
362
|
-
target: any;
|
|
363
|
-
format: any;
|
|
364
|
-
option?: {} | undefined;
|
|
365
|
-
}): any;
|
|
366
|
-
/**
|
|
367
|
-
* 通过 path 获取对应得值
|
|
368
|
-
*/
|
|
369
|
-
export function getPathValue(o: any, path: any, defaultValue?: null): any;
|
|
370
|
-
/**
|
|
371
|
-
*计算时间间隔
|
|
372
|
-
* @param {startTime} 起始时间
|
|
373
|
-
* @param {endTime} 结束时间
|
|
374
|
-
*/
|
|
375
|
-
export function calculateTimeInterval(startTime: any, endTime: any): {
|
|
376
|
-
day: number;
|
|
377
|
-
hour: number;
|
|
378
|
-
minute: number;
|
|
379
|
-
second: number;
|
|
380
|
-
};
|
|
381
|
-
/**
|
|
382
|
-
* 格式化货币
|
|
383
|
-
*
|
|
384
|
-
* @export
|
|
385
|
-
* @param {*} str
|
|
386
|
-
* @returns
|
|
387
|
-
*/
|
|
388
|
-
export function formatDecimal(numberSource: any, placesSource?: number, thousandSource?: string, decimalSource?: string): string;
|
|
389
|
-
/**
|
|
390
|
-
* 格式化货币
|
|
391
|
-
*
|
|
392
|
-
* @export
|
|
393
|
-
* @param {*} str
|
|
394
|
-
* @returns
|
|
395
|
-
*/
|
|
396
|
-
export function formatMoney(numberSource: any, symbolSource?: string, format?: string): string;
|
|
397
|
-
export function toPercentage(val: any, format?: string): string;
|
|
398
|
-
/**
|
|
399
|
-
* 检查字符串string是否以给定的target字符串结尾
|
|
400
|
-
*/
|
|
401
|
-
export function endsWith(source: any, target: any, position: any): boolean;
|
|
402
|
-
/**
|
|
403
|
-
* 如果字符串末尾匹配目标字符串,则从源字符串末尾移除匹配项
|
|
404
|
-
*/
|
|
405
|
-
export function removeEndMatch(source: any, target: any): any;
|
|
406
|
-
/**
|
|
407
|
-
* 从源字符串移除最后一个匹配项
|
|
408
|
-
*/
|
|
409
|
-
export function removeLastMatch(source: any, target: any): any;
|
|
410
|
-
/**
|
|
411
|
-
* 转换金额为人民币大写
|
|
412
|
-
*
|
|
413
|
-
* @export
|
|
414
|
-
* @param {*} target 转换的目标
|
|
415
|
-
* @param {*} option 转换配置, 参看Nzh包
|
|
416
|
-
* @returns
|
|
417
|
-
*/
|
|
418
|
-
export function formatMoneyToChinese({ target, option }: any): string;
|
|
419
|
-
export function seededRandom({ seed, min, max }: {
|
|
420
|
-
seed: any;
|
|
421
|
-
min: any;
|
|
422
|
-
max: any;
|
|
423
|
-
}): any;
|
|
424
|
-
/**
|
|
425
|
-
* 通过种子等配置返回随机颜色值
|
|
426
|
-
*
|
|
427
|
-
* @export
|
|
428
|
-
* @param {*} seed
|
|
429
|
-
* @returns
|
|
430
|
-
*/
|
|
431
|
-
export function getRandomColor({ seed, hue, luminosity, count, format, alpha, }: any): string[];
|
|
432
|
-
/**
|
|
433
|
-
* 获取浏览器信息
|
|
434
|
-
*
|
|
435
|
-
* @export
|
|
436
|
-
* @returns
|
|
437
|
-
*/
|
|
438
|
-
export function getBrowserInfo(): {
|
|
439
|
-
versions: {
|
|
440
|
-
trident: boolean;
|
|
441
|
-
presto: boolean;
|
|
442
|
-
webKit: boolean;
|
|
443
|
-
gecko: boolean;
|
|
444
|
-
mobile: boolean;
|
|
445
|
-
ios: boolean;
|
|
446
|
-
android: boolean;
|
|
447
|
-
iPhone: boolean;
|
|
448
|
-
iPad: boolean;
|
|
449
|
-
webApp: boolean;
|
|
450
|
-
};
|
|
451
|
-
language: any;
|
|
452
|
-
};
|
|
453
|
-
/**
|
|
454
|
-
* 封装表单项配置
|
|
455
|
-
*
|
|
456
|
-
* @export
|
|
457
|
-
* @param {*} v
|
|
458
|
-
* @param {*} justice
|
|
459
|
-
* @param {*} defaultValue
|
|
460
|
-
* @param {*} originalOption
|
|
461
|
-
* @param {*} convertCallback
|
|
462
|
-
*/
|
|
463
|
-
export function refitFieldDecoratorOption(v: any, justice: any, defaultValue: any, originalOption: any, convertCallback: any): any;
|
|
464
|
-
/**
|
|
465
|
-
* 封装公共数据
|
|
466
|
-
*
|
|
467
|
-
* @export 数据集合
|
|
468
|
-
* @param {*} listData 源数据集合
|
|
469
|
-
* @param {*} empty 要添加的首个数据
|
|
470
|
-
* @param {*} otherListData 要添加的其他数据集合
|
|
471
|
-
* @returns 封装后的数据集合
|
|
472
|
-
*/
|
|
473
|
-
export function refitCommonData(listData: any, empty: any, otherListData: any): any[];
|
|
474
|
-
/**
|
|
475
|
-
* 计算表达式的值
|
|
476
|
-
*
|
|
477
|
-
* @export
|
|
478
|
-
* @param {*} fn
|
|
479
|
-
* @returns
|
|
480
|
-
*/
|
|
481
|
-
export function evil(fn: any): any;
|
|
482
|
-
/**
|
|
483
|
-
* 搜索集合中的匹配项
|
|
484
|
-
*
|
|
485
|
-
* @export
|
|
486
|
-
* @param {*} itemKey
|
|
487
|
-
* @param {*} itemValue
|
|
488
|
-
* @param {*} sourceData
|
|
489
|
-
* @returns
|
|
490
|
-
*/
|
|
491
|
-
export function searchFromList(itemKey: any, itemValue: any, sourceData: any): null;
|
|
492
|
-
/**
|
|
493
|
-
* 转换列表数据
|
|
494
|
-
*/
|
|
495
|
-
export function transformListData({ list, convert, recursiveKey, }: {
|
|
496
|
-
list?: any[] | undefined;
|
|
497
|
-
convert?: null | undefined;
|
|
498
|
-
recursiveKey?: string | undefined;
|
|
499
|
-
}): any[];
|
|
500
|
-
/**
|
|
501
|
-
* 转换数据
|
|
502
|
-
*/
|
|
503
|
-
export function transformData({ data, convert, recursiveKey, }: {
|
|
504
|
-
data: any;
|
|
505
|
-
convert?: null | undefined;
|
|
506
|
-
recursiveKey?: string | undefined;
|
|
507
|
-
}): any;
|
|
508
|
-
/**
|
|
509
|
-
* 构建描述文本
|
|
510
|
-
* @param {*} v
|
|
511
|
-
* @param {*} op
|
|
512
|
-
* @param {*} other
|
|
513
|
-
*/
|
|
514
|
-
export function buildFieldDescription(v: any, op: any, other: any): string;
|
|
515
|
-
/**
|
|
516
|
-
* 清空SessionStorage数据
|
|
517
|
-
* @export
|
|
518
|
-
* @param {*} key
|
|
519
|
-
*/
|
|
520
|
-
export function clearSessionStorage(): void;
|
|
521
|
-
/**
|
|
522
|
-
* 获取工作队列
|
|
523
|
-
* @export
|
|
524
|
-
*/
|
|
525
|
-
export function getQueue(): any;
|
|
526
|
-
/**
|
|
527
|
-
* Reacts生命周期getDerivedStateFromProps 辅助函数用于将url参数解析到返回值中用于设定state,
|
|
528
|
-
* @export
|
|
529
|
-
*/
|
|
530
|
-
export function getDerivedStateFromPropsForUrlParamsCore(nextProps: any): {
|
|
531
|
-
urlParams: any;
|
|
532
|
-
} | null;
|
|
533
|
-
/**
|
|
534
|
-
* Reacts生命周期getDerivedStateFromProps 辅助函数用于将url参数解析到返回值中用于设定state,如果值重复,则返回null,
|
|
535
|
-
* @export
|
|
536
|
-
*/
|
|
537
|
-
export function getDerivedStateFromPropsForUrlParams(nextProps: any, prevState: any, defaultUrlParams?: {
|
|
538
|
-
id: string;
|
|
539
|
-
}, parseUrlParamsForSetState?: null): any;
|
|
540
|
-
export function arrayMove(array: any, from: any, to: any): any[];
|
|
541
|
-
export function arrayMoveMutate(array: any, from: any, to: any): void;
|
|
542
|
-
/**
|
|
543
|
-
* 获取本地数据
|
|
544
|
-
* @export
|
|
545
|
-
* @param {value} 对比源
|
|
546
|
-
* @param {other} 对比对象
|
|
547
|
-
* 执行深比较来确定两者的值是否相等。
|
|
548
|
-
* 这个方法支持比较 arrays, array buffers, booleans, date objects, error objects, maps, numbers, Object objects, regexes, sets, strings, symbols, 以及 typed arrays. Object 对象值比较自身的属性,不包括继承的和可枚举的属性。 不支持函数和DOM节点比较。
|
|
549
|
-
*/
|
|
550
|
-
export function isEqual(value: any, other: any): boolean;
|
|
551
|
-
export function isEqualBySerialize(value: any, other: any): boolean;
|
|
552
|
-
export function cloneWithoutMethod(value: any): any;
|
|
553
|
-
export function isFunction(value: any): boolean;
|
|
554
|
-
export function isArray(value: any): boolean;
|
|
555
|
-
export function isObject(o: any): boolean;
|
|
556
|
-
export function difference(array: any, values: any): any[];
|
|
557
|
-
/**
|
|
558
|
-
* 筛选需要的集合
|
|
559
|
-
* @param {collection} 可筛选的对象,例如数组
|
|
560
|
-
* @param {predicateFunction} 每次迭代调用的筛选函数
|
|
561
|
-
*/
|
|
562
|
-
export function filter(collection: any, predicateFunction: any): string[];
|
|
563
|
-
/**
|
|
564
|
-
* 创建一个元素数组。 以 iteratee 处理的结果升序排序。 这个方法执行稳定排序,也就是说相同元素会保持原始排序。 iteratees 调用1个参数: (value)。
|
|
565
|
-
* @param {collection} (Array|Object), 用来迭代的集合。
|
|
566
|
-
* @param {predicateFunction} 这个函数决定排序
|
|
567
|
-
*/
|
|
568
|
-
export function sortBy(collection: any, predicateFunction: any): any[];
|
|
569
|
-
/**
|
|
570
|
-
* 该方法返回第一个通过 predicateFunction 判断为真值的元素的索引值(index),而不是元素本身。
|
|
571
|
-
* @param {array} (Array): 要搜索的数组。
|
|
572
|
-
* @param {predicateFunction} 这个函数会在每一次迭代调用
|
|
573
|
-
* @param {fromIndex} (number): The index to search from.
|
|
574
|
-
*/
|
|
575
|
-
export function findIndex(array: any, predicateFunction: any, fromIndex?: number): number;
|
|
576
|
-
/**
|
|
577
|
-
* 该方法返回第一个通过 predicateFunction 判断为真值的元素的索引值(index),而不是元素本身,返回匹配元素,否则返回 undefined。。
|
|
578
|
-
* @param {array} (Array): 要搜索的数组。
|
|
579
|
-
* @param {predicateFunction} 这个函数会在每一次迭代调用
|
|
580
|
-
* @param {fromIndex} (number): The index to search from.
|
|
581
|
-
*/
|
|
582
|
-
export function find(array: any, predicateFunction: any, fromIndex?: number): any;
|
|
583
|
-
export function checkExist(array: any, predicateFunction: any, fromIndex?: number): boolean;
|
|
584
|
-
export function reverse(array: any): any;
|
|
585
|
-
export function trim(source: any): string;
|
|
586
|
-
export function replace(source: any, pattern: any, replacement: any): string;
|
|
587
|
-
export function isBoolean(value: any): boolean;
|
|
588
|
-
/**
|
|
589
|
-
* check value is undefined
|
|
590
|
-
*/
|
|
591
|
-
export function isUndefined(value: any): boolean;
|
|
592
|
-
/**
|
|
593
|
-
* check value is null
|
|
594
|
-
*/
|
|
595
|
-
export function isNull(value: any): boolean;
|
|
596
|
-
/**
|
|
597
|
-
* check value is date
|
|
598
|
-
*/
|
|
599
|
-
export function isDate(value: any): boolean;
|
|
600
|
-
/**
|
|
601
|
-
* check value is string
|
|
602
|
-
*/
|
|
603
|
-
export function isString(value: any): boolean;
|
|
604
|
-
export function upperFirst(value: any): string;
|
|
605
|
-
export function lowerFirst(value: any): string;
|
|
606
|
-
/**
|
|
607
|
-
* 移除数组中predicate(断言)返回为真值的所有元素,并返回移除元素组成的数组。predicate(断言) 会传入3个参数: (value, index, array)。
|
|
608
|
-
* @param {*} array
|
|
609
|
-
* @param {*} predicate (Array|Function|Object|string): 每次迭代调用的函数
|
|
610
|
-
*/
|
|
611
|
-
export function removeFromArray(array: any, predicate: any): any[];
|
|
612
|
-
export function stringIsNullOrWhiteSpace(value: any): boolean;
|
|
613
|
-
/**
|
|
614
|
-
* base64解码
|
|
615
|
-
*/
|
|
616
|
-
export function decodeBase64(target: any): any;
|
|
617
|
-
/**
|
|
618
|
-
* base64编码
|
|
619
|
-
*/
|
|
620
|
-
export function encodeBase64(target: any): string;
|
|
621
|
-
/**
|
|
622
|
-
* 补零
|
|
623
|
-
* @param {*} val
|
|
624
|
-
* @returns
|
|
625
|
-
*/
|
|
626
|
-
export function fixedZero(val: any): any;
|
|
627
|
-
/**
|
|
628
|
-
* getTimeDistance
|
|
629
|
-
*/
|
|
630
|
-
export function getTimeDistance(type: any): moment.Moment[];
|
|
631
|
-
/**
|
|
632
|
-
* 构建描述文本
|
|
633
|
-
* @param {*} v
|
|
634
|
-
* @param {*} op
|
|
635
|
-
* @param {*} other
|
|
636
|
-
*/
|
|
637
|
-
export function buildFieldHelper(v: any, prefix?: string): string;
|
|
638
|
-
export function checkLocalhost(): boolean;
|
|
639
|
-
/**
|
|
640
|
-
* 尝试发送最近一次本地调用通知(一般用于开发阶段,提示调用的接口域)
|
|
641
|
-
*/
|
|
642
|
-
export function trySendNearestLocalhostNotify({ text }: {
|
|
643
|
-
text: any;
|
|
644
|
-
}): void;
|
|
645
|
-
/**
|
|
646
|
-
* 文本缩略
|
|
647
|
-
*/
|
|
648
|
-
export function ellipsis(value: any, length: any, symbol?: string): string;
|
|
649
|
-
export function notifySuccess(text: any): void;
|
|
650
|
-
export function notifyInfo(text: any): void;
|
|
651
|
-
export function notifyWarn(text: any): void;
|
|
652
|
-
export function notifyError(text: any): void;
|
|
653
|
-
/**
|
|
654
|
-
* 发送页面通知
|
|
655
|
-
*/
|
|
656
|
-
export function notify({ type, placement: placementValue, message: messageValue, description: descriptionValue, }: {
|
|
657
|
-
type: any;
|
|
658
|
-
placement: any;
|
|
659
|
-
message: any;
|
|
660
|
-
description: any;
|
|
661
|
-
}): void;
|
|
662
|
-
export function recordLog(record: any, showMode: any, level?: string): void;
|
|
663
|
-
export function recordWarn(record: any): void;
|
|
664
|
-
export function recordInfo(record: any): void;
|
|
665
|
-
export function recordDebug(record: any): void;
|
|
666
|
-
export function recordError(record: any): void;
|
|
667
|
-
export function recordText(record: any, level?: string): void;
|
|
668
|
-
export function recordObject(record: any, level?: string): void;
|
|
669
|
-
export function checkFromConfig({ label, name, helper }: {
|
|
670
|
-
label: any;
|
|
671
|
-
name: any;
|
|
672
|
-
helper: any;
|
|
673
|
-
}): {
|
|
674
|
-
label: string;
|
|
675
|
-
name: string;
|
|
676
|
-
helper: string;
|
|
677
|
-
};
|
|
678
|
-
/**
|
|
679
|
-
* 依照某个键的值进行排序,请确保键的值为数字型
|
|
680
|
-
*/
|
|
681
|
-
export function sortCollectionByKey({ operate, item, list, sortKey, sortMin, }: {
|
|
682
|
-
operate: any;
|
|
683
|
-
item: any;
|
|
684
|
-
list: any;
|
|
685
|
-
sortKey: any;
|
|
686
|
-
sortMin?: number | undefined;
|
|
687
|
-
}): any;
|
|
688
|
-
export function queryStringify(data: any): string;
|
|
689
|
-
export function queryStringParse(data: any): import("qs").ParsedQs;
|
|
690
|
-
/**
|
|
691
|
-
* 占位函数
|
|
692
|
-
*
|
|
693
|
-
* @export
|
|
694
|
-
* @returns
|
|
695
|
-
*/
|
|
696
|
-
export function empty(): {};
|
|
697
|
-
export const requestAnimFrame: (((callback: FrameRequestCallback) => number) & typeof requestAnimationFrame) | (() => void);
|
|
698
|
-
import moment from "moment";
|