vap1 0.0.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/basetype.d.ts +62 -0
- package/basetype.js +2 -0
- package/components/Box/Box.d.ts +118 -0
- package/components/Box/Box.js +150 -0
- package/components/Box/SelectBar.d.ts +90 -0
- package/components/Box/SelectBar.js +93 -0
- package/components/Box/_register.d.ts +49 -0
- package/components/Box/_register.js +29 -0
- package/components/Box/index.d.ts +9 -0
- package/components/Box/index.js +6 -0
- package/components/Lists/SList.d.ts +58 -0
- package/components/Lists/SList.js +167 -0
- package/components/SearchBar/ActionButtons.d.ts +49 -0
- package/components/SearchBar/ActionButtons.js +96 -0
- package/components/SearchBar/ByField.d.ts +3 -0
- package/components/SearchBar/ByField.js +193 -0
- package/components/SearchBar/ByKeyword.d.ts +3 -0
- package/components/SearchBar/ByKeyword.js +34 -0
- package/components/SearchBar/SearchField.d.ts +15 -0
- package/components/SearchBar/SearchField.js +25 -0
- package/components/SearchBar/SearchTags.d.ts +2 -0
- package/components/SearchBar/SearchTags.js +18 -0
- package/components/SearchBar/_FieldType.d.ts +8 -0
- package/components/SearchBar/_FieldType.js +45 -0
- package/components/SearchBar/_register.d.ts +65 -0
- package/components/SearchBar/_register.js +29 -0
- package/components/SearchBar/index.d.ts +134 -0
- package/components/SearchBar/index.js +33 -0
- package/components/Tables/ApiTable.d.ts +18 -0
- package/components/Tables/ApiTable.js +48 -0
- package/components/Tables/ApiTableModal.d.ts +22 -0
- package/components/Tables/ApiTableModal.js +73 -0
- package/components/Tables/Components/ActionBar.d.ts +56 -0
- package/components/Tables/Components/ActionBar.js +100 -0
- package/components/Tables/Components/Actions.d.ts +47 -0
- package/components/Tables/Components/Actions.js +91 -0
- package/components/Tables/Components/Summary.d.ts +11 -0
- package/components/Tables/Components/Summary.js +11 -0
- package/components/Tables/Components/index.d.ts +17 -0
- package/components/Tables/Components/index.js +19 -0
- package/components/Tables/STable.d.ts +5 -0
- package/components/Tables/STable.js +37 -0
- package/components/Tables/TopTable.d.ts +24 -0
- package/components/Tables/TopTable.js +157 -0
- package/components/Tables/TopTableModal.d.ts +5 -0
- package/components/Tables/TopTableModal.js +20 -0
- package/components/Tables/Util.d.ts +3 -0
- package/components/Tables/Util.js +41 -0
- package/components/Tables/VTable.d.ts +11 -0
- package/components/Tables/VTable.js +237 -0
- package/components/Tables/index.d.ts +81 -0
- package/components/Tables/index.js +20 -0
- package/components/TreeSelect/BaseTreeSelect.d.ts +33 -0
- package/components/TreeSelect/BaseTreeSelect.js +190 -0
- package/components/TreeSelect/DTreeSelect.d.ts +24 -0
- package/components/TreeSelect/DTreeSelect.js +66 -0
- package/components/TreeSelect/FTreeSelect.d.ts +11 -0
- package/components/TreeSelect/FTreeSelect.js +39 -0
- package/components/TreeSelect/STreeSelect.d.ts +14 -0
- package/components/TreeSelect/STreeSelect.js +52 -0
- package/components/TreeSelect/index.d.ts +94 -0
- package/components/TreeSelect/index.js +9 -0
- package/components/Trees/ActionTree.d.ts +54 -0
- package/components/Trees/ActionTree.js +657 -0
- package/components/Trees/BaseTree.d.ts +31 -0
- package/components/Trees/BaseTree.js +185 -0
- package/components/Trees/DTree.d.ts +48 -0
- package/components/Trees/DTree.js +142 -0
- package/components/Trees/FTree.d.ts +33 -0
- package/components/Trees/FTree.js +79 -0
- package/components/Trees/STree.d.ts +21 -0
- package/components/Trees/STree.js +92 -0
- package/components/Trees/index.d.ts +134 -0
- package/components/Trees/index.js +9 -0
- package/components/UForm/FormWrapper.d.ts +22 -0
- package/components/UForm/FormWrapper.js +270 -0
- package/components/UForm/UDescriptions.d.ts +5 -0
- package/components/UForm/UDescriptions.js +134 -0
- package/components/UForm/UForm.d.ts +33 -0
- package/components/UForm/UForm.js +484 -0
- package/components/UForm/UFormModal.d.ts +3 -0
- package/components/UForm/UFormModal.js +149 -0
- package/components/UForm/UInfo.d.ts +10 -0
- package/components/UForm/UInfo.js +75 -0
- package/components/UForm/UInfoModal.d.ts +3 -0
- package/components/UForm/UInfoModal.js +50 -0
- package/components/UForm/UModal.d.ts +3 -0
- package/components/UForm/UModal.js +24 -0
- package/components/UForm/_FieldType.d.ts +8 -0
- package/components/UForm/_FieldType.js +100 -0
- package/components/UForm/_FormUtils.d.ts +5 -0
- package/components/UForm/_FormUtils.js +75 -0
- package/components/UForm/_input.d.ts +59 -0
- package/components/UForm/_input.js +147 -0
- package/components/UForm/_register.d.ts +87 -0
- package/components/UForm/_register.js +44 -0
- package/components/UForm/index.d.ts +387 -0
- package/components/UForm/index.js +15 -0
- package/components/Upload/UploadFile.d.ts +3 -0
- package/components/Upload/UploadFile.js +40 -0
- package/components/Upload/UploadImage.d.ts +24 -0
- package/components/Upload/UploadImage.js +93 -0
- package/components/Upload/UploadModal.d.ts +50 -0
- package/components/Upload/UploadModal.js +140 -0
- package/components/Upload/index.d.ts +77 -0
- package/components/Upload/index.js +9 -0
- package/components/Upload/useUpload.d.ts +15 -0
- package/components/Upload/useUpload.js +93 -0
- package/components/_RegisterUtil.d.ts +1 -0
- package/components/_RegisterUtil.js +25 -0
- package/components/_adapt/Alert.d.ts +11 -0
- package/components/_adapt/Alert.js +43 -0
- package/components/_adapt/Button.d.ts +20 -0
- package/components/_adapt/Button.js +26 -0
- package/components/_adapt/Col.d.ts +53 -0
- package/components/_adapt/Col.js +90 -0
- package/components/_adapt/Collapse.d.ts +30 -0
- package/components/_adapt/Collapse.js +33 -0
- package/components/_adapt/Drawer.d.ts +12 -0
- package/components/_adapt/Drawer.js +11 -0
- package/components/_adapt/Dropdown.d.ts +15 -0
- package/components/_adapt/Dropdown.js +38 -0
- package/components/_adapt/Icon.d.ts +14 -0
- package/components/_adapt/Icon.js +34 -0
- package/components/_adapt/Image.d.ts +4 -0
- package/components/_adapt/Image.js +11 -0
- package/components/_adapt/Menu.d.ts +32 -0
- package/components/_adapt/Menu.js +25 -0
- package/components/_adapt/Modal.d.ts +23 -0
- package/components/_adapt/Modal.js +69 -0
- package/components/_adapt/Popconfirm.d.ts +5 -0
- package/components/_adapt/Popconfirm.js +34 -0
- package/components/_adapt/Popover.d.ts +5 -0
- package/components/_adapt/Popover.js +34 -0
- package/components/_adapt/Progress.d.ts +14 -0
- package/components/_adapt/Progress.js +56 -0
- package/components/_adapt/Row.d.ts +10 -0
- package/components/_adapt/Row.js +23 -0
- package/components/_adapt/Select.d.ts +14 -0
- package/components/_adapt/Select.js +47 -0
- package/components/_adapt/Tag.d.ts +7 -0
- package/components/_adapt/Tag.js +12 -0
- package/components/_adapt/Tooltip.d.ts +5 -0
- package/components/_adapt/Tooltip.js +11 -0
- package/components/_adapt/todo/ColorPicker.d.ts +3 -0
- package/components/_adapt/todo/ColorPicker.js +42 -0
- package/components/_adapt/todo/FloatButton.d.ts +2 -0
- package/components/_adapt/todo/FloatButton.js +6 -0
- package/components/_adapt/todo/Image.d.ts +2 -0
- package/components/_adapt/todo/Image.js +6 -0
- package/components/_adapt/todo/Segmented.d.ts +2 -0
- package/components/_adapt/todo/Segmented.js +6 -0
- package/components/_adapt/todo/Space.d.ts +2 -0
- package/components/_adapt/todo/Space.js +6 -0
- package/components/_adapt/utils.d.ts +12 -0
- package/components/_adapt/utils.js +93 -0
- package/components/_common/AutoComplete.d.ts +32 -0
- package/components/_common/AutoComplete.js +87 -0
- package/components/_common/CountUp.d.ts +38 -0
- package/components/_common/CountUp.js +60 -0
- package/components/_common/DateRange.d.ts +52 -0
- package/components/_common/DateRange.js +108 -0
- package/components/_common/HighLight.d.ts +15 -0
- package/components/_common/HighLight.js +37 -0
- package/components/_common/I18N.d.ts +7 -0
- package/components/_common/I18N.js +6 -0
- package/components/_common/Loading.d.ts +9 -0
- package/components/_common/Loading.js +52 -0
- package/components/_common/MonthRange.d.ts +46 -0
- package/components/_common/MonthRange.js +130 -0
- package/components/_common/PromiseLabel.d.ts +11 -0
- package/components/_common/PromiseLabel.js +34 -0
- package/components/_common/Role.d.ts +5 -0
- package/components/_common/Role.js +11 -0
- package/components/_common/Upagination.d.ts +21 -0
- package/components/_common/Upagination.js +106 -0
- package/components/_setup/Const.d.ts +205 -0
- package/components/_setup/Const.js +112 -0
- package/components/_setup/I18N/enUS.d.ts +1 -0
- package/components/_setup/I18N/enUS.js +106 -0
- package/components/_setup/I18N/index.d.ts +3 -0
- package/components/_setup/I18N/index.js +5 -0
- package/components/_setup/I18N/zhCN.d.ts +3 -0
- package/components/_setup/I18N/zhCN.js +109 -0
- package/components/_setup/I18N/zhHK.d.ts +1 -0
- package/components/_setup/I18N/zhHK.js +107 -0
- package/components/_setup/ICON/IconTypes.d.ts +1 -0
- package/components/_setup/ICON/IconTypes.js +10 -0
- package/components/_setup/SearchField/SearchFieldAdvance.d.ts +1 -0
- package/components/_setup/SearchField/SearchFieldAdvance.js +57 -0
- package/components/_setup/SearchField/SearchFieldDate.d.ts +1 -0
- package/components/_setup/SearchField/SearchFieldDate.js +186 -0
- package/components/_setup/SearchField/SearchFieldInput.d.ts +3 -0
- package/components/_setup/SearchField/SearchFieldInput.js +20 -0
- package/components/_setup/SearchField/SearchFieldSelect.d.ts +1 -0
- package/components/_setup/SearchField/SearchFieldSelect.js +106 -0
- package/components/_setup/SearchField/SearchFieldTree.d.ts +1 -0
- package/components/_setup/SearchField/SearchFieldTree.js +191 -0
- package/components/_setup/SelectBar/SelectList.d.ts +1 -0
- package/components/_setup/SelectBar/SelectList.js +21 -0
- package/components/_setup/SelectBar/SelectTree.d.ts +1 -0
- package/components/_setup/SelectBar/SelectTree.js +11 -0
- package/components/_setup/UForm/UFormAdvanceInput.d.ts +1 -0
- package/components/_setup/UForm/UFormAdvanceInput.js +300 -0
- package/components/_setup/UForm/UFormAdvanceSelect.d.ts +0 -0
- package/components/_setup/UForm/UFormAdvanceSelect.js +26 -0
- package/components/_setup/UForm/UFormCrontab.d.ts +1 -0
- package/components/_setup/UForm/UFormCrontab.js +199 -0
- package/components/_setup/UForm/UFormDate.d.ts +1 -0
- package/components/_setup/UForm/UFormDate.js +313 -0
- package/components/_setup/UForm/UFormInput.d.ts +1 -0
- package/components/_setup/UForm/UFormInput.js +159 -0
- package/components/_setup/UForm/UFormJSON.d.ts +1 -0
- package/components/_setup/UForm/UFormJSON.js +219 -0
- package/components/_setup/UForm/UFormOrg.d.ts +1 -0
- package/components/_setup/UForm/UFormOrg.js +121 -0
- package/components/_setup/UForm/UFormRole.d.ts +1 -0
- package/components/_setup/UForm/UFormRole.js +47 -0
- package/components/_setup/UForm/UFormSearch.d.ts +0 -0
- package/components/_setup/UForm/UFormSearch.js +35 -0
- package/components/_setup/UForm/UFormSelect.d.ts +1 -0
- package/components/_setup/UForm/UFormSelect.js +179 -0
- package/components/_setup/UForm/UFormTree.d.ts +0 -0
- package/components/_setup/UForm/UFormTree.js +134 -0
- package/components/_setup/UForm/UFormUpload.d.ts +1 -0
- package/components/_setup/UForm/UFormUpload.js +173 -0
- package/components/_setup/UForm/_utils.d.ts +11 -0
- package/components/_setup/UForm/_utils.js +41 -0
- package/components/_setup/index.d.ts +21 -0
- package/components/_setup/index.js +25 -0
- package/components/index.d.ts +7 -0
- package/components/index.js +16 -0
- package/deps/JsonView.d.ts +6 -0
- package/deps/JsonView.js +57 -0
- package/deps/SpringBoot.d.ts +4 -0
- package/deps/SpringBoot.js +18 -0
- package/deps/SpringCloud.d.ts +14 -0
- package/deps/SpringCloud.js +29 -0
- package/deps/_editor/advance/_Audio.d.ts +0 -0
- package/deps/_editor/advance/_Audio.js +1 -0
- package/deps/_editor/advance/_Image.d.ts +2 -0
- package/deps/_editor/advance/_Image.js +89 -0
- package/deps/_editor/advance/_Table.d.ts +0 -0
- package/deps/_editor/advance/_Table.js +1 -0
- package/deps/_editor/advance/_Video.d.ts +0 -0
- package/deps/_editor/advance/_Video.js +1 -0
- package/deps/_editor/base/Element.d.ts +5 -0
- package/deps/_editor/base/Element.js +43 -0
- package/deps/_editor/base/Leaf.d.ts +3 -0
- package/deps/_editor/base/Leaf.js +36 -0
- package/deps/_editor/base/Support.d.ts +2 -0
- package/deps/_editor/base/Support.js +78 -0
- package/deps/_editor/base/types.d.ts +156 -0
- package/deps/_editor/base/types.js +10 -0
- package/deps/_editor/i18n.d.ts +1 -0
- package/deps/_editor/i18n.js +31 -0
- package/deps/_editor/tools/Button.d.ts +6 -0
- package/deps/_editor/tools/Button.js +86 -0
- package/deps/_editor/tools/ToolBar.d.ts +8 -0
- package/deps/_editor/tools/ToolBar.js +10 -0
- package/deps/_editor/tools/_BlockButton.d.ts +4 -0
- package/deps/_editor/tools/_BlockButton.js +77 -0
- package/deps/_editor/tools/_InsertButton.d.ts +6 -0
- package/deps/_editor/tools/_InsertButton.js +65 -0
- package/deps/_editor/tools/_MarkButton.d.ts +6 -0
- package/deps/_editor/tools/_MarkButton.js +45 -0
- package/deps/_editor/tools/_TxtButton.d.ts +7 -0
- package/deps/_editor/tools/_TxtButton.js +187 -0
- package/deps/_editor/utils/ParseHtml.d.ts +0 -0
- package/deps/_editor/utils/ParseHtml.js +220 -0
- package/deps/api-audit.d.ts +1 -0
- package/deps/api-audit.js +6 -0
- package/deps/api-data.d.ts +0 -0
- package/deps/api-data.js +1 -0
- package/deps/apis/useSource.d.ts +0 -0
- package/deps/apis/useSource.js +152 -0
- package/deps/echarts.d.ts +26 -0
- package/deps/echarts.js +71 -0
- package/deps/editor.d.ts +34 -0
- package/deps/editor.js +111 -0
- package/deps/registerEditor.d.ts +1 -0
- package/deps/registerEditor.js +15 -0
- package/hooks/_list.d.ts +87 -0
- package/hooks/_list.js +13 -0
- package/hooks/index.d.ts +14 -0
- package/hooks/index.js +49 -0
- package/hooks/useAjax.d.ts +14 -0
- package/hooks/useAjax.js +43 -0
- package/hooks/useAjaxAction.d.ts +13 -0
- package/hooks/useAjaxAction.js +42 -0
- package/hooks/useAjaxQuery.d.ts +40 -0
- package/hooks/useAjaxQuery.js +81 -0
- package/hooks/useApi.d.ts +69 -0
- package/hooks/useApi.js +352 -0
- package/hooks/useApiGlobal.d.ts +0 -0
- package/hooks/useApiGlobal.js +5 -0
- package/hooks/useApp.d.ts +243 -0
- package/hooks/useApp.js +17 -0
- package/hooks/useArray.d.ts +21 -0
- package/hooks/useArray.js +182 -0
- package/hooks/useCounter.d.ts +0 -0
- package/hooks/useCounter.js +82 -0
- package/hooks/useDefault.d.ts +6 -0
- package/hooks/useDefault.js +16 -0
- package/hooks/useDoLoad.d.ts +17 -0
- package/hooks/useDoLoad.js +44 -0
- package/hooks/useEffectFunction.d.ts +8 -0
- package/hooks/useEffectFunction.js +16 -0
- package/hooks/useEffectOnce.d.ts +5 -0
- package/hooks/useEffectOnce.js +23 -0
- package/hooks/useError.d.ts +5 -0
- package/hooks/useError.js +21 -0
- package/hooks/useFirstMountState.d.ts +6 -0
- package/hooks/useFirstMountState.js +18 -0
- package/hooks/useGenkey.d.ts +2 -0
- package/hooks/useGenkey.js +16 -0
- package/hooks/useGetSet.d.ts +11 -0
- package/hooks/useGetSet.js +27 -0
- package/hooks/useGlobal.d.ts +19 -0
- package/hooks/useGlobal.js +62 -0
- package/hooks/useGlobal_back.d.ts +1 -0
- package/hooks/useGlobal_back.js +11 -0
- package/hooks/useHover.d.ts +8 -0
- package/hooks/useHover.js +49 -0
- package/hooks/useMemoPromise.d.ts +6 -0
- package/hooks/useMemoPromise.js +42 -0
- package/hooks/useModals.d.ts +40 -0
- package/hooks/useModals.js +98 -0
- package/hooks/useMountedState.d.ts +5 -0
- package/hooks/useMountedState.js +20 -0
- package/hooks/useOpenState.d.ts +28 -0
- package/hooks/useOpenState.js +23 -0
- package/hooks/usePromise.d.ts +7 -0
- package/hooks/usePromise.js +22 -0
- package/hooks/useQueue.d.ts +12 -0
- package/hooks/useQueue.js +34 -0
- package/hooks/useSetState.d.ts +9 -0
- package/hooks/useSetState.js +26 -0
- package/hooks/useStateList.d.ts +13 -0
- package/hooks/useStateList.js +59 -0
- package/hooks/useToggle.d.ts +6 -0
- package/hooks/useToggle.js +12 -0
- package/hooks/useUnmountPromise.d.ts +6 -0
- package/hooks/useUnmountPromise.js +36 -0
- package/hooks/useUpdate.d.ts +7 -0
- package/hooks/useUpdate.js +15 -0
- package/hooks/useUpdateEffect.d.ts +6 -0
- package/hooks/useUpdateEffect.js +18 -0
- package/index.d.ts +139 -0
- package/index.js +161 -0
- package/login/Base65.d.ts +8 -0
- package/login/Base65.js +65 -0
- package/login/Password.d.ts +61 -0
- package/login/Password.js +124 -0
- package/login/SM4.d.ts +20 -0
- package/login/SM4.js +193 -0
- package/login/cems/index.d.ts +10 -0
- package/login/cems/index.js +17 -0
- package/login/jit/index.d.ts +32 -0
- package/login/jit/index.js +180 -0
- package/login/jit/pnxclient.d.ts +54 -0
- package/login/jit/pnxclient.js +575 -0
- package/login/sso/index.d.ts +0 -0
- package/login/sso/index.js +0 -0
- package/login/vap/index.d.ts +1 -0
- package/login/vap/index.js +6 -0
- package/login/xrtx/index.d.ts +2 -0
- package/login/xrtx/index.js +33 -0
- package/package.json +1 -0
- package/screen/Comment.d.ts +31 -0
- package/screen/Comment.js +29 -0
- package/screen/EchartContent.d.ts +0 -0
- package/screen/EchartContent.js +63 -0
- package/screen/Page.d.ts +13 -0
- package/screen/Page.js +74 -0
- package/screen/index.d.ts +3 -0
- package/screen/index.js +9 -0
- package/screen/render.d.ts +5 -0
- package/screen/render.js +10 -0
- package/utils/Ajax.d.ts +85 -0
- package/utils/Ajax.js +147 -0
- package/utils/ArrayUtil.d.ts +22 -0
- package/utils/ArrayUtil.js +51 -0
- package/utils/CacheUtil.d.ts +20 -0
- package/utils/CacheUtil.js +86 -0
- package/utils/Const.d.ts +14 -0
- package/utils/Const.js +37 -0
- package/utils/CustomApp.d.ts +242 -0
- package/utils/CustomApp.js +18 -0
- package/utils/EventUtil.d.ts +22 -0
- package/utils/EventUtil.js +63 -0
- package/utils/Format.d.ts +28 -0
- package/utils/Format.js +206 -0
- package/utils/Global.d.ts +276 -0
- package/utils/Global.js +125 -0
- package/utils/Logger.d.ts +5 -0
- package/utils/Logger.js +32 -0
- package/utils/PageUtil.d.ts +24 -0
- package/utils/PageUtil.js +87 -0
- package/utils/Renders/ApiGetRender.d.ts +23 -0
- package/utils/Renders/ApiGetRender.js +192 -0
- package/utils/Renders/ApiPostRender.d.ts +17 -0
- package/utils/Renders/ApiPostRender.js +161 -0
- package/utils/Renders/DateRender.d.ts +8 -0
- package/utils/Renders/DateRender.js +35 -0
- package/utils/Renders/DictRender.d.ts +23 -0
- package/utils/Renders/DictRender.js +258 -0
- package/utils/Renders/FileRender.d.ts +3 -0
- package/utils/Renders/FileRender.js +46 -0
- package/utils/Renders/ListRender.d.ts +23 -0
- package/utils/Renders/ListRender.js +111 -0
- package/utils/Renders/NumberRender.d.ts +19 -0
- package/utils/Renders/NumberRender.js +65 -0
- package/utils/Renders/StatusRender.d.ts +12 -0
- package/utils/Renders/StatusRender.js +68 -0
- package/utils/Renders/StringRender.d.ts +14 -0
- package/utils/Renders/StringRender.js +194 -0
- package/utils/Renders/_define.d.ts +26 -0
- package/utils/Renders/_define.js +64 -0
- package/utils/Renders/index.d.ts +9 -0
- package/utils/Renders/index.js +42 -0
- package/utils/StringUtil.d.ts +124 -0
- package/utils/StringUtil.js +352 -0
- package/utils/TreeUtil.d.ts +42 -0
- package/utils/TreeUtil.js +69 -0
- package/utils/VAP.d.ts +16 -0
- package/utils/VAP.js +78 -0
- package/utils/XHR.d.ts +9 -0
- package/utils/XHR.js +53 -0
- package/utils/_AjaxUtil.d.ts +11 -0
- package/utils/_AjaxUtil.js +45 -0
- package/utils/_Support.d.ts +22 -0
- package/utils/_Support.js +106 -0
- package/utils/i18n.d.ts +60 -0
- package/utils/i18n.js +184 -0
- package/utils/index.d.ts +19 -0
- package/utils/index.js +54 -0
- package/utils/screenful.d.ts +15 -0
- package/utils/screenful.js +64 -0
- package/widget/index.d.ts +39 -0
- package/widget/index.js +21 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.Loading = void 0;
|
|
27
|
+
const react_1 = __importStar(require("react"));
|
|
28
|
+
const antd_1 = require("antd");
|
|
29
|
+
const GetTopHeight = (el) => {
|
|
30
|
+
let rect = el.getBoundingClientRect();
|
|
31
|
+
if (rect.height < 72) {
|
|
32
|
+
return GetTopHeight(el.parentElement);
|
|
33
|
+
}
|
|
34
|
+
return rect.height / 2 - 36;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* 通用 Loading ,用于数据请求中的效果
|
|
38
|
+
*/
|
|
39
|
+
const Loading = props => {
|
|
40
|
+
const ref = (0, react_1.useRef)(null);
|
|
41
|
+
const [style, setStyle] = (0, react_1.useState)({});
|
|
42
|
+
(0, react_1.useEffect)(() => {
|
|
43
|
+
if (ref.current == null)
|
|
44
|
+
return;
|
|
45
|
+
let height = GetTopHeight(ref.current);
|
|
46
|
+
setStyle({ paddingTop: height });
|
|
47
|
+
}, [ref.current]);
|
|
48
|
+
return react_1.default.createElement("div", { className: 'c-loading', ref: ref, style: style },
|
|
49
|
+
react_1.default.createElement(antd_1.Spin, null),
|
|
50
|
+
props.title && react_1.default.createElement("div", { className: 'c-loading-title' }, props.title));
|
|
51
|
+
};
|
|
52
|
+
exports.Loading = Loading;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { Moment as Dayjs } from 'dayjs';
|
|
3
|
+
export type MonthRangeProps = {
|
|
4
|
+
allowClear?: boolean;
|
|
5
|
+
format?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
/**
|
|
8
|
+
* 最小可选日期
|
|
9
|
+
*/
|
|
10
|
+
minDate?: Dayjs;
|
|
11
|
+
/**
|
|
12
|
+
* 最大可选日期
|
|
13
|
+
*/
|
|
14
|
+
maxDate?: Dayjs;
|
|
15
|
+
/**
|
|
16
|
+
* 默认开始时间
|
|
17
|
+
*/
|
|
18
|
+
defaultStart?: string | Dayjs;
|
|
19
|
+
/**
|
|
20
|
+
* 默认结束时间
|
|
21
|
+
*/
|
|
22
|
+
defaultEnd?: string | Dayjs;
|
|
23
|
+
/**
|
|
24
|
+
* 响应事件,自取参数
|
|
25
|
+
* 第一个参数为 string 类型
|
|
26
|
+
* 第二个参数为 dayjs 类型
|
|
27
|
+
*/
|
|
28
|
+
onChange: (txt: [string, string], day: [Dayjs, Dayjs]) => void;
|
|
29
|
+
/**
|
|
30
|
+
* 是否显示日期 仅用于FORMAT
|
|
31
|
+
*/
|
|
32
|
+
showDate?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 是否显示时间 仅用于FORMAT
|
|
35
|
+
*/
|
|
36
|
+
showTime?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* 是否禁用
|
|
39
|
+
*/
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* 宽度
|
|
43
|
+
*/
|
|
44
|
+
width?: number;
|
|
45
|
+
};
|
|
46
|
+
export declare const MonthRange: React.FC<MonthRangeProps>;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.MonthRange = void 0;
|
|
30
|
+
const react_1 = __importStar(require("react"));
|
|
31
|
+
const dayjs_1 = __importDefault(require("dayjs"));
|
|
32
|
+
const lodash_1 = __importDefault(require("lodash"));
|
|
33
|
+
const antd_1 = require("antd");
|
|
34
|
+
const hooks_1 = require("../../hooks");
|
|
35
|
+
const utils_1 = require("../../utils");
|
|
36
|
+
const Const_1 = require("../_setup/Const");
|
|
37
|
+
const MonthRange = (props) => {
|
|
38
|
+
const update = (0, hooks_1.useUpdate)();
|
|
39
|
+
const state = (0, react_1.useRef)({ startOpen: false, endOpen: false });
|
|
40
|
+
(0, react_1.useLayoutEffect)(() => {
|
|
41
|
+
if (lodash_1.default.has(props, 'defaultStart'))
|
|
42
|
+
state.current.start = (0, dayjs_1.default)(props.defaultStart);
|
|
43
|
+
if (lodash_1.default.has(props, 'defaultEnd'))
|
|
44
|
+
state.current.end = (0, dayjs_1.default)(props.defaultEnd);
|
|
45
|
+
if (state.current.start || state.current.end)
|
|
46
|
+
update();
|
|
47
|
+
}, []);
|
|
48
|
+
const disabledStartDate = (startValue) => {
|
|
49
|
+
if (props.minDate) {
|
|
50
|
+
if (startValue > props.minDate) {
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
const endValue = state.current.end;
|
|
55
|
+
if (!startValue || !endValue) {
|
|
56
|
+
if (props.minDate) {
|
|
57
|
+
return startValue.valueOf() > props.minDate.valueOf();
|
|
58
|
+
}
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return startValue.valueOf() > endValue.valueOf();
|
|
62
|
+
};
|
|
63
|
+
const disabledEndDate = (endValue) => {
|
|
64
|
+
if (props.maxDate) {
|
|
65
|
+
if (endValue > props.maxDate) {
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
const startValue = state.current.start;
|
|
70
|
+
if (!startValue) {
|
|
71
|
+
if (props.maxDate) {
|
|
72
|
+
return endValue < props.maxDate;
|
|
73
|
+
}
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return endValue <= startValue;
|
|
77
|
+
};
|
|
78
|
+
const callback = () => {
|
|
79
|
+
// let
|
|
80
|
+
let startFormat = 'YYYY-MM';
|
|
81
|
+
let endFormat = 'YYYY-MM';
|
|
82
|
+
if (props.format) {
|
|
83
|
+
startFormat = props.format;
|
|
84
|
+
endFormat = props.format;
|
|
85
|
+
}
|
|
86
|
+
else if (props.showTime) {
|
|
87
|
+
startFormat = 'YYYY-MM-01 00:00:00';
|
|
88
|
+
endFormat = 'YYYY-MM-DD 23:59:55';
|
|
89
|
+
}
|
|
90
|
+
else if (props.showDate) {
|
|
91
|
+
startFormat = 'YYYY-MM-01';
|
|
92
|
+
endFormat = 'YYYY-MM-DD';
|
|
93
|
+
}
|
|
94
|
+
props.onChange([
|
|
95
|
+
state.current.start ? state.current.start.startOf('month').format(startFormat) : null,
|
|
96
|
+
state.current.end ? state.current.end.endOf('month').format(endFormat) : null,
|
|
97
|
+
], [
|
|
98
|
+
state.current.start ? state.current.start : null,
|
|
99
|
+
state.current.end ? state.current.end : null,
|
|
100
|
+
]);
|
|
101
|
+
};
|
|
102
|
+
const onStartChange = (value) => {
|
|
103
|
+
state.current.start = value;
|
|
104
|
+
callback();
|
|
105
|
+
update();
|
|
106
|
+
};
|
|
107
|
+
const onEndChange = (value) => {
|
|
108
|
+
state.current.end = value;
|
|
109
|
+
callback();
|
|
110
|
+
update();
|
|
111
|
+
};
|
|
112
|
+
const handleStartOpenChange = (open) => {
|
|
113
|
+
state.current.startOpen = open;
|
|
114
|
+
state.current.endOpen = !open;
|
|
115
|
+
update();
|
|
116
|
+
};
|
|
117
|
+
const handleEndOpenChange = (open) => {
|
|
118
|
+
state.current.startOpen = false;
|
|
119
|
+
state.current.endOpen = open;
|
|
120
|
+
update();
|
|
121
|
+
};
|
|
122
|
+
let style = {};
|
|
123
|
+
if (props.width)
|
|
124
|
+
style.width = props.width;
|
|
125
|
+
const FORMAT = 'YYYY-MM';
|
|
126
|
+
return react_1.default.createElement("div", { className: utils_1.StringUtil.className(['c-daterange'], props.className), style: style },
|
|
127
|
+
react_1.default.createElement(antd_1.DatePicker.MonthPicker, { value: state.current.start, allowClear: props.allowClear, disabled: props.disabled, disabledDate: val => disabledStartDate(val), format: FORMAT, placeholder: utils_1.i18n.getText(Const_1.V.DATE_MONTH_START), onChange: onStartChange, onOpenChange: open => handleStartOpenChange(open), open: state.current.startOpen }),
|
|
128
|
+
react_1.default.createElement(antd_1.DatePicker.MonthPicker, { value: state.current.end, allowClear: props.allowClear, disabled: props.disabled, disabledDate: val => disabledEndDate(val), format: FORMAT, placeholder: utils_1.i18n.getText(Const_1.V.DATE_MONTH_END), onChange: (val) => onEndChange(val), open: state.current.endOpen, onOpenChange: handleEndOpenChange }));
|
|
129
|
+
};
|
|
130
|
+
exports.MonthRange = MonthRange;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Key } from '../../basetype';
|
|
3
|
+
export type PromiseLabelProps = {
|
|
4
|
+
value: Key;
|
|
5
|
+
fetcher: (Key: any) => Promise<React.ReactNode>;
|
|
6
|
+
showKey?: boolean;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* 根据一个值,动态获取字段后,显示一个名称
|
|
10
|
+
*/
|
|
11
|
+
export declare const PromiseLabel: React.FC<PromiseLabelProps>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PromiseLabel = void 0;
|
|
13
|
+
const react_1 = require("react");
|
|
14
|
+
const hooks_1 = require("../../hooks");
|
|
15
|
+
const utils_1 = require("../../utils");
|
|
16
|
+
/**
|
|
17
|
+
* 根据一个值,动态获取字段后,显示一个名称
|
|
18
|
+
*/
|
|
19
|
+
const PromiseLabel = props => {
|
|
20
|
+
const [name, setName] = (0, react_1.useState)(utils_1.Const.NONE);
|
|
21
|
+
(0, hooks_1.useEffectFunction)(() => __awaiter(void 0, void 0, void 0, function* () {
|
|
22
|
+
try {
|
|
23
|
+
const resp = yield props.fetcher(props.value);
|
|
24
|
+
setName(resp);
|
|
25
|
+
}
|
|
26
|
+
catch (e) {
|
|
27
|
+
if (props.showKey) {
|
|
28
|
+
setName(props.value + '');
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}));
|
|
32
|
+
return name;
|
|
33
|
+
};
|
|
34
|
+
exports.PromiseLabel = PromiseLabel;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Role = void 0;
|
|
4
|
+
// import React from "react";
|
|
5
|
+
const utils_1 = require("../../utils");
|
|
6
|
+
const Role = (props) => {
|
|
7
|
+
if (!utils_1.PageUtil.hasRole(props.code))
|
|
8
|
+
return utils_1.Const.NONE;
|
|
9
|
+
return props.children;
|
|
10
|
+
};
|
|
11
|
+
exports.Role = Role;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { PaginationProps } from 'antd/es/pagination';
|
|
3
|
+
export interface UPaginationProps extends PaginationProps {
|
|
4
|
+
/**
|
|
5
|
+
* 分布皮肤模式,目前支持3种,传序号即可
|
|
6
|
+
*
|
|
7
|
+
* 1: 标准显示模式,左右
|
|
8
|
+
* 2: 显示信息较多,包括查询耗时等 (参考 百度/搜索)
|
|
9
|
+
* 3: 显示信息较少,简化显示,并居中
|
|
10
|
+
*/
|
|
11
|
+
mode?: 0 | 1 | 2 | 3;
|
|
12
|
+
/**
|
|
13
|
+
* 用于替代 total 的 totalAcc, 在超出查询范围的条件下,用于显示总条数
|
|
14
|
+
*/
|
|
15
|
+
totalAcc?: number;
|
|
16
|
+
/**
|
|
17
|
+
* 查询耗时
|
|
18
|
+
*/
|
|
19
|
+
cost?: number;
|
|
20
|
+
}
|
|
21
|
+
export declare const UPagination: React.FC<UPaginationProps>;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.UPagination = void 0;
|
|
7
|
+
const react_1 = __importDefault(require("react"));
|
|
8
|
+
const antd_1 = require("antd");
|
|
9
|
+
const utils_1 = require("../../utils");
|
|
10
|
+
const i18n_1 = require("../../utils/i18n");
|
|
11
|
+
const TXT = (0, i18n_1.fastRegister)({
|
|
12
|
+
// zh-cn
|
|
13
|
+
STYLE1: (total, totalAcc) => react_1.default.createElement("span", null,
|
|
14
|
+
"\u5171",
|
|
15
|
+
react_1.default.createElement("b", null, totalAcc || total),
|
|
16
|
+
"\u6761"),
|
|
17
|
+
STYLE1_RANGE: (start, end) => react_1.default.createElement("small", null,
|
|
18
|
+
react_1.default.createElement("span", null, start),
|
|
19
|
+
" - ",
|
|
20
|
+
react_1.default.createElement("span", null, end)),
|
|
21
|
+
STYLE2: (total, cost) => react_1.default.createElement("span", null,
|
|
22
|
+
"\u4E3A\u60A8\u627E\u5230\u76F8\u5173\u7ED3\u679C",
|
|
23
|
+
react_1.default.createElement("b", null, total),
|
|
24
|
+
"\u6761",
|
|
25
|
+
cost && react_1.default.createElement("small", null,
|
|
26
|
+
", \u5171\u8017\u65F6 ",
|
|
27
|
+
react_1.default.createElement("span", null,
|
|
28
|
+
utils_1.Format.formatNumber(cost / 1000, 2),
|
|
29
|
+
" \u79D2"))),
|
|
30
|
+
}, {
|
|
31
|
+
// en-us
|
|
32
|
+
STYLE1: (total, totalAcc) => react_1.default.createElement("span", null,
|
|
33
|
+
" Total : ",
|
|
34
|
+
react_1.default.createElement("b", null, totalAcc || total)),
|
|
35
|
+
// STYLE1_RANGE: (start, end) => <span></span>,
|
|
36
|
+
STYLE2: (total, cost) => react_1.default.createElement("span", null,
|
|
37
|
+
"Find ",
|
|
38
|
+
react_1.default.createElement("b", null, total),
|
|
39
|
+
" result for you",
|
|
40
|
+
cost && react_1.default.createElement("small", null,
|
|
41
|
+
", Cost ",
|
|
42
|
+
react_1.default.createElement("span", null,
|
|
43
|
+
utils_1.Format.formatNumber(cost / 1000, 2),
|
|
44
|
+
" Second"))),
|
|
45
|
+
}, {
|
|
46
|
+
// zh-hk
|
|
47
|
+
STYLE1: (total, totalAcc) => react_1.default.createElement("span", null,
|
|
48
|
+
" \u5171 ",
|
|
49
|
+
react_1.default.createElement("b", null, totalAcc || total),
|
|
50
|
+
" \u689D"),
|
|
51
|
+
// STYLE1_RANGE: (start, end) => <span></span>,
|
|
52
|
+
STYLE2: (total, cost) => react_1.default.createElement("span", null,
|
|
53
|
+
"\u70BA\u60A8\u627E\u5230\u76F8\u95DC\u7D50\u679C",
|
|
54
|
+
react_1.default.createElement("b", null, total),
|
|
55
|
+
"\u689D",
|
|
56
|
+
cost && react_1.default.createElement("small", null,
|
|
57
|
+
", \u5171\u8017\u65F6 ",
|
|
58
|
+
react_1.default.createElement("span", null,
|
|
59
|
+
utils_1.Format.formatNumber(cost / 1000, 2),
|
|
60
|
+
" \u79D2"))),
|
|
61
|
+
});
|
|
62
|
+
const TOTAL1 = (total, range, totalAcc) => {
|
|
63
|
+
return react_1.default.createElement("span", { className: "c-pagination-info" },
|
|
64
|
+
(0, i18n_1.node)(TXT.STYLE1, total + '', totalAcc + ''),
|
|
65
|
+
react_1.default.createElement("span", { className: "c-pagination-range" }, (0, i18n_1.node)(TXT.STYLE1_RANGE, range[0], range[1])));
|
|
66
|
+
};
|
|
67
|
+
const TOTAL2 = (total, range, totalAcc, cost) => {
|
|
68
|
+
return react_1.default.createElement("span", { className: "c-pagination-info" }, (0, i18n_1.node)(TXT.STYLE2, totalAcc || total, cost));
|
|
69
|
+
};
|
|
70
|
+
const TOTAL3 = (total, range, totalAcc) => {
|
|
71
|
+
return react_1.default.createElement("span", { className: "c-pagination-info" }, (0, i18n_1.node)(TXT.STYLE1, total + '', totalAcc + ''));
|
|
72
|
+
};
|
|
73
|
+
const getConfig = (total, totalAcc, cost) => {
|
|
74
|
+
const { THEME, OPTIONS, SIZE_DEFAULT, SIZE } = utils_1.GLOBAL.CONFIG.PAGINATION;
|
|
75
|
+
let conf = {
|
|
76
|
+
pageSize: SIZE_DEFAULT,
|
|
77
|
+
pageSizeOptions: OPTIONS.map(item => `${item}`),
|
|
78
|
+
showQuickJumper: true,
|
|
79
|
+
showSizeChanger: true,
|
|
80
|
+
hideOnSinglePage: false,
|
|
81
|
+
size: SIZE,
|
|
82
|
+
};
|
|
83
|
+
switch (THEME) {
|
|
84
|
+
case 0:
|
|
85
|
+
conf.showTotal = () => utils_1.Const.NONE;
|
|
86
|
+
break;
|
|
87
|
+
case 1:
|
|
88
|
+
conf.showTotal = (total, range) => TOTAL1(total, range, totalAcc);
|
|
89
|
+
break;
|
|
90
|
+
case 2:
|
|
91
|
+
conf.showTotal = (total, range) => TOTAL2(total, range, totalAcc, cost);
|
|
92
|
+
break;
|
|
93
|
+
case 3:
|
|
94
|
+
conf.showTotal = (total, range) => TOTAL3(total, range, totalAcc);
|
|
95
|
+
break;
|
|
96
|
+
default:
|
|
97
|
+
conf.showTotal = (total, range) => TOTAL1(total, range, totalAcc);
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
return conf;
|
|
101
|
+
};
|
|
102
|
+
const UPagination = (props) => {
|
|
103
|
+
const conf = getConfig(props.total, props.totalAcc, props.cost);
|
|
104
|
+
return react_1.default.createElement(antd_1.Pagination, Object.assign({}, conf, props, { className: utils_1.StringUtil.className(['c-pagination', 'c-pagination-style' + (props.mode || utils_1.GLOBAL.CONFIG.PAGINATION.THEME || 1)], props.className) }));
|
|
105
|
+
};
|
|
106
|
+
exports.UPagination = UPagination;
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
export declare const NAMESPACE = "_V_INNER";
|
|
2
|
+
export declare const TXT: {
|
|
3
|
+
INPUT_TEXT: string;
|
|
4
|
+
INPUT_SELECT: string;
|
|
5
|
+
INPUT_MORE: string;
|
|
6
|
+
INPUT_CHECK_ALL: string;
|
|
7
|
+
INPUT_SET_CRONTAB: string;
|
|
8
|
+
INPUT_SEARCH_KEYWORD: string;
|
|
9
|
+
INPUT_SEARCH_ADVANCE: string;
|
|
10
|
+
INPUT_ORG_SLECT: string;
|
|
11
|
+
BTN_SEARCH: string;
|
|
12
|
+
BTN_RESET: string;
|
|
13
|
+
BTN_MORE: string;
|
|
14
|
+
BTN_LESS: string;
|
|
15
|
+
BTN_IMPORT: string;
|
|
16
|
+
BTN_EXPORT: string;
|
|
17
|
+
BTN_UPLOAD: string;
|
|
18
|
+
BTN_DOWNLOAD: string;
|
|
19
|
+
BTN_INFO: string;
|
|
20
|
+
ERR_REQUIRED: string;
|
|
21
|
+
ERR_FORMAT: string;
|
|
22
|
+
ERR_ILLEGAL_CHAR: string;
|
|
23
|
+
ERR_NOT_IP: string;
|
|
24
|
+
ERR_NOT_IP4: string;
|
|
25
|
+
ERR_NOT_IP6: string;
|
|
26
|
+
ERR_NOT_URL: string;
|
|
27
|
+
ERR_NOT_PORT: string;
|
|
28
|
+
ERR_NOT_EMAIL: string;
|
|
29
|
+
ERR_NOT_IDCARD: string;
|
|
30
|
+
ERR_NOT_PHONE: string;
|
|
31
|
+
ERR_NOT_MOBILE: string;
|
|
32
|
+
ERR_NOT_MAC: string;
|
|
33
|
+
ERR_UPLOAD_TOO_LARGE: string;
|
|
34
|
+
ACT_INFO_TITLE: string;
|
|
35
|
+
ACT_INFO_TITLE_NAMED: string;
|
|
36
|
+
ACT_ADD: string;
|
|
37
|
+
ACT_ADD_TITLE: string;
|
|
38
|
+
ACT_ADD_TITLE_NAMED: string;
|
|
39
|
+
ACT_ADD_SUCCESS: string;
|
|
40
|
+
ACT_ADD_FAIL: string;
|
|
41
|
+
ACT_ADD_SUCCESS_NAMED: string;
|
|
42
|
+
ACT_ADD_FAIL_NAMED: string;
|
|
43
|
+
ACT_UPDATE: string;
|
|
44
|
+
ACT_UPDATE_TITLE: string;
|
|
45
|
+
ACT_UPDATE_TITLE_NAMED: string;
|
|
46
|
+
ACT_UPDATE_SUCCESS: string;
|
|
47
|
+
ACT_UPDATE_FAIL: string;
|
|
48
|
+
ACT_UPDATE_SUCCESS_NAMED: string;
|
|
49
|
+
ACT_UPDATE_FAIL_NAMED: string;
|
|
50
|
+
ACT_DELETE: string;
|
|
51
|
+
ACT_DELETE_BATCH: string;
|
|
52
|
+
ACT_DELETE_CONFIRM: string;
|
|
53
|
+
ACT_DELETE_SUCCESS: string;
|
|
54
|
+
ACT_DELETE_FAIL: string;
|
|
55
|
+
ACT_DELETE_SUCCESS_NAMED: string;
|
|
56
|
+
ACT_DELETE_FAIL_NAMED: string;
|
|
57
|
+
ACT_DELETE_SUCCESS_COUNT: string;
|
|
58
|
+
ACT_DELETE_FAIL_COUNT: string;
|
|
59
|
+
DATE_START: string;
|
|
60
|
+
DATE_END: string;
|
|
61
|
+
DATETIME_START: string;
|
|
62
|
+
DATETIME_END: string;
|
|
63
|
+
DATE_START_FROM: string;
|
|
64
|
+
DATE_END_TO: string;
|
|
65
|
+
DATE_START_TO_END: string;
|
|
66
|
+
DATE_MONTH_START: string;
|
|
67
|
+
DATE_MONTH_END: string;
|
|
68
|
+
TXT_ALL: string;
|
|
69
|
+
TXT_IDX: string;
|
|
70
|
+
TXT_RANK: string;
|
|
71
|
+
TXT_OPERATION: string;
|
|
72
|
+
TXT_FIND_NULL: string;
|
|
73
|
+
TXT_EXPAND: string;
|
|
74
|
+
TXT_COLLAPSE: string;
|
|
75
|
+
TREE_NODE: string;
|
|
76
|
+
TREE_INSERT_TOP: string;
|
|
77
|
+
TREE_INSERT_BOTTOM: string;
|
|
78
|
+
TREE_INSERT_BEFORE: string;
|
|
79
|
+
TREE_INSERT_AFTER: string;
|
|
80
|
+
TREE_INSERT_INNER: string;
|
|
81
|
+
TREE_SORT_SUCCESS: string;
|
|
82
|
+
TREE_SORT_FAIL: string;
|
|
83
|
+
LANG_ZH_CN: string;
|
|
84
|
+
LANG_EN_US: string;
|
|
85
|
+
LANG_ZH_HK: string;
|
|
86
|
+
SWITCH_YES: string;
|
|
87
|
+
SWITCH_NO: string;
|
|
88
|
+
SWITCH_OPEN: string;
|
|
89
|
+
SWITCH_CLOSE: string;
|
|
90
|
+
SWITCH_ENABLE: string;
|
|
91
|
+
SWITCH_DISABLE: string;
|
|
92
|
+
SWITCH_SHOW: string;
|
|
93
|
+
SWITCH_HIDE: string;
|
|
94
|
+
UPLOAD_FILE: string;
|
|
95
|
+
UPLOAD_PIC: string;
|
|
96
|
+
UPLOAD_SUCCESS: string;
|
|
97
|
+
UPLOAD_SUCCESS_IMPORT: string;
|
|
98
|
+
UPLOAD_ERROR: string;
|
|
99
|
+
UPLOAD_ERROR_FILE: string;
|
|
100
|
+
UPLOAD_ERROR_IMPORT: string;
|
|
101
|
+
UPLOAD_MODAL_TITLE: string;
|
|
102
|
+
UPLOAD_MODAL_TIP: string;
|
|
103
|
+
};
|
|
104
|
+
export declare const V: {
|
|
105
|
+
INPUT_TEXT: string;
|
|
106
|
+
INPUT_SELECT: string;
|
|
107
|
+
INPUT_MORE: string;
|
|
108
|
+
INPUT_CHECK_ALL: string;
|
|
109
|
+
INPUT_SET_CRONTAB: string;
|
|
110
|
+
INPUT_SEARCH_KEYWORD: string;
|
|
111
|
+
INPUT_SEARCH_ADVANCE: string;
|
|
112
|
+
INPUT_ORG_SLECT: string;
|
|
113
|
+
BTN_SEARCH: string;
|
|
114
|
+
BTN_RESET: string;
|
|
115
|
+
BTN_MORE: string;
|
|
116
|
+
BTN_LESS: string;
|
|
117
|
+
BTN_IMPORT: string;
|
|
118
|
+
BTN_EXPORT: string;
|
|
119
|
+
BTN_UPLOAD: string;
|
|
120
|
+
BTN_DOWNLOAD: string;
|
|
121
|
+
BTN_INFO: string;
|
|
122
|
+
ERR_REQUIRED: string;
|
|
123
|
+
ERR_FORMAT: string;
|
|
124
|
+
ERR_ILLEGAL_CHAR: string;
|
|
125
|
+
ERR_NOT_IP: string;
|
|
126
|
+
ERR_NOT_IP4: string;
|
|
127
|
+
ERR_NOT_IP6: string;
|
|
128
|
+
ERR_NOT_URL: string;
|
|
129
|
+
ERR_NOT_PORT: string;
|
|
130
|
+
ERR_NOT_EMAIL: string;
|
|
131
|
+
ERR_NOT_IDCARD: string;
|
|
132
|
+
ERR_NOT_PHONE: string;
|
|
133
|
+
ERR_NOT_MOBILE: string;
|
|
134
|
+
ERR_NOT_MAC: string;
|
|
135
|
+
ERR_UPLOAD_TOO_LARGE: string;
|
|
136
|
+
ACT_INFO_TITLE: string;
|
|
137
|
+
ACT_INFO_TITLE_NAMED: string;
|
|
138
|
+
ACT_ADD: string;
|
|
139
|
+
ACT_ADD_TITLE: string;
|
|
140
|
+
ACT_ADD_TITLE_NAMED: string;
|
|
141
|
+
ACT_ADD_SUCCESS: string;
|
|
142
|
+
ACT_ADD_FAIL: string;
|
|
143
|
+
ACT_ADD_SUCCESS_NAMED: string;
|
|
144
|
+
ACT_ADD_FAIL_NAMED: string;
|
|
145
|
+
ACT_UPDATE: string;
|
|
146
|
+
ACT_UPDATE_TITLE: string;
|
|
147
|
+
ACT_UPDATE_TITLE_NAMED: string;
|
|
148
|
+
ACT_UPDATE_SUCCESS: string;
|
|
149
|
+
ACT_UPDATE_FAIL: string;
|
|
150
|
+
ACT_UPDATE_SUCCESS_NAMED: string;
|
|
151
|
+
ACT_UPDATE_FAIL_NAMED: string;
|
|
152
|
+
ACT_DELETE: string;
|
|
153
|
+
ACT_DELETE_BATCH: string;
|
|
154
|
+
ACT_DELETE_CONFIRM: string;
|
|
155
|
+
ACT_DELETE_SUCCESS: string;
|
|
156
|
+
ACT_DELETE_FAIL: string;
|
|
157
|
+
ACT_DELETE_SUCCESS_NAMED: string;
|
|
158
|
+
ACT_DELETE_FAIL_NAMED: string;
|
|
159
|
+
ACT_DELETE_SUCCESS_COUNT: string;
|
|
160
|
+
ACT_DELETE_FAIL_COUNT: string;
|
|
161
|
+
DATE_START: string;
|
|
162
|
+
DATE_END: string;
|
|
163
|
+
DATETIME_START: string;
|
|
164
|
+
DATETIME_END: string;
|
|
165
|
+
DATE_START_FROM: string;
|
|
166
|
+
DATE_END_TO: string;
|
|
167
|
+
DATE_START_TO_END: string;
|
|
168
|
+
DATE_MONTH_START: string;
|
|
169
|
+
DATE_MONTH_END: string;
|
|
170
|
+
TXT_ALL: string;
|
|
171
|
+
TXT_IDX: string;
|
|
172
|
+
TXT_RANK: string;
|
|
173
|
+
TXT_OPERATION: string;
|
|
174
|
+
TXT_FIND_NULL: string;
|
|
175
|
+
TXT_EXPAND: string;
|
|
176
|
+
TXT_COLLAPSE: string;
|
|
177
|
+
TREE_NODE: string;
|
|
178
|
+
TREE_INSERT_TOP: string;
|
|
179
|
+
TREE_INSERT_BOTTOM: string;
|
|
180
|
+
TREE_INSERT_BEFORE: string;
|
|
181
|
+
TREE_INSERT_AFTER: string;
|
|
182
|
+
TREE_INSERT_INNER: string;
|
|
183
|
+
TREE_SORT_SUCCESS: string;
|
|
184
|
+
TREE_SORT_FAIL: string;
|
|
185
|
+
LANG_ZH_CN: string;
|
|
186
|
+
LANG_EN_US: string;
|
|
187
|
+
LANG_ZH_HK: string;
|
|
188
|
+
SWITCH_YES: string;
|
|
189
|
+
SWITCH_NO: string;
|
|
190
|
+
SWITCH_OPEN: string;
|
|
191
|
+
SWITCH_CLOSE: string;
|
|
192
|
+
SWITCH_ENABLE: string;
|
|
193
|
+
SWITCH_DISABLE: string;
|
|
194
|
+
SWITCH_SHOW: string;
|
|
195
|
+
SWITCH_HIDE: string;
|
|
196
|
+
UPLOAD_FILE: string;
|
|
197
|
+
UPLOAD_PIC: string;
|
|
198
|
+
UPLOAD_SUCCESS: string;
|
|
199
|
+
UPLOAD_SUCCESS_IMPORT: string;
|
|
200
|
+
UPLOAD_ERROR: string;
|
|
201
|
+
UPLOAD_ERROR_FILE: string;
|
|
202
|
+
UPLOAD_ERROR_IMPORT: string;
|
|
203
|
+
UPLOAD_MODAL_TITLE: string;
|
|
204
|
+
UPLOAD_MODAL_TIP: string;
|
|
205
|
+
};
|