antd-management-fast-framework 1.12.103 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/ApplicationWrapper/index.d.ts +9 -0
- package/es/components/Bootstrap/index.d.ts +3 -0
- package/es/components/DataPreviewDrawer/index.d.ts +31 -0
- package/es/{customComponents/Exception → components/LoadingOverlay}/index.d.ts +1 -3
- package/es/components/MobileContainor/MobileHtmlPreviewBox/index.d.ts +10 -0
- package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +75 -0
- package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +54 -0
- package/es/components/MobileContainor/index.d.ts +8 -0
- package/es/components/index.d.ts +5 -0
- package/es/configGroup/configGeneral.d.ts +27 -55
- package/es/configGroup/configGeneral.js +31 -138
- package/es/configGroup/index.d.ts +2 -0
- package/es/configGroup/themeCollection.d.ts +3 -25
- package/es/configGroup/themeCollection.js +1 -109
- package/es/configGroup/webpackPlugin.d.ts +0 -7
- package/es/configGroup/webpackPlugin.js +236 -51
- package/es/configs/index.d.ts +2 -0
- package/es/configs/themeCollection.d.ts +7 -0
- package/es/configs/webpackPlugin.d.ts +4 -0
- package/es/customComponents/ApplicationProvider/index.d.ts +12 -0
- package/es/customComponents/ApplicationWrapper/index.d.ts +9 -0
- package/es/customComponents/Bootstrap/index.d.ts +3 -0
- package/es/customComponents/Bootstrap/index.js +67 -0
- package/es/customComponents/DataPreviewDrawer/index.d.ts +5 -6
- package/es/customComponents/DataPreviewDrawer/index.js +78 -87
- package/es/customComponents/LoadingOverlay/index.d.ts +6 -0
- package/es/customComponents/LoadingOverloay/index.d.ts +3 -0
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +4 -6
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +57 -54
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +38 -12
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +84 -111
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +8 -8
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +76 -95
- package/es/customComponents/MobileContainor/index.d.ts +8 -0
- package/es/customComponents/index.d.ts +5 -7
- package/es/framework/AuthorizationWrapper/index.d.ts +8 -5
- package/es/framework/AuthorizationWrapper/index.js +50 -59
- package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +5 -6
- package/es/framework/ButtonExtension/SelectButton/Base/index.js +52 -70
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +6 -7
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +57 -85
- package/es/framework/ButtonExtension/SelectButton/index.d.ts +6 -0
- package/es/framework/ButtonExtension/index.d.ts +1 -0
- package/es/framework/Common/CardCollectionItemContent/index.d.ts +14 -0
- package/es/framework/Common/CommonInternal/index.d.ts +167 -0
- package/es/framework/Common/InternalBuild/index.d.ts +26 -0
- package/es/framework/Common/InternalFlow/index.d.ts +149 -0
- package/es/framework/Common/InternalLayout/index.d.ts +9 -0
- package/es/framework/Common/InternalMake/index.d.ts +9 -0
- package/es/framework/Common/InternalTabFlow/index.d.ts +12 -0
- package/es/framework/Common/index.d.ts +2 -205
- package/es/framework/Common/index.js +39 -2481
- package/es/framework/Core/index.d.ts +17 -6
- package/es/framework/Core/index.js +15 -56
- package/es/framework/CustomWrapper/Supplement/index.d.ts +2 -3
- package/es/framework/CustomWrapper/Supplement/index.js +43 -40
- package/es/framework/CustomWrapper/SupplementCore/index.d.ts +2 -4
- package/es/framework/CustomWrapper/SupplementCore/index.js +47 -66
- package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +2 -3
- package/es/framework/CustomWrapper/SupplementWrapper/index.js +44 -41
- package/es/framework/CustomWrapper/index.d.ts +3 -0
- package/es/framework/DataDrawer/Base/index.d.ts +16 -18
- package/es/framework/DataDrawer/Base/index.js +126 -238
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +3 -4
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +57 -60
- package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +3 -4
- package/es/framework/DataDrawer/BaseLoadDrawer/index.js +54 -47
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +3 -4
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +57 -63
- package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +2 -3
- package/es/framework/DataDrawer/BaseSaveDrawer/index.js +55 -57
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +2 -3
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +56 -56
- package/es/framework/DataDrawer/index.d.ts +14 -0
- package/es/framework/DataForm/BaseAddForm/index.d.ts +7 -7
- package/es/framework/DataForm/BaseAddForm/index.js +95 -162
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +3 -4
- package/es/framework/DataForm/BaseUpdateForm/index.js +66 -85
- package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +2 -3
- package/es/framework/DataForm/BaseUpdateFormContent/index.js +55 -45
- package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +3 -3
- package/es/framework/DataForm/BaseUpdateFormTab/index.js +54 -37
- package/es/framework/DataForm/index.d.ts +10 -0
- package/es/framework/DataListView/Base/index.d.ts +38 -82
- package/es/framework/DataListView/Base/index.js +317 -634
- package/es/framework/DataListView/BatchAction/index.d.ts +3 -3
- package/es/framework/DataListView/BatchAction/index.js +38 -68
- package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +1 -2
- package/es/framework/DataListView/ColumnSetting/DndItem.js +87 -110
- package/es/framework/DataListView/ColumnSetting/index.d.ts +1 -2
- package/es/framework/DataListView/ColumnSetting/index.js +111 -160
- package/es/framework/DataListView/DensityAction/index.d.ts +2 -3
- package/es/framework/DataListView/DensityAction/index.js +29 -84
- package/es/framework/DataListView/index.d.ts +10 -0
- package/es/framework/DataMenuContainer/index.d.ts +8 -10
- package/es/framework/DataMenuContainer/index.js +96 -155
- package/es/framework/DataModal/Base/index.d.ts +10 -12
- package/es/framework/DataModal/Base/index.js +74 -128
- package/es/framework/DataModal/BaseAddModal/index.d.ts +2 -3
- package/es/framework/DataModal/BaseAddModal/index.js +52 -50
- package/es/framework/DataModal/BaseLoadModal/index.d.ts +3 -4
- package/es/framework/DataModal/BaseLoadModal/index.js +49 -44
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +6 -6
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +55 -62
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +4 -4
- package/es/framework/DataModal/BaseSelectModal/index.js +52 -51
- package/es/framework/DataModal/BaseUpdateModal/index.d.ts +2 -3
- package/es/framework/DataModal/BaseUpdateModal/index.js +50 -37
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +5 -5
- package/es/framework/DataModal/BaseUpdateTransferModal/index.js +63 -85
- package/es/framework/DataModal/index.d.ts +16 -0
- package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +3 -3
- package/es/framework/DataMultiPageView/InnerMultiPage/index.js +66 -46
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +4 -3
- package/es/framework/DataMultiPageView/MultiPage/index.js +109 -143
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +19 -21
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +179 -233
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +4 -5
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +79 -73
- package/es/framework/DataMultiPageView/index.d.ts +10 -0
- package/es/framework/DataOperation/Base/index.d.ts +2 -3
- package/es/framework/DataOperation/Base/index.js +156 -214
- package/es/framework/DataOperation/BaseView/index.d.ts +2 -3
- package/es/framework/DataOperation/BaseView/index.js +56 -51
- package/es/framework/DataOperation/BaseWindow/index.d.ts +13 -14
- package/es/framework/DataOperation/BaseWindow/index.js +115 -163
- package/es/framework/DataOperation/index.d.ts +8 -0
- package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +3 -3
- package/es/framework/DataSinglePageView/InnerSinglePage/index.js +66 -46
- package/es/framework/DataSinglePageView/SinglePage/index.d.ts +9 -4
- package/es/framework/DataSinglePageView/SinglePage/index.js +97 -121
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +19 -21
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +173 -224
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +4 -5
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +81 -75
- package/es/framework/DataSinglePageView/index.d.ts +10 -0
- package/es/framework/DataSingleView/DataCore/index.d.ts +13 -40
- package/es/framework/DataSingleView/DataCore/index.js +90 -160
- package/es/framework/DataSingleView/DataLoad/index.d.ts +5 -5
- package/es/framework/DataSingleView/DataLoad/index.js +74 -92
- package/es/framework/DataSingleView/index.d.ts +6 -0
- package/es/framework/DataTabContainer/index.d.ts +6 -29
- package/es/framework/DataTabContainer/index.js +133 -159
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +6 -7
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +69 -96
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +65 -97
- package/es/framework/FieldExtension/SelectFieldDrawer/{SelectFieldDrawerBase → SelectFieldInteractiveBase}/index.d.ts +6 -7
- package/es/framework/FieldExtension/SelectFieldDrawer/index.d.ts +6 -0
- package/es/framework/FieldExtension/index.d.ts +4 -0
- package/es/framework/LayoutWrapper/index.d.ts +2 -0
- package/es/framework/Wrapper/index.d.ts +2 -3
- package/es/framework/Wrapper/index.js +42 -41
- package/es/framework/index.d.ts +17 -7
- package/es/get.js +28 -0
- package/es/getPrototypeOf.js +76 -0
- package/es/index.css +12 -0
- package/es/index.d.ts +5 -1
- package/es/index.js +9769 -6
- package/es/index2.js +2075 -0
- package/es/index3.js +383 -0
- package/es/modelBuilders/index.d.ts +1 -0
- package/es/modelBuilders/schedulingControl.d.ts +68 -0
- package/es/models/index.d.ts +1 -0
- package/es/models/schedulingControl.d.ts +46 -0
- package/es/models/schedulingControl.js +171 -0
- package/es/objectSpread2.js +40 -0
- package/es/services/schedulingControl.d.ts +4 -0
- package/es/services/schedulingControl.js +135 -0
- package/es/slicedToArray.js +43 -0
- package/es/toConsumableArray.js +19 -0
- package/es/toPropertyKey.js +19 -0
- package/es/typeof.js +11 -0
- package/es/unsupportedIterableToArray.js +16 -0
- package/es/utils/appListDataAssist.js +69 -0
- package/es/utils/applicationAssist.js +28 -0
- package/es/utils/applicationListDataAssist.d.ts +4 -0
- package/es/utils/applicationListDataCacheAssist.d.ts +24 -0
- package/es/utils/bootstrap.d.ts +4 -0
- package/es/utils/bootstrap.js +58 -0
- package/es/utils/configAssist.d.ts +1 -0
- package/es/utils/currentOperatorAssist.d.ts +5 -0
- package/es/utils/definition.d.ts +4 -0
- package/es/utils/index.d.ts +8 -0
- package/es/utils/layoutSettingAssist.d.ts +2 -0
- package/es/utils/layoutSettingAssist.js +60 -0
- package/es/utils/metaDataAssist.d.ts +5 -0
- package/es/utils/metaDataAssist.js +69 -0
- package/es/utils/schedulingControlAssist.d.ts +10 -0
- package/es/utils/storageAssist.js +153 -0
- package/package.json +122 -195
- package/License.txt +0 -21
- package/README.md +0 -35
- package/es/customComponents/AMap/UIPoiPicker.d.ts +0 -8
- package/es/customComponents/AMap/UIPoiPicker.js +0 -78
- package/es/customComponents/AMap/UIPositionPicker.d.ts +0 -8
- package/es/customComponents/AMap/UIPositionPicker.js +0 -87
- package/es/customComponents/ActiveChart/index.d.ts +0 -17
- package/es/customComponents/ActiveChart/index.js +0 -168
- package/es/customComponents/ActiveChart/index.less +0 -58
- package/es/customComponents/AnimalBox/FadeBox/index.d.ts +0 -14
- package/es/customComponents/AnimalBox/FadeBox/index.js +0 -82
- package/es/customComponents/AnimalBox/FadeBox/index.less +0 -61
- package/es/customComponents/AnimalBox/QueueBox/index.d.ts +0 -12
- package/es/customComponents/AnimalBox/QueueBox/index.js +0 -76
- package/es/customComponents/AnimalBox/QueueListBox/index.d.ts +0 -15
- package/es/customComponents/AnimalBox/QueueListBox/index.js +0 -117
- package/es/customComponents/AnimalBox/QueueListBox/index.less +0 -16
- package/es/customComponents/AnimalBox/RotateBox/index.d.ts +0 -14
- package/es/customComponents/AnimalBox/RotateBox/index.js +0 -85
- package/es/customComponents/ArticleListContent/index.d.ts +0 -10
- package/es/customComponents/ArticleListContent/index.js +0 -49
- package/es/customComponents/ArticleListContent/index.less +0 -41
- package/es/customComponents/AudioUpload/index.d.ts +0 -39
- package/es/customComponents/AudioUpload/index.js +0 -478
- package/es/customComponents/Authorized/Authorized.d.ts +0 -6
- package/es/customComponents/Authorized/Authorized.js +0 -33
- package/es/customComponents/Authorized/AuthorizedRoute.d.ts +0 -8
- package/es/customComponents/Authorized/AuthorizedRoute.js +0 -50
- package/es/customComponents/Authorized/CheckPermissions.d.ts +0 -11
- package/es/customComponents/Authorized/CheckPermissions.js +0 -106
- package/es/customComponents/Authorized/PromiseRender.d.ts +0 -13
- package/es/customComponents/Authorized/PromiseRender.js +0 -151
- package/es/customComponents/Authorized/Secured.d.ts +0 -18
- package/es/customComponents/Authorized/Secured.js +0 -95
- package/es/customComponents/Authorized/index.d.ts +0 -2
- package/es/customComponents/Authorized/index.js +0 -22
- package/es/customComponents/Authorized/renderAuthorize.d.ts +0 -3
- package/es/customComponents/Authorized/renderAuthorize.js +0 -37
- package/es/customComponents/AvatarList/index.d.ts +0 -17
- package/es/customComponents/AvatarList/index.js +0 -99
- package/es/customComponents/AvatarList/index.less +0 -53
- package/es/customComponents/AvatarList/index.test.d.ts +0 -1
- package/es/customComponents/Canvas/Bubbly/index.d.ts +0 -20
- package/es/customComponents/Canvas/Bubbly/index.js +0 -182
- package/es/customComponents/Canvas/Core/index.d.ts +0 -28
- package/es/customComponents/Canvas/Core/index.js +0 -163
- package/es/customComponents/Canvas/RadarScanning/index.d.ts +0 -20
- package/es/customComponents/Canvas/RadarScanning/index.js +0 -251
- package/es/customComponents/Canvas/Ribbon.7z +0 -0
- package/es/customComponents/Canvas/Spirit/index.d.ts +0 -23
- package/es/customComponents/Canvas/Spirit/index.js +0 -119
- package/es/customComponents/Canvas/index.d.ts +0 -12
- package/es/customComponents/Canvas/index.js +0 -27
- package/es/customComponents/CenterBox/index.d.ts +0 -7
- package/es/customComponents/CenterBox/index.js +0 -70
- package/es/customComponents/Charts/Bar/index.d.ts +0 -10
- package/es/customComponents/Charts/Bar/index.js +0 -129
- package/es/customComponents/Charts/ChartCard/index.d.ts +0 -8
- package/es/customComponents/Charts/ChartCard/index.js +0 -160
- package/es/customComponents/Charts/ChartCard/index.less +0 -90
- package/es/customComponents/Charts/Field/index.d.ts +0 -6
- package/es/customComponents/Charts/Field/index.js +0 -37
- package/es/customComponents/Charts/Field/index.less +0 -19
- package/es/customComponents/Charts/Gauge/index.d.ts +0 -2
- package/es/customComponents/Charts/Gauge/index.js +0 -185
- package/es/customComponents/Charts/MiniArea/index.d.ts +0 -2
- package/es/customComponents/Charts/MiniArea/index.js +0 -107
- package/es/customComponents/Charts/MiniBar/index.d.ts +0 -2
- package/es/customComponents/Charts/MiniBar/index.js +0 -62
- package/es/customComponents/Charts/MiniProgress/index.d.ts +0 -8
- package/es/customComponents/Charts/MiniProgress/index.js +0 -55
- package/es/customComponents/Charts/MiniProgress/index.less +0 -42
- package/es/customComponents/Charts/Pie/index.d.ts +0 -10
- package/es/customComponents/Charts/Pie/index.js +0 -195
- package/es/customComponents/Charts/Pie/index.less +0 -104
- package/es/customComponents/Charts/TagCloud/index.d.ts +0 -23
- package/es/customComponents/Charts/TagCloud/index.js +0 -276
- package/es/customComponents/Charts/TagCloud/index.less +0 -7
- package/es/customComponents/Charts/TimelineChart/index.d.ts +0 -2
- package/es/customComponents/Charts/TimelineChart/index.js +0 -173
- package/es/customComponents/Charts/TimelineChart/index.less +0 -5
- package/es/customComponents/Charts/WaterWave/index.d.ts +0 -18
- package/es/customComponents/Charts/WaterWave/index.js +0 -319
- package/es/customComponents/Charts/WaterWave/index.less +0 -32
- package/es/customComponents/Charts/autoHeight.d.ts +0 -13
- package/es/customComponents/Charts/autoHeight.js +0 -123
- package/es/customComponents/Charts/bizcharts.d.ts +0 -2
- package/es/customComponents/Charts/bizcharts.js +0 -17
- package/es/customComponents/Charts/index.d.ts +0 -27
- package/es/customComponents/Charts/index.js +0 -119
- package/es/customComponents/Charts/index.less +0 -26
- package/es/customComponents/ColorText/index.d.ts +0 -22
- package/es/customComponents/ColorText/index.js +0 -139
- package/es/customComponents/Countdown/index.d.ts +0 -22
- package/es/customComponents/Countdown/index.js +0 -158
- package/es/customComponents/Countdown/index.less +0 -5
- package/es/customComponents/DataPreviewDrawer/index.less +0 -10
- package/es/customComponents/DecorateAvatar/index.d.ts +0 -37
- package/es/customComponents/DecorateAvatar/index.js +0 -199
- package/es/customComponents/DisplayCopyData/index.d.ts +0 -10
- package/es/customComponents/DisplayCopyData/index.js +0 -86
- package/es/customComponents/EditableItem/index.d.ts +0 -12
- package/es/customComponents/EditableItem/index.js +0 -121
- package/es/customComponents/EditableItem/index.less +0 -25
- package/es/customComponents/EditableLinkGroup/index.d.ts +0 -23
- package/es/customComponents/EditableLinkGroup/index.js +0 -99
- package/es/customComponents/EditableLinkGroup/index.less +0 -18
- package/es/customComponents/Editor/TinymceWrapper/index.d.ts +0 -19
- package/es/customComponents/Editor/TinymceWrapper/index.js +0 -254
- package/es/customComponents/Ellipsis/index.d.ts +0 -26
- package/es/customComponents/Ellipsis/index.js +0 -389
- package/es/customComponents/Ellipsis/index.less +0 -28
- package/es/customComponents/Ellipsis/index.test.d.ts +0 -1
- package/es/customComponents/EllipsisCustom/index.d.ts +0 -26
- package/es/customComponents/EllipsisCustom/index.js +0 -355
- package/es/customComponents/EllipsisCustom/index.less +0 -27
- package/es/customComponents/EverySpace/index.d.ts +0 -16
- package/es/customComponents/EverySpace/index.js +0 -105
- package/es/customComponents/Exception/index.js +0 -121
- package/es/customComponents/Exception/index.less +0 -92
- package/es/customComponents/Exception/typeConfig.d.ts +0 -18
- package/es/customComponents/Exception/typeConfig.js +0 -25
- package/es/customComponents/FigureRange/index.d.ts +0 -133
- package/es/customComponents/FigureRange/index.js +0 -335
- package/es/customComponents/FigureRange/index.less +0 -73
- package/es/customComponents/FileBase64Upload/index.d.ts +0 -27
- package/es/customComponents/FileBase64Upload/index.js +0 -205
- package/es/customComponents/FileUpload/index.d.ts +0 -35
- package/es/customComponents/FileUpload/index.js +0 -402
- package/es/customComponents/FlexBox/index.d.ts +0 -24
- package/es/customComponents/FlexBox/index.js +0 -186
- package/es/customComponents/FlexText/index.d.ts +0 -21
- package/es/customComponents/FlexText/index.js +0 -109
- package/es/customComponents/FlexText/index.less +0 -3
- package/es/customComponents/FooterToolbar/index.d.ts +0 -16
- package/es/customComponents/FooterToolbar/index.js +0 -132
- package/es/customComponents/FooterToolbar/index.less +0 -33
- package/es/customComponents/FromDisplayItem/index.d.ts +0 -14
- package/es/customComponents/FromDisplayItem/index.js +0 -73
- package/es/customComponents/FromDisplayItem/index.less +0 -5
- package/es/customComponents/FunctionComponent/index.d.ts +0 -443
- package/es/customComponents/FunctionComponent/index.js +0 -3404
- package/es/customComponents/FunctionComponent/index.less +0 -63
- package/es/customComponents/FunctionSupplement/Whether/index.d.ts +0 -46
- package/es/customComponents/FunctionSupplement/Whether/index.js +0 -181
- package/es/customComponents/GlobalFooter/index.d.ts +0 -6
- package/es/customComponents/GlobalFooter/index.js +0 -39
- package/es/customComponents/GlobalFooter/index.less +0 -29
- package/es/customComponents/HelpBox/index.d.ts +0 -18
- package/es/customComponents/HelpBox/index.js +0 -192
- package/es/customComponents/HelpBox/index.less +0 -16
- package/es/customComponents/HelpCard/index.d.ts +0 -18
- package/es/customComponents/HelpCard/index.js +0 -91
- package/es/customComponents/HtmlBox/index.d.ts +0 -20
- package/es/customComponents/HtmlBox/index.js +0 -118
- package/es/customComponents/HtmlBox/index.less +0 -7
- package/es/customComponents/IconFont/index.d.ts +0 -2
- package/es/customComponents/IconFont/index.js +0 -14
- package/es/customComponents/IconInfo/index.d.ts +0 -32
- package/es/customComponents/IconInfo/index.js +0 -373
- package/es/customComponents/IconInfo/index.less +0 -5
- package/es/customComponents/ImageBox/index.d.ts +0 -60
- package/es/customComponents/ImageBox/index.js +0 -376
- package/es/customComponents/ImageBox/index.less +0 -114
- package/es/customComponents/ImageContentPreview/index.d.ts +0 -21
- package/es/customComponents/ImageContentPreview/index.js +0 -173
- package/es/customComponents/ImageContentPreview/index.less +0 -9
- package/es/customComponents/ImageUpload/index.d.ts +0 -45
- package/es/customComponents/ImageUpload/index.js +0 -413
- package/es/customComponents/ImageUpload/index.less +0 -81
- package/es/customComponents/MobileContainor/ContentView/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/ContentView/index.js +0 -152
- package/es/customComponents/MobileContainor/ContentView/index.less +0 -30
- package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.d.ts +0 -19
- package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.js +0 -121
- package/es/customComponents/MobileContainor/Devices/IPhone5S/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/Devices/IPhone5S/index.js +0 -124
- package/es/customComponents/MobileContainor/Devices/Iphone8/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/Devices/Iphone8/index.js +0 -124
- package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.js +0 -124
- package/es/customComponents/MobileContainor/Devices/IphoneX/index.d.ts +0 -20
- package/es/customComponents/MobileContainor/Devices/IphoneX/index.js +0 -130
- package/es/customComponents/MobileContainor/Devices/RoughSketch/index.d.ts +0 -19
- package/es/customComponents/MobileContainor/Devices/RoughSketch/index.js +0 -97
- package/es/customComponents/MobileContainor/Devices/RoughSketch/index.less +0 -34
- package/es/customComponents/MobileContainor/Devices/devices.less +0 -2815
- package/es/customComponents/MobileContainor/MobileSimulation/index.d.ts +0 -23
- package/es/customComponents/MobileContainor/MobileSimulation/index.js +0 -243
- package/es/customComponents/NoticeIconCustom/NoticeList.d.ts +0 -10
- package/es/customComponents/NoticeIconCustom/NoticeList.js +0 -81
- package/es/customComponents/NoticeIconCustom/NoticeList.less +0 -90
- package/es/customComponents/NoticeIconCustom/index.d.ts +0 -25
- package/es/customComponents/NoticeIconCustom/index.js +0 -201
- package/es/customComponents/NoticeIconCustom/index.less +0 -31
- package/es/customComponents/NumberInfo/index.d.ts +0 -12
- package/es/customComponents/NumberInfo/index.js +0 -60
- package/es/customComponents/NumberInfo/index.less +0 -77
- package/es/customComponents/PageLoading/index.d.ts +0 -2
- package/es/customComponents/PageLoading/index.js +0 -13
- package/es/customComponents/PercentageBox/index.d.ts +0 -12
- package/es/customComponents/PercentageBox/index.js +0 -70
- package/es/customComponents/PriceBox/index.d.ts +0 -18
- package/es/customComponents/PriceBox/index.js +0 -115
- package/es/customComponents/Result/index.d.ts +0 -9
- package/es/customComponents/Result/index.js +0 -57
- package/es/customComponents/Result/index.less +0 -58
- package/es/customComponents/StandardFormRow/index.d.ts +0 -9
- package/es/customComponents/StandardFormRow/index.js +0 -47
- package/es/customComponents/StandardFormRow/index.less +0 -81
- package/es/customComponents/StandardTable/index.d.ts +0 -17
- package/es/customComponents/StandardTable/index.js +0 -217
- package/es/customComponents/StandardTable/index.less +0 -7
- package/es/customComponents/StandardTableCustom/index.d.ts +0 -22
- package/es/customComponents/StandardTableCustom/index.js +0 -234
- package/es/customComponents/StandardTableCustom/index.less +0 -21
- package/es/customComponents/StatusBar/index.d.ts +0 -13
- package/es/customComponents/StatusBar/index.js +0 -128
- package/es/customComponents/TagSelect/index.d.ts +0 -34
- package/es/customComponents/TagSelect/index.js +0 -226
- package/es/customComponents/TagSelect/index.less +0 -38
- package/es/customComponents/TimeLineCustom/index.d.ts +0 -37
- package/es/customComponents/TimeLineCustom/index.js +0 -273
- package/es/customComponents/TimeLineCustom/index.less +0 -180
- package/es/customComponents/Trend/index.d.ts +0 -10
- package/es/customComponents/Trend/index.js +0 -49
- package/es/customComponents/Trend/index.less +0 -41
- package/es/customComponents/VerticalBox/index.d.ts +0 -15
- package/es/customComponents/VerticalBox/index.js +0 -138
- package/es/customComponents/VerticalBox/index.less +0 -7
- package/es/customComponents/VideoUpload/index.d.ts +0 -39
- package/es/customComponents/VideoUpload/index.js +0 -472
- package/es/customComponents/_utils/pathTools.d.ts +0 -1
- package/es/customComponents/_utils/pathTools.js +0 -15
- package/es/customComponents/_utils/pathTools.test.d.ts +0 -1
- package/es/customComponents/index.js +0 -16
- package/es/framework/Base/index.d.ts +0 -68
- package/es/framework/Base/index.js +0 -338
- package/es/framework/Common/index.less +0 -13
- package/es/framework/CustomBase/index.d.ts +0 -8
- package/es/framework/CustomBase/index.js +0 -77
- package/es/framework/DataDrawer/Base/index.less +0 -27
- package/es/framework/DataForm/BaseAddForm/index.less +0 -51
- package/es/framework/DataListView/Base/index.less +0 -161
- package/es/framework/DataListView/BatchAction/index.less +0 -5
- package/es/framework/DataListView/ColumnSetting/index.less +0 -60
- package/es/framework/DataMenuContainer/index.less +0 -100
- package/es/framework/DataModal/Base/index.less +0 -6
- package/es/framework/DataMultiPageView/InnerMultiPage/index.less +0 -125
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.less +0 -65
- package/es/framework/DataSinglePageView/InnerSinglePage/index.less +0 -50
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.less +0 -33
- package/es/framework/DataSingleView/DataCore/index.less +0 -7
- package/es/framework/DataTabContainer/index.less +0 -51
- package/es/framework/index.js +0 -60
- package/es/utils/Authorized.d.ts +0 -4
- package/es/utils/Authorized.js +0 -52
- package/es/utils/Yuan.d.ts +0 -13
- package/es/utils/Yuan.js +0 -92
- package/es/utils/actionAssist.d.ts +0 -44
- package/es/utils/actionAssist.js +0 -467
- package/es/utils/appConfiguration.d.ts +0 -70
- package/es/utils/appConfiguration.js +0 -403
- package/es/utils/authority.d.ts +0 -7
- package/es/utils/authority.js +0 -259
- package/es/utils/cacheAssist.d.ts +0 -85
- package/es/utils/cacheAssist.js +0 -317
- package/es/utils/constants.d.ts +0 -859
- package/es/utils/constants.js +0 -1540
- package/es/utils/core.d.ts +0 -25
- package/es/utils/core.js +0 -95
- package/es/utils/defaultSettingsSpecial.d.ts +0 -67
- package/es/utils/defaultSettingsSpecial.js +0 -53
- package/es/utils/developAssist.d.ts +0 -41
- package/es/utils/developAssist.js +0 -224
- package/es/utils/dva.d.ts +0 -31
- package/es/utils/dva.js +0 -54
- package/es/utils/globalModel.d.ts +0 -17
- package/es/utils/globalModel.js +0 -40
- package/es/utils/globalStorageAssist.d.ts +0 -78
- package/es/utils/globalStorageAssist.js +0 -239
- package/es/utils/localStorageAssist.d.ts +0 -47
- package/es/utils/localStorageAssist.js +0 -116
- package/es/utils/mediaDefault.d.ts +0 -11
- package/es/utils/mediaDefault.js +0 -24
- package/es/utils/proLayoutCollection.d.ts +0 -12
- package/es/utils/proLayoutCollection.js +0 -76
- package/es/utils/request.d.ts +0 -5
- package/es/utils/request.js +0 -243
- package/es/utils/requestAssistor.d.ts +0 -79
- package/es/utils/requestAssistor.js +0 -596
- package/es/utils/sessionStorageAssist.d.ts +0 -47
- package/es/utils/sessionStorageAssist.js +0 -116
- package/es/utils/tools.d.ts +0 -698
- package/es/utils/tools.js +0 -2205
- package/es/utils/typeCheck.d.ts +0 -21
- package/es/utils/typeCheck.js +0 -58
- package/es/utils/typeConvert.d.ts +0 -7
- package/es/utils/typeConvert.js +0 -16
- package/es/utils/utils.d.ts +0 -5
- package/es/utils/utils.js +0 -70
- package/es/utils/utils.less +0 -63
- package/es/utils/utils.test.d.ts +0 -1
- package/es/utils/virtualRequest.d.ts +0 -51
- package/es/utils/virtualRequest.js +0 -320
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { _ as _toPropertyKey } from './toPropertyKey.js';
|
|
2
|
+
|
|
3
|
+
function _defineProperty(obj, key, value) {
|
|
4
|
+
key = _toPropertyKey(key);
|
|
5
|
+
if (key in obj) {
|
|
6
|
+
Object.defineProperty(obj, key, {
|
|
7
|
+
value: value,
|
|
8
|
+
enumerable: true,
|
|
9
|
+
configurable: true,
|
|
10
|
+
writable: true
|
|
11
|
+
});
|
|
12
|
+
} else {
|
|
13
|
+
obj[key] = value;
|
|
14
|
+
}
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function ownKeys(object, enumerableOnly) {
|
|
19
|
+
var keys = Object.keys(object);
|
|
20
|
+
if (Object.getOwnPropertySymbols) {
|
|
21
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
22
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
23
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
24
|
+
})), keys.push.apply(keys, symbols);
|
|
25
|
+
}
|
|
26
|
+
return keys;
|
|
27
|
+
}
|
|
28
|
+
function _objectSpread2(target) {
|
|
29
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
30
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
31
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
32
|
+
_defineProperty(target, key, source[key]);
|
|
33
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
34
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
return target;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { _objectSpread2 as _, _defineProperty as a };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export function getMetaDataData(parameters: any): Promise<void | {}>;
|
|
2
|
+
export function getMetaDataSimulation(parameters: any): Promise<void | {}>;
|
|
3
|
+
export function singleListApplicationListData(parameters: any): Promise<void | {}>;
|
|
4
|
+
export function singleListApplicationListDataSimulation(parameters: any): Promise<void | {}>;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { _ as _objectSpread2 } from '../objectSpread2.js';
|
|
2
|
+
import { _ as _asyncToGenerator, r as regenerator } from '../index3.js';
|
|
3
|
+
import { datetimeFormat } from 'antd-management-fast-common/es/utils/constants';
|
|
4
|
+
import { runtimeSettings } from 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
5
|
+
import { request } from 'antd-management-fast-common/es/utils/requestAssistor';
|
|
6
|
+
import { formatDatetime, getNow, logDebug } from 'antd-management-fast-common/es/utils/tools';
|
|
7
|
+
import '../toPropertyKey.js';
|
|
8
|
+
import '../typeof.js';
|
|
9
|
+
|
|
10
|
+
function getMetaDataData(_x) {
|
|
11
|
+
return _getMetaDataData.apply(this, arguments);
|
|
12
|
+
}
|
|
13
|
+
function _getMetaDataData() {
|
|
14
|
+
_getMetaDataData = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(params) {
|
|
15
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
16
|
+
while (1) switch (_context.prev = _context.next) {
|
|
17
|
+
case 0:
|
|
18
|
+
return _context.abrupt("return", request({
|
|
19
|
+
api: runtimeSettings.getMetaDataPath(),
|
|
20
|
+
params: params
|
|
21
|
+
}));
|
|
22
|
+
case 1:
|
|
23
|
+
case "end":
|
|
24
|
+
return _context.stop();
|
|
25
|
+
}
|
|
26
|
+
}, _callee);
|
|
27
|
+
}));
|
|
28
|
+
return _getMetaDataData.apply(this, arguments);
|
|
29
|
+
}
|
|
30
|
+
function getMetaDataSimulation(_x2) {
|
|
31
|
+
return _getMetaDataSimulation.apply(this, arguments);
|
|
32
|
+
}
|
|
33
|
+
function _getMetaDataSimulation() {
|
|
34
|
+
_getMetaDataSimulation = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(params) {
|
|
35
|
+
var simulation;
|
|
36
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
37
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
38
|
+
case 0:
|
|
39
|
+
simulation = _objectSpread2({}, {
|
|
40
|
+
time: formatDatetime(getNow(), datetimeFormat.monthDayHourMinuteSecond)
|
|
41
|
+
});
|
|
42
|
+
logDebug("getMetaDataData use simulation mode, if need set it from api, please config getMetaDataPath.");
|
|
43
|
+
return _context2.abrupt("return", request({
|
|
44
|
+
api: "/schedulingControl/getMetaDataSimulation",
|
|
45
|
+
params: params,
|
|
46
|
+
useVirtualRequest: true,
|
|
47
|
+
virtualNeedAuthorize: false,
|
|
48
|
+
virtualSuccessResponse: {
|
|
49
|
+
data: simulation,
|
|
50
|
+
list: [],
|
|
51
|
+
extra: {}
|
|
52
|
+
}
|
|
53
|
+
}));
|
|
54
|
+
case 3:
|
|
55
|
+
case "end":
|
|
56
|
+
return _context2.stop();
|
|
57
|
+
}
|
|
58
|
+
}, _callee2);
|
|
59
|
+
}));
|
|
60
|
+
return _getMetaDataSimulation.apply(this, arguments);
|
|
61
|
+
}
|
|
62
|
+
function singleListAppListData(_x3) {
|
|
63
|
+
return _singleListAppListData.apply(this, arguments);
|
|
64
|
+
}
|
|
65
|
+
function _singleListAppListData() {
|
|
66
|
+
_singleListAppListData = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(params) {
|
|
67
|
+
return regenerator.wrap(function _callee3$(_context3) {
|
|
68
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
69
|
+
case 0:
|
|
70
|
+
return _context3.abrupt("return", request({
|
|
71
|
+
api: runtimeSettings.getAppListDataPath(),
|
|
72
|
+
params: params
|
|
73
|
+
}));
|
|
74
|
+
case 1:
|
|
75
|
+
case "end":
|
|
76
|
+
return _context3.stop();
|
|
77
|
+
}
|
|
78
|
+
}, _callee3);
|
|
79
|
+
}));
|
|
80
|
+
return _singleListAppListData.apply(this, arguments);
|
|
81
|
+
}
|
|
82
|
+
function singleListAppListDataSimulation(_x4) {
|
|
83
|
+
return _singleListAppListDataSimulation.apply(this, arguments);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* 占位函数
|
|
88
|
+
*
|
|
89
|
+
* @export
|
|
90
|
+
* @returns
|
|
91
|
+
*/
|
|
92
|
+
function _singleListAppListDataSimulation() {
|
|
93
|
+
_singleListAppListDataSimulation = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(params) {
|
|
94
|
+
return regenerator.wrap(function _callee4$(_context4) {
|
|
95
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
96
|
+
case 0:
|
|
97
|
+
logDebug("singleListAppList use simulation mode, if need set it from api, please config getAppListDataPath.");
|
|
98
|
+
return _context4.abrupt("return", request({
|
|
99
|
+
api: "/schedulingControl/singleListAppListDataSimulation",
|
|
100
|
+
params: params,
|
|
101
|
+
useVirtualRequest: true,
|
|
102
|
+
virtualNeedAuthorize: false,
|
|
103
|
+
virtualSuccessResponse: {
|
|
104
|
+
data: {},
|
|
105
|
+
list: [],
|
|
106
|
+
extra: {}
|
|
107
|
+
}
|
|
108
|
+
}));
|
|
109
|
+
case 2:
|
|
110
|
+
case "end":
|
|
111
|
+
return _context4.stop();
|
|
112
|
+
}
|
|
113
|
+
}, _callee4);
|
|
114
|
+
}));
|
|
115
|
+
return _singleListAppListDataSimulation.apply(this, arguments);
|
|
116
|
+
}
|
|
117
|
+
function empty() {
|
|
118
|
+
return _empty.apply(this, arguments);
|
|
119
|
+
}
|
|
120
|
+
function _empty() {
|
|
121
|
+
_empty = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee5() {
|
|
122
|
+
return regenerator.wrap(function _callee5$(_context5) {
|
|
123
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
124
|
+
case 0:
|
|
125
|
+
return _context5.abrupt("return", {});
|
|
126
|
+
case 1:
|
|
127
|
+
case "end":
|
|
128
|
+
return _context5.stop();
|
|
129
|
+
}
|
|
130
|
+
}, _callee5);
|
|
131
|
+
}));
|
|
132
|
+
return _empty.apply(this, arguments);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export { empty, getMetaDataData, getMetaDataSimulation, singleListAppListData, singleListAppListDataSimulation };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { _ as _unsupportedIterableToArray } from './unsupportedIterableToArray.js';
|
|
2
|
+
|
|
3
|
+
function _arrayWithHoles(arr) {
|
|
4
|
+
if (Array.isArray(arr)) return arr;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _iterableToArrayLimit(arr, i) {
|
|
8
|
+
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
|
|
9
|
+
if (null != _i) {
|
|
10
|
+
var _s,
|
|
11
|
+
_e,
|
|
12
|
+
_x,
|
|
13
|
+
_r,
|
|
14
|
+
_arr = [],
|
|
15
|
+
_n = !0,
|
|
16
|
+
_d = !1;
|
|
17
|
+
try {
|
|
18
|
+
if (_x = (_i = _i.call(arr)).next, 0 === i) {
|
|
19
|
+
if (Object(_i) !== _i) return;
|
|
20
|
+
_n = !1;
|
|
21
|
+
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
|
|
22
|
+
} catch (err) {
|
|
23
|
+
_d = !0, _e = err;
|
|
24
|
+
} finally {
|
|
25
|
+
try {
|
|
26
|
+
if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
|
|
27
|
+
} finally {
|
|
28
|
+
if (_d) throw _e;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return _arr;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function _nonIterableRest() {
|
|
36
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function _slicedToArray(arr, i) {
|
|
40
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { _slicedToArray as _ };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { a as _arrayLikeToArray, _ as _unsupportedIterableToArray } from './unsupportedIterableToArray.js';
|
|
2
|
+
|
|
3
|
+
function _arrayWithoutHoles(arr) {
|
|
4
|
+
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _iterableToArray(iter) {
|
|
8
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function _nonIterableSpread() {
|
|
12
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function _toConsumableArray(arr) {
|
|
16
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { _toConsumableArray as _ };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { _ as _typeof } from './typeof.js';
|
|
2
|
+
|
|
3
|
+
function _toPrimitive(input, hint) {
|
|
4
|
+
if (_typeof(input) !== "object" || input === null) return input;
|
|
5
|
+
var prim = input[Symbol.toPrimitive];
|
|
6
|
+
if (prim !== undefined) {
|
|
7
|
+
var res = prim.call(input, hint || "default");
|
|
8
|
+
if (_typeof(res) !== "object") return res;
|
|
9
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
10
|
+
}
|
|
11
|
+
return (hint === "string" ? String : Number)(input);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function _toPropertyKey(arg) {
|
|
15
|
+
var key = _toPrimitive(arg, "string");
|
|
16
|
+
return _typeof(key) === "symbol" ? key : String(key);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { _toPropertyKey as _ };
|
package/es/typeof.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
function _typeof(obj) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
5
|
+
return typeof obj;
|
|
6
|
+
} : function (obj) {
|
|
7
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
8
|
+
}, _typeof(obj);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { _typeof as _ };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
function _arrayLikeToArray(arr, len) {
|
|
2
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
4
|
+
return arr2;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
8
|
+
if (!o) return;
|
|
9
|
+
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
10
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
11
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
12
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
13
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export { _unsupportedIterableToArray as _, _arrayLikeToArray as a };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from '../index3.js';
|
|
2
|
+
import { _ as _toConsumableArray } from '../toConsumableArray.js';
|
|
3
|
+
import { apiRequest } from 'antd-management-fast-common/es/utils/actionAssist';
|
|
4
|
+
import { getDispatch } from 'antd-management-fast-common/es/utils/dva';
|
|
5
|
+
import { runtimeSettings } from 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
6
|
+
import { logExecute, logDebug, isFunction } from 'antd-management-fast-common/es/utils/tools';
|
|
7
|
+
import { getAppListDataCache, setAppListDataCache } from './storageAssist.js';
|
|
8
|
+
import '../typeof.js';
|
|
9
|
+
import '../unsupportedIterableToArray.js';
|
|
10
|
+
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
11
|
+
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
12
|
+
|
|
13
|
+
function loadAppListData(_ref) {
|
|
14
|
+
var _ref$successCallback = _ref.successCallback,
|
|
15
|
+
_successCallback = _ref$successCallback === void 0 ? null : _ref$successCallback;
|
|
16
|
+
logExecute('loadAppListData');
|
|
17
|
+
var appListDataCatch = getAppListDataCache();
|
|
18
|
+
if ((appListDataCatch || null) != null) {
|
|
19
|
+
logDebug('app list data first load success, ignore load');
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
var dispatch = getDispatch();
|
|
23
|
+
var appListDataPath = runtimeSettings.getAppListDataPath();
|
|
24
|
+
var api = checkStringIsNullOrWhiteSpace(appListDataPath) ? 'schedulingControl/singleListAppListSimulation' : 'schedulingControl/singleListAppList';
|
|
25
|
+
apiRequest({
|
|
26
|
+
api: api,
|
|
27
|
+
params: {},
|
|
28
|
+
dispatch: dispatch,
|
|
29
|
+
successCallback: function successCallback(_ref2) {
|
|
30
|
+
var remoteListData = _ref2.remoteListData;
|
|
31
|
+
var listData = [].concat(_toConsumableArray(runtimeSettings.getAppListData() || {}), _toConsumableArray(remoteListData));
|
|
32
|
+
setAppListDataCache(listData);
|
|
33
|
+
if (isFunction(_successCallback)) {
|
|
34
|
+
_successCallback();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function getAppListData() {
|
|
40
|
+
logExecute('getAppListData');
|
|
41
|
+
var appListDataCatch = getAppListDataCache();
|
|
42
|
+
return appListDataCatch;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* 占位函数
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
* @returns
|
|
50
|
+
*/
|
|
51
|
+
function empty() {
|
|
52
|
+
return _empty.apply(this, arguments);
|
|
53
|
+
}
|
|
54
|
+
function _empty() {
|
|
55
|
+
_empty = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
56
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
57
|
+
while (1) switch (_context.prev = _context.next) {
|
|
58
|
+
case 0:
|
|
59
|
+
return _context.abrupt("return", {});
|
|
60
|
+
case 1:
|
|
61
|
+
case "end":
|
|
62
|
+
return _context.stop();
|
|
63
|
+
}
|
|
64
|
+
}, _callee);
|
|
65
|
+
}));
|
|
66
|
+
return _empty.apply(this, arguments);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { empty, getAppListData, loadAppListData };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from '../index3.js';
|
|
2
|
+
import '../typeof.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* 占位函数
|
|
6
|
+
*
|
|
7
|
+
* @export
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
function empty() {
|
|
11
|
+
return _empty.apply(this, arguments);
|
|
12
|
+
}
|
|
13
|
+
function _empty() {
|
|
14
|
+
_empty = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
15
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
16
|
+
while (1) switch (_context.prev = _context.next) {
|
|
17
|
+
case 0:
|
|
18
|
+
return _context.abrupt("return", {});
|
|
19
|
+
case 1:
|
|
20
|
+
case "end":
|
|
21
|
+
return _context.stop();
|
|
22
|
+
}
|
|
23
|
+
}, _callee);
|
|
24
|
+
}));
|
|
25
|
+
return _empty.apply(this, arguments);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { empty };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 获取 applicationListData 缓存
|
|
3
|
+
*
|
|
4
|
+
* @export
|
|
5
|
+
* @param {*} fn
|
|
6
|
+
* @returns
|
|
7
|
+
*/
|
|
8
|
+
export function getApplicationListDataCache(): any;
|
|
9
|
+
/**
|
|
10
|
+
* 设置 applicationListData 缓存
|
|
11
|
+
*
|
|
12
|
+
* @export
|
|
13
|
+
* @param {o} metaData数据
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
export function setApplicationListDataCache(o: any): void;
|
|
17
|
+
/**
|
|
18
|
+
* 移除信息
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @param {*} fn
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
24
|
+
export function removeApplicationListDataCache(): void;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { getAppInitConfigData } from 'antd-management-fast-common/es/utils/core';
|
|
2
|
+
import { getModelNameList } from 'antd-management-fast-common/es/utils/dva';
|
|
3
|
+
import { logConfig, showInfoMessage, logExecute, recordInfo } from 'antd-management-fast-common/es/utils/tools';
|
|
4
|
+
import { loadAppListData } from './appListDataAssist.js';
|
|
5
|
+
import { loadMetaData } from './metaDataAssist.js';
|
|
6
|
+
import { removeMetaDataCache, removeAppListDataCache } from './storageAssist.js';
|
|
7
|
+
import '../index3.js';
|
|
8
|
+
import '../typeof.js';
|
|
9
|
+
import '../toConsumableArray.js';
|
|
10
|
+
import '../unsupportedIterableToArray.js';
|
|
11
|
+
import 'antd-management-fast-common/es/utils/actionAssist';
|
|
12
|
+
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
13
|
+
import '../objectSpread2.js';
|
|
14
|
+
import '../toPropertyKey.js';
|
|
15
|
+
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
16
|
+
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
17
|
+
|
|
18
|
+
var applicationInitComplete = false;
|
|
19
|
+
var showModelNameList = false;
|
|
20
|
+
var metaDataFirstLoadSuccess = false;
|
|
21
|
+
var appListDataFirstLoadSuccess = false;
|
|
22
|
+
function applicationInit() {
|
|
23
|
+
if (applicationInitComplete) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
logConfig(getAppInitConfigData());
|
|
27
|
+
requestAnimationFrame(function () {
|
|
28
|
+
var text = '初始数据正在努力加载中,需要一点点时间哦!';
|
|
29
|
+
showInfoMessage({
|
|
30
|
+
message: text,
|
|
31
|
+
duration: 0.8
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
applicationInitComplete = true;
|
|
35
|
+
logExecute('applicationInit');
|
|
36
|
+
if (!showModelNameList) {
|
|
37
|
+
recordInfo("current modelNameList: ".concat(getModelNameList().join()));
|
|
38
|
+
showModelNameList = true;
|
|
39
|
+
}
|
|
40
|
+
if (!metaDataFirstLoadSuccess) {
|
|
41
|
+
removeMetaDataCache();
|
|
42
|
+
loadMetaData({
|
|
43
|
+
successCallback: function successCallback() {
|
|
44
|
+
metaDataFirstLoadSuccess = true;
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
if (!appListDataFirstLoadSuccess) {
|
|
49
|
+
removeAppListDataCache();
|
|
50
|
+
loadAppListData({
|
|
51
|
+
successCallback: function successCallback() {
|
|
52
|
+
appListDataFirstLoadSuccess = true;
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export { applicationInit };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function configEnvironment(): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./applicationListDataAssist";
|
|
2
|
+
export * from "./applicationListDataCacheAssist";
|
|
3
|
+
export * from "./bootstrap";
|
|
4
|
+
export * from "./configAssist";
|
|
5
|
+
export * from "./currentOperatorAssist";
|
|
6
|
+
export * from "./layoutSettingAssist";
|
|
7
|
+
export * from "./metaDataAssist";
|
|
8
|
+
export * from "./schedulingControlAssist";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from '../index3.js';
|
|
2
|
+
import { _ as _objectSpread2 } from '../objectSpread2.js';
|
|
3
|
+
import { getDispatch, getModelState } from 'antd-management-fast-common/es/utils/dva';
|
|
4
|
+
import { layoutSettings } from 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
5
|
+
import { logExecute, logDebug } from 'antd-management-fast-common/es/utils/tools';
|
|
6
|
+
import '../typeof.js';
|
|
7
|
+
import '../toPropertyKey.js';
|
|
8
|
+
|
|
9
|
+
var configLayoutSettingComplete = false;
|
|
10
|
+
function configLayoutSetting() {
|
|
11
|
+
logExecute('configLayoutSetting');
|
|
12
|
+
var dispatch = getDispatch();
|
|
13
|
+
logDebug({
|
|
14
|
+
layoutSettings: layoutSettings
|
|
15
|
+
});
|
|
16
|
+
dispatch({
|
|
17
|
+
type: 'schedulingControl/configLayoutSetting',
|
|
18
|
+
payload: layoutSettings,
|
|
19
|
+
alias: 'setting'
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function getLayoutSetting() {
|
|
23
|
+
if (!configLayoutSettingComplete) {
|
|
24
|
+
configLayoutSetting();
|
|
25
|
+
configLayoutSettingComplete = true;
|
|
26
|
+
}
|
|
27
|
+
logExecute('getLayoutSetting');
|
|
28
|
+
var state = getModelState('schedulingControl');
|
|
29
|
+
var _setting$state = _objectSpread2(_objectSpread2({}, {
|
|
30
|
+
setting: layoutSettings
|
|
31
|
+
}), state),
|
|
32
|
+
setting = _setting$state.setting;
|
|
33
|
+
return setting || {};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* 占位函数
|
|
38
|
+
*
|
|
39
|
+
* @export
|
|
40
|
+
* @returns
|
|
41
|
+
*/
|
|
42
|
+
function empty() {
|
|
43
|
+
return _empty.apply(this, arguments);
|
|
44
|
+
}
|
|
45
|
+
function _empty() {
|
|
46
|
+
_empty = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
47
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
48
|
+
while (1) switch (_context.prev = _context.next) {
|
|
49
|
+
case 0:
|
|
50
|
+
return _context.abrupt("return", {});
|
|
51
|
+
case 1:
|
|
52
|
+
case "end":
|
|
53
|
+
return _context.stop();
|
|
54
|
+
}
|
|
55
|
+
}, _callee);
|
|
56
|
+
}));
|
|
57
|
+
return _empty.apply(this, arguments);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { configLayoutSetting, empty, getLayoutSetting };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { _ as _asyncToGenerator, r as regenerator } from '../index3.js';
|
|
2
|
+
import { _ as _objectSpread2 } from '../objectSpread2.js';
|
|
3
|
+
import { apiRequest } from 'antd-management-fast-common/es/utils/actionAssist';
|
|
4
|
+
import { getDispatch } from 'antd-management-fast-common/es/utils/dva';
|
|
5
|
+
import { runtimeSettings } from 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
6
|
+
import { logExecute, logDebug, isFunction } from 'antd-management-fast-common/es/utils/tools';
|
|
7
|
+
import { getMetaDataCache, setMetaDataCache } from './storageAssist.js';
|
|
8
|
+
import '../typeof.js';
|
|
9
|
+
import '../toPropertyKey.js';
|
|
10
|
+
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
11
|
+
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
12
|
+
|
|
13
|
+
function loadMetaData(_ref) {
|
|
14
|
+
var _ref$successCallback = _ref.successCallback,
|
|
15
|
+
_successCallback = _ref$successCallback === void 0 ? null : _ref$successCallback;
|
|
16
|
+
logExecute('loadMetaData');
|
|
17
|
+
var metaDataCatch = getMetaDataCache();
|
|
18
|
+
if ((metaDataCatch || null) != null) {
|
|
19
|
+
logDebug('meta data first load success, ignore load');
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
var dispatch = getDispatch();
|
|
23
|
+
var metaDataPath = runtimeSettings.getMetaDataPath();
|
|
24
|
+
var api = checkStringIsNullOrWhiteSpace(metaDataPath) ? 'schedulingControl/getMetaDataSimulation' : 'schedulingControl/getMetaData';
|
|
25
|
+
apiRequest({
|
|
26
|
+
api: api,
|
|
27
|
+
params: {},
|
|
28
|
+
dispatch: dispatch,
|
|
29
|
+
successCallback: function successCallback(_ref2) {
|
|
30
|
+
var remoteData = _ref2.remoteData;
|
|
31
|
+
var data = _objectSpread2(_objectSpread2({}, runtimeSettings.getMetaData() || {}), remoteData);
|
|
32
|
+
setMetaDataCache(data);
|
|
33
|
+
if (isFunction(_successCallback)) {
|
|
34
|
+
_successCallback();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function getMetaData() {
|
|
40
|
+
logExecute('getMetaData');
|
|
41
|
+
var metaDataCatch = getMetaDataCache();
|
|
42
|
+
return metaDataCatch;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* 占位函数
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
* @returns
|
|
50
|
+
*/
|
|
51
|
+
function empty() {
|
|
52
|
+
return _empty.apply(this, arguments);
|
|
53
|
+
}
|
|
54
|
+
function _empty() {
|
|
55
|
+
_empty = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
56
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
57
|
+
while (1) switch (_context.prev = _context.next) {
|
|
58
|
+
case 0:
|
|
59
|
+
return _context.abrupt("return", {});
|
|
60
|
+
case 1:
|
|
61
|
+
case "end":
|
|
62
|
+
return _context.stop();
|
|
63
|
+
}
|
|
64
|
+
}, _callee);
|
|
65
|
+
}));
|
|
66
|
+
return _empty.apply(this, arguments);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { empty, getMetaData, loadMetaData };
|