wt-enjoy-link-antd-repack 4.1.17
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +26 -0
- package/dist/esm/assets/location.png +0 -0
- package/dist/esm/component/BiuAButton/index.d.ts +18 -0
- package/dist/esm/component/BiuAButton/index.js +8 -0
- package/dist/esm/component/BiuACard/index.d.ts +2 -0
- package/dist/esm/component/BiuACard/index.js +9 -0
- package/dist/esm/component/BiuACascader/index.d.ts +10 -0
- package/dist/esm/component/BiuACascader/index.js +8 -0
- package/dist/esm/component/BiuADatePicker/index.d.ts +19 -0
- package/dist/esm/component/BiuADatePicker/index.js +18 -0
- package/dist/esm/component/BiuAForm/index.d.ts +7 -0
- package/dist/esm/component/BiuAForm/index.js +10 -0
- package/dist/esm/component/BiuAInput/index.d.ts +14 -0
- package/dist/esm/component/BiuAInput/index.js +32 -0
- package/dist/esm/component/BiuASelect/index.d.ts +6 -0
- package/dist/esm/component/BiuASelect/index.js +14 -0
- package/dist/esm/component/BiuASwitch/index.d.ts +2 -0
- package/dist/esm/component/BiuASwitch/index.js +9 -0
- package/dist/esm/component/BiuATimePicker/index.d.ts +4 -0
- package/dist/esm/component/BiuATimePicker/index.js +8 -0
- package/dist/esm/component/BiuATreeSelect/index.d.ts +2 -0
- package/dist/esm/component/BiuATreeSelect/index.js +8 -0
- package/dist/esm/component/BiuBar/index.d.ts +13 -0
- package/dist/esm/component/BiuBar/index.js +42 -0
- package/dist/esm/component/BiuComSelect/index.d.ts +24 -0
- package/dist/esm/component/BiuComSelect/index.js +104 -0
- package/dist/esm/component/BiuCue/index.d.ts +18 -0
- package/dist/esm/component/BiuCue/index.js +44 -0
- package/dist/esm/component/BiuCustomSelect/index.d.ts +19 -0
- package/dist/esm/component/BiuCustomSelect/index.js +153 -0
- package/dist/esm/component/BiuCustomTable/index.d.ts +14 -0
- package/dist/esm/component/BiuCustomTable/index.js +76 -0
- package/dist/esm/component/BiuCustomerOperCard/component/editTable.d.ts +8 -0
- package/dist/esm/component/BiuCustomerOperCard/component/editTable.js +264 -0
- package/dist/esm/component/BiuCustomerOperCard/component/index.d.ts +1 -0
- package/dist/esm/component/BiuCustomerOperCard/component/index.js +1 -0
- package/dist/esm/component/BiuCustomerOperCard/index.d.ts +20 -0
- package/dist/esm/component/BiuCustomerOperCard/index.js +56 -0
- package/dist/esm/component/BiuCustomerOperCard/type.d.ts +117 -0
- package/dist/esm/component/BiuCustomerOperCard/type.js +1 -0
- package/dist/esm/component/BiuCustomerOperCard/utils.d.ts +48 -0
- package/dist/esm/component/BiuCustomerOperCard/utils.js +236 -0
- package/dist/esm/component/BiuDescriptions/index.d.ts +9 -0
- package/dist/esm/component/BiuDescriptions/index.js +39 -0
- package/dist/esm/component/BiuDetailDrawer/index.d.ts +15 -0
- package/dist/esm/component/BiuDetailDrawer/index.js +54 -0
- package/dist/esm/component/BiuDivider/index.d.ts +4 -0
- package/dist/esm/component/BiuDivider/index.js +29 -0
- package/dist/esm/component/BiuField/component/AddressTableSelect.d.ts +3 -0
- package/dist/esm/component/BiuField/component/AddressTableSelect.js +150 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/index.d.ts +3 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/index.js +3 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertSubValue.d.ts +2 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertSubValue.js +49 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertUnSubValue.d.ts +2 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useConvertUnSubValue.js +98 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useInConvertUnSubValue.d.ts +5 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/hooks/useInConvertUnSubValue.js +82 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/index.d.ts +14 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/index.js +393 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/type.d.ts +123 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/type.js +1 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/utils.d.ts +5 -0
- package/dist/esm/component/BiuField/component/DepartOrgSelect/utils.js +59 -0
- package/dist/esm/component/BiuField/component/OMSSystem/cityAreaSelect.d.ts +12 -0
- package/dist/esm/component/BiuField/component/OMSSystem/cityAreaSelect.js +130 -0
- package/dist/esm/component/BiuField/component/OMSSystem/warehouseSel.d.ts +7 -0
- package/dist/esm/component/BiuField/component/OMSSystem/warehouseSel.js +80 -0
- package/dist/esm/component/BiuField/component/SNInput.d.ts +13 -0
- package/dist/esm/component/BiuField/component/SNInput.js +622 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/addressSelect.d.ts +23 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/addressSelect.js +187 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/base.d.ts +13 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/base.js +153 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/goodSelect.d.ts +21 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/goodSelect.js +238 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/index.d.ts +3 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/index.js +66 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/interface.d.ts +16 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/interface.js +1 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/locationSelect.d.ts +24 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/locationSelect.js +164 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/package.d.ts +3 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/package.js +149 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/supplierSelect.d.ts +18 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/supplierSelect.js +145 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseAreaSelect.d.ts +3 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseAreaSelect.js +113 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseInfoSelects.d.ts +18 -0
- package/dist/esm/component/BiuField/component/TableSelectLocal/warehouseInfoSelects.js +100 -0
- package/dist/esm/component/BiuField/component/appliedgoodsTypeSelect.d.ts +9 -0
- package/dist/esm/component/BiuField/component/appliedgoodsTypeSelect.js +75 -0
- package/dist/esm/component/BiuField/component/autoComplete.d.ts +8 -0
- package/dist/esm/component/BiuField/component/autoComplete.js +82 -0
- package/dist/esm/component/BiuField/component/boxTypeSelect.d.ts +11 -0
- package/dist/esm/component/BiuField/component/boxTypeSelect.js +139 -0
- package/dist/esm/component/BiuField/component/businessdistrictselect.d.ts +55 -0
- package/dist/esm/component/BiuField/component/businessdistrictselect.js +414 -0
- package/dist/esm/component/BiuField/component/carrierInfoSelect.d.ts +13 -0
- package/dist/esm/component/BiuField/component/carrierInfoSelect.js +145 -0
- package/dist/esm/component/BiuField/component/channelSelect.d.ts +8 -0
- package/dist/esm/component/BiuField/component/channelSelect.js +94 -0
- package/dist/esm/component/BiuField/component/cityAreaCascader.d.ts +11 -0
- package/dist/esm/component/BiuField/component/cityAreaCascader.js +86 -0
- package/dist/esm/component/BiuField/component/clientInfoTableSelect.d.ts +3 -0
- package/dist/esm/component/BiuField/component/clientInfoTableSelect.js +175 -0
- package/dist/esm/component/BiuField/component/customMenu.d.ts +3 -0
- package/dist/esm/component/BiuField/component/customMenu.js +110 -0
- package/dist/esm/component/BiuField/component/databaseSelect.d.ts +6 -0
- package/dist/esm/component/BiuField/component/databaseSelect.js +42 -0
- package/dist/esm/component/BiuField/component/departmentTreeSelect.d.ts +3 -0
- package/dist/esm/component/BiuField/component/departmentTreeSelect.js +107 -0
- package/dist/esm/component/BiuField/component/dicNameSelect.d.ts +12 -0
- package/dist/esm/component/BiuField/component/dicNameSelect.js +53 -0
- package/dist/esm/component/BiuField/component/dicTypeSelect.d.ts +41 -0
- package/dist/esm/component/BiuField/component/dicTypeSelect.js +84 -0
- package/dist/esm/component/BiuField/component/dockingPartySelect.d.ts +8 -0
- package/dist/esm/component/BiuField/component/dockingPartySelect.js +63 -0
- package/dist/esm/component/BiuField/component/editLocationSelect.d.ts +18 -0
- package/dist/esm/component/BiuField/component/editLocationSelect.js +119 -0
- package/dist/esm/component/BiuField/component/electronicFaceSheet/accountSelect.d.ts +3 -0
- package/dist/esm/component/BiuField/component/electronicFaceSheet/accountSelect.js +36 -0
- package/dist/esm/component/BiuField/component/electronicFaceSheet/addresSelect.d.ts +14 -0
- package/dist/esm/component/BiuField/component/electronicFaceSheet/addresSelect.js +97 -0
- package/dist/esm/component/BiuField/component/electronicFaceSheet/platformSelect.d.ts +7 -0
- package/dist/esm/component/BiuField/component/electronicFaceSheet/platformSelect.js +73 -0
- package/dist/esm/component/BiuField/component/goodsTypeSelect.d.ts +10 -0
- package/dist/esm/component/BiuField/component/goodsTypeSelect.js +92 -0
- package/dist/esm/component/BiuField/component/index.d.ts +37 -0
- package/dist/esm/component/BiuField/component/index.js +37 -0
- package/dist/esm/component/BiuField/component/interfaceNameSelect.d.ts +9 -0
- package/dist/esm/component/BiuField/component/interfaceNameSelect.js +65 -0
- package/dist/esm/component/BiuField/component/lpnSelect.d.ts +3 -0
- package/dist/esm/component/BiuField/component/lpnSelect.js +88 -0
- package/dist/esm/component/BiuField/component/orderTypeSelect.d.ts +15 -0
- package/dist/esm/component/BiuField/component/orderTypeSelect.js +79 -0
- package/dist/esm/component/BiuField/component/orderTypeTableSelect.d.ts +3 -0
- package/dist/esm/component/BiuField/component/orderTypeTableSelect.js +45 -0
- package/dist/esm/component/BiuField/component/parkSelect.d.ts +12 -0
- package/dist/esm/component/BiuField/component/parkSelect.js +88 -0
- package/dist/esm/component/BiuField/component/personnelinfoselect.d.ts +57 -0
- package/dist/esm/component/BiuField/component/personnelinfoselect.js +431 -0
- package/dist/esm/component/BiuField/component/propertNameSelect.d.ts +9 -0
- package/dist/esm/component/BiuField/component/propertNameSelect.js +114 -0
- package/dist/esm/component/BiuField/component/shipperTableSelect.d.ts +3 -0
- package/dist/esm/component/BiuField/component/shipperTableSelect.js +94 -0
- package/dist/esm/component/BiuField/component/userSelect.d.ts +8 -0
- package/dist/esm/component/BiuField/component/userSelect.js +163 -0
- package/dist/esm/component/BiuField/component/warehouseAreaSelect.d.ts +9 -0
- package/dist/esm/component/BiuField/component/warehouseAreaSelect.js +103 -0
- package/dist/esm/component/BiuField/component/warehouseInfoSelect.d.ts +13 -0
- package/dist/esm/component/BiuField/component/warehouseInfoSelect.js +92 -0
- package/dist/esm/component/BiuField/component/warehouseLoctionSelect.d.ts +14 -0
- package/dist/esm/component/BiuField/component/warehouseLoctionSelect.js +124 -0
- package/dist/esm/component/BiuField/index.d.ts +8 -0
- package/dist/esm/component/BiuField/index.js +607 -0
- package/dist/esm/component/BiuFileInput/index.d.ts +11 -0
- package/dist/esm/component/BiuFileInput/index.js +53 -0
- package/dist/esm/component/BiuForm/index.d.ts +12 -0
- package/dist/esm/component/BiuForm/index.js +241 -0
- package/dist/esm/component/BiuForm/type.d.ts +45 -0
- package/dist/esm/component/BiuForm/type.js +1 -0
- package/dist/esm/component/BiuForm/utils.d.ts +2 -0
- package/dist/esm/component/BiuForm/utils.js +46 -0
- package/dist/esm/component/BiuIcon/index.d.ts +3 -0
- package/dist/esm/component/BiuIcon/index.js +15 -0
- package/dist/esm/component/BiuMapSelectSite/index.d.ts +48 -0
- package/dist/esm/component/BiuMapSelectSite/index.js +453 -0
- package/dist/esm/component/BiuModal/index.d.ts +24 -0
- package/dist/esm/component/BiuModal/index.js +239 -0
- package/dist/esm/component/BiuOperForm/index.d.ts +15 -0
- package/dist/esm/component/BiuOperForm/index.js +375 -0
- package/dist/esm/component/BiuOperForm/type.d.ts +23 -0
- package/dist/esm/component/BiuOperForm/type.js +1 -0
- package/dist/esm/component/BiuOperTable/index.d.ts +15 -0
- package/dist/esm/component/BiuOperTable/index.js +349 -0
- package/dist/esm/component/BiuOperTable/type.d.ts +142 -0
- package/dist/esm/component/BiuOperTable/type.js +1 -0
- package/dist/esm/component/BiuOperTable/utils.d.ts +6 -0
- package/dist/esm/component/BiuOperTable/utils.js +13 -0
- package/dist/esm/component/BiuPagination/index.d.ts +14 -0
- package/dist/esm/component/BiuPagination/index.js +34 -0
- package/dist/esm/component/BiuResizeTable/component/biuTableCell.d.ts +1 -0
- package/dist/esm/component/BiuResizeTable/component/biuTableCell.js +74 -0
- package/dist/esm/component/BiuResizeTable/component/index.d.ts +1 -0
- package/dist/esm/component/BiuResizeTable/component/index.js +1 -0
- package/dist/esm/component/BiuResizeTable/index.d.ts +2 -0
- package/dist/esm/component/BiuResizeTable/index.js +71 -0
- package/dist/esm/component/BiuResizeTable/index.less +19 -0
- package/dist/esm/component/BiuSplit/index.d.ts +32 -0
- package/dist/esm/component/BiuSplit/index.js +57 -0
- package/dist/esm/component/BiuTable/component/index.d.ts +3 -0
- package/dist/esm/component/BiuTable/component/index.js +3 -0
- package/dist/esm/component/BiuTable/component/tableActionBarRender.d.ts +9 -0
- package/dist/esm/component/BiuTable/component/tableActionBarRender.js +88 -0
- package/dist/esm/component/BiuTable/component/tableCellRender.d.ts +14 -0
- package/dist/esm/component/BiuTable/component/tableCellRender.js +108 -0
- package/dist/esm/component/BiuTable/component/tableSettingRender.d.ts +2 -0
- package/dist/esm/component/BiuTable/component/tableSettingRender.js +345 -0
- package/dist/esm/component/BiuTable/context.d.ts +2 -0
- package/dist/esm/component/BiuTable/context.js +2 -0
- package/dist/esm/component/BiuTable/hooks/index.d.ts +1 -0
- package/dist/esm/component/BiuTable/hooks/index.js +1 -0
- package/dist/esm/component/BiuTable/hooks/useFetchData.d.ts +4 -0
- package/dist/esm/component/BiuTable/hooks/useFetchData.js +64 -0
- package/dist/esm/component/BiuTable/index.d.ts +42 -0
- package/dist/esm/component/BiuTable/index.js +484 -0
- package/dist/esm/component/BiuTable/type.d.ts +168 -0
- package/dist/esm/component/BiuTable/type.js +1 -0
- package/dist/esm/component/BiuTable/utils.d.ts +10 -0
- package/dist/esm/component/BiuTable/utils.js +117 -0
- package/dist/esm/component/BiuTableLink/index.d.ts +11 -0
- package/dist/esm/component/BiuTableLink/index.js +54 -0
- package/dist/esm/component/BiuTableSelect/index.d.ts +49 -0
- package/dist/esm/component/BiuTableSelect/index.js +209 -0
- package/dist/esm/component/BiuTabs/index.d.ts +4 -0
- package/dist/esm/component/BiuTabs/index.js +18 -0
- package/dist/esm/component/BiuVirtualTable/index.d.ts +21 -0
- package/dist/esm/component/BiuVirtualTable/index.js +161 -0
- package/dist/esm/component/index.d.ts +35 -0
- package/dist/esm/component/index.js +35 -0
- package/dist/esm/constant/Cache_Key.d.ts +28 -0
- package/dist/esm/constant/Cache_Key.js +28 -0
- package/dist/esm/constant/DateTime.d.ts +12 -0
- package/dist/esm/constant/DateTime.js +15 -0
- package/dist/esm/constant/External.d.ts +64 -0
- package/dist/esm/constant/External.js +260 -0
- package/dist/esm/constant/Gateway_Path.d.ts +5 -0
- package/dist/esm/constant/Gateway_Path.js +5 -0
- package/dist/esm/constant/Layout.d.ts +210 -0
- package/dist/esm/constant/Layout.js +215 -0
- package/dist/esm/constant/Regexp.d.ts +109 -0
- package/dist/esm/constant/Regexp.js +130 -0
- package/dist/esm/constant/index.d.ts +6 -0
- package/dist/esm/constant/index.js +6 -0
- package/dist/esm/hooks/index.d.ts +6 -0
- package/dist/esm/hooks/index.js +6 -0
- package/dist/esm/hooks/useAuth.d.ts +4 -0
- package/dist/esm/hooks/useAuth.js +22 -0
- package/dist/esm/hooks/useCurrentSystem.d.ts +6 -0
- package/dist/esm/hooks/useCurrentSystem.js +15 -0
- package/dist/esm/hooks/useLayoutInfo.d.ts +10 -0
- package/dist/esm/hooks/useLayoutInfo.js +14 -0
- package/dist/esm/hooks/useReducerState.d.ts +16 -0
- package/dist/esm/hooks/useReducerState.js +43 -0
- package/dist/esm/hooks/useUserInfo.d.ts +4 -0
- package/dist/esm/hooks/useUserInfo.js +15 -0
- package/dist/esm/hooks/useWareInfo.d.ts +4 -0
- package/dist/esm/hooks/useWareInfo.js +15 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/package/index.d.ts +1 -0
- package/dist/esm/package/index.js +1 -0
- package/dist/esm/package/requestWrapper/baseRequest.d.ts +3 -0
- package/dist/esm/package/requestWrapper/baseRequest.js +47 -0
- package/dist/esm/package/requestWrapper/index.d.ts +4 -0
- package/dist/esm/package/requestWrapper/index.js +402 -0
- package/dist/esm/package/requestWrapper/type.d.ts +36 -0
- package/dist/esm/package/requestWrapper/type.js +1 -0
- package/dist/esm/package/requestWrapper/utils.d.ts +10 -0
- package/dist/esm/package/requestWrapper/utils.js +35 -0
- package/dist/esm/utils/authUtils.d.ts +18 -0
- package/dist/esm/utils/authUtils.js +36 -0
- package/dist/esm/utils/cacheUtils.d.ts +4 -0
- package/dist/esm/utils/cacheUtils.js +24 -0
- package/dist/esm/utils/chainUtils.d.ts +26 -0
- package/dist/esm/utils/chainUtils.js +54 -0
- package/dist/esm/utils/dateUtils.d.ts +23 -0
- package/dist/esm/utils/dateUtils.js +55 -0
- package/dist/esm/utils/decimalUtils.d.ts +5 -0
- package/dist/esm/utils/decimalUtils.js +7 -0
- package/dist/esm/utils/excelUtils.d.ts +22 -0
- package/dist/esm/utils/excelUtils.js +153 -0
- package/dist/esm/utils/index.d.ts +11 -0
- package/dist/esm/utils/index.js +11 -0
- package/dist/esm/utils/layoutUtils.d.ts +1 -0
- package/dist/esm/utils/layoutUtils.js +13 -0
- package/dist/esm/utils/objectUtils.d.ts +1 -0
- package/dist/esm/utils/objectUtils.js +3 -0
- package/dist/esm/utils/soundUtils.d.ts +5 -0
- package/dist/esm/utils/soundUtils.js +29 -0
- package/dist/esm/utils/stringUtils.d.ts +24 -0
- package/dist/esm/utils/stringUtils.js +39 -0
- package/dist/esm/utils/sysUtils.d.ts +4 -0
- package/dist/esm/utils/sysUtils.js +4 -0
- package/package.json +59 -0
@@ -0,0 +1,210 @@
|
|
1
|
+
export declare const FORM_COL_LAYOUT: {
|
2
|
+
default: {
|
3
|
+
xs: {
|
4
|
+
span: number;
|
5
|
+
};
|
6
|
+
sm: {
|
7
|
+
span: number;
|
8
|
+
};
|
9
|
+
md: {
|
10
|
+
span: number;
|
11
|
+
};
|
12
|
+
lg: {
|
13
|
+
span: number;
|
14
|
+
};
|
15
|
+
xl: {
|
16
|
+
span: number;
|
17
|
+
};
|
18
|
+
xxl: {
|
19
|
+
span: number;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
large: {
|
23
|
+
xs: {
|
24
|
+
span: number;
|
25
|
+
};
|
26
|
+
sm: {
|
27
|
+
span: number;
|
28
|
+
};
|
29
|
+
md: {
|
30
|
+
span: number;
|
31
|
+
};
|
32
|
+
lg: {
|
33
|
+
span: number;
|
34
|
+
};
|
35
|
+
xl: {
|
36
|
+
span: number;
|
37
|
+
};
|
38
|
+
xxl: {
|
39
|
+
span: number;
|
40
|
+
};
|
41
|
+
};
|
42
|
+
small: {
|
43
|
+
xs: {
|
44
|
+
span: number;
|
45
|
+
};
|
46
|
+
sm: {
|
47
|
+
span: number;
|
48
|
+
};
|
49
|
+
md: {
|
50
|
+
span: number;
|
51
|
+
};
|
52
|
+
lg: {
|
53
|
+
span: number;
|
54
|
+
};
|
55
|
+
xl: {
|
56
|
+
span: number;
|
57
|
+
};
|
58
|
+
xxl: {
|
59
|
+
span: number;
|
60
|
+
};
|
61
|
+
};
|
62
|
+
};
|
63
|
+
export declare const FORM_ROW_GUTTER: {
|
64
|
+
xs: number;
|
65
|
+
sm: number;
|
66
|
+
md: number;
|
67
|
+
lg: number;
|
68
|
+
};
|
69
|
+
export declare const FORM_LAYOUT: {
|
70
|
+
default: {
|
71
|
+
labelCol: {
|
72
|
+
xs: {
|
73
|
+
span: number;
|
74
|
+
};
|
75
|
+
sm: {
|
76
|
+
span: number;
|
77
|
+
};
|
78
|
+
md: {
|
79
|
+
span: number;
|
80
|
+
};
|
81
|
+
lg: {
|
82
|
+
span: number;
|
83
|
+
};
|
84
|
+
xl: {
|
85
|
+
span: number;
|
86
|
+
};
|
87
|
+
xxl: {
|
88
|
+
span: number;
|
89
|
+
};
|
90
|
+
};
|
91
|
+
wrapperCol: {
|
92
|
+
xs: {
|
93
|
+
span: number;
|
94
|
+
};
|
95
|
+
sm: {
|
96
|
+
span: number;
|
97
|
+
};
|
98
|
+
md: {
|
99
|
+
span: number;
|
100
|
+
};
|
101
|
+
lg: {
|
102
|
+
span: number;
|
103
|
+
};
|
104
|
+
xl: {
|
105
|
+
span: number;
|
106
|
+
};
|
107
|
+
xxl: {
|
108
|
+
span: number;
|
109
|
+
};
|
110
|
+
};
|
111
|
+
};
|
112
|
+
defaultCheckBox: {
|
113
|
+
wrapperCol: {
|
114
|
+
xs: {
|
115
|
+
span: number;
|
116
|
+
offset: number;
|
117
|
+
};
|
118
|
+
sm: {
|
119
|
+
span: number;
|
120
|
+
offset: number;
|
121
|
+
};
|
122
|
+
md: {
|
123
|
+
span: number;
|
124
|
+
offset: number;
|
125
|
+
};
|
126
|
+
lg: {
|
127
|
+
span: number;
|
128
|
+
offset: number;
|
129
|
+
};
|
130
|
+
xl: {
|
131
|
+
span: number;
|
132
|
+
offset: number;
|
133
|
+
};
|
134
|
+
xxl: {
|
135
|
+
span: number;
|
136
|
+
offset: number;
|
137
|
+
};
|
138
|
+
};
|
139
|
+
};
|
140
|
+
large: {
|
141
|
+
labelCol: {
|
142
|
+
xs: {
|
143
|
+
span: number;
|
144
|
+
};
|
145
|
+
sm: {
|
146
|
+
span: number;
|
147
|
+
};
|
148
|
+
md: {
|
149
|
+
span: number;
|
150
|
+
};
|
151
|
+
lg: {
|
152
|
+
span: number;
|
153
|
+
};
|
154
|
+
xl: {
|
155
|
+
span: number;
|
156
|
+
};
|
157
|
+
xxl: {
|
158
|
+
span: number;
|
159
|
+
};
|
160
|
+
};
|
161
|
+
wrapperCol: {
|
162
|
+
xs: {
|
163
|
+
span: number;
|
164
|
+
};
|
165
|
+
sm: {
|
166
|
+
span: number;
|
167
|
+
};
|
168
|
+
md: {
|
169
|
+
span: number;
|
170
|
+
};
|
171
|
+
lg: {
|
172
|
+
span: number;
|
173
|
+
};
|
174
|
+
xl: {
|
175
|
+
span: number;
|
176
|
+
};
|
177
|
+
xxl: {
|
178
|
+
span: number;
|
179
|
+
};
|
180
|
+
};
|
181
|
+
};
|
182
|
+
largeCheckBox: {
|
183
|
+
wrapperCol: {
|
184
|
+
xs: {
|
185
|
+
span: number;
|
186
|
+
offset: number;
|
187
|
+
};
|
188
|
+
sm: {
|
189
|
+
span: number;
|
190
|
+
offset: number;
|
191
|
+
};
|
192
|
+
md: {
|
193
|
+
span: number;
|
194
|
+
offset: number;
|
195
|
+
};
|
196
|
+
lg: {
|
197
|
+
span: number;
|
198
|
+
offset: number;
|
199
|
+
};
|
200
|
+
xl: {
|
201
|
+
span: number;
|
202
|
+
offset: number;
|
203
|
+
};
|
204
|
+
xxl: {
|
205
|
+
span: number;
|
206
|
+
offset: number;
|
207
|
+
};
|
208
|
+
};
|
209
|
+
};
|
210
|
+
};
|
@@ -0,0 +1,215 @@
|
|
1
|
+
// form栅格col布局
|
2
|
+
export var FORM_COL_LAYOUT = {
|
3
|
+
default: {
|
4
|
+
xs: {
|
5
|
+
span: 12
|
6
|
+
},
|
7
|
+
sm: {
|
8
|
+
span: 8
|
9
|
+
},
|
10
|
+
md: {
|
11
|
+
span: 8
|
12
|
+
},
|
13
|
+
lg: {
|
14
|
+
span: 6
|
15
|
+
},
|
16
|
+
xl: {
|
17
|
+
span: 6
|
18
|
+
},
|
19
|
+
xxl: {
|
20
|
+
span: 6
|
21
|
+
}
|
22
|
+
},
|
23
|
+
large: {
|
24
|
+
xs: {
|
25
|
+
span: 24
|
26
|
+
},
|
27
|
+
sm: {
|
28
|
+
span: 16
|
29
|
+
},
|
30
|
+
md: {
|
31
|
+
span: 16
|
32
|
+
},
|
33
|
+
lg: {
|
34
|
+
span: 12
|
35
|
+
},
|
36
|
+
xl: {
|
37
|
+
span: 12
|
38
|
+
},
|
39
|
+
xxl: {
|
40
|
+
span: 12
|
41
|
+
}
|
42
|
+
},
|
43
|
+
small: {
|
44
|
+
xs: {
|
45
|
+
span: 24
|
46
|
+
},
|
47
|
+
sm: {
|
48
|
+
span: 12
|
49
|
+
},
|
50
|
+
md: {
|
51
|
+
span: 12
|
52
|
+
},
|
53
|
+
lg: {
|
54
|
+
span: 8
|
55
|
+
},
|
56
|
+
xl: {
|
57
|
+
span: 8
|
58
|
+
},
|
59
|
+
xxl: {
|
60
|
+
span: 8
|
61
|
+
}
|
62
|
+
}
|
63
|
+
};
|
64
|
+
|
65
|
+
// form栅格row间隔
|
66
|
+
export var FORM_ROW_GUTTER = {
|
67
|
+
xs: 8,
|
68
|
+
sm: 16,
|
69
|
+
md: 24,
|
70
|
+
lg: 32
|
71
|
+
};
|
72
|
+
|
73
|
+
// form-item布局
|
74
|
+
export var FORM_LAYOUT = {
|
75
|
+
default: {
|
76
|
+
labelCol: {
|
77
|
+
xs: {
|
78
|
+
span: 12
|
79
|
+
},
|
80
|
+
sm: {
|
81
|
+
span: 10
|
82
|
+
},
|
83
|
+
md: {
|
84
|
+
span: 10
|
85
|
+
},
|
86
|
+
lg: {
|
87
|
+
span: 10
|
88
|
+
},
|
89
|
+
xl: {
|
90
|
+
span: 10
|
91
|
+
},
|
92
|
+
xxl: {
|
93
|
+
span: 6
|
94
|
+
}
|
95
|
+
},
|
96
|
+
wrapperCol: {
|
97
|
+
xs: {
|
98
|
+
span: 12
|
99
|
+
},
|
100
|
+
sm: {
|
101
|
+
span: 14
|
102
|
+
},
|
103
|
+
md: {
|
104
|
+
span: 14
|
105
|
+
},
|
106
|
+
lg: {
|
107
|
+
span: 14
|
108
|
+
},
|
109
|
+
xl: {
|
110
|
+
span: 14
|
111
|
+
},
|
112
|
+
xxl: {
|
113
|
+
span: 18
|
114
|
+
}
|
115
|
+
}
|
116
|
+
},
|
117
|
+
defaultCheckBox: {
|
118
|
+
wrapperCol: {
|
119
|
+
xs: {
|
120
|
+
span: 12,
|
121
|
+
offset: 12
|
122
|
+
},
|
123
|
+
sm: {
|
124
|
+
span: 16,
|
125
|
+
offset: 8
|
126
|
+
},
|
127
|
+
md: {
|
128
|
+
span: 18,
|
129
|
+
offset: 6
|
130
|
+
},
|
131
|
+
lg: {
|
132
|
+
span: 18,
|
133
|
+
offset: 6
|
134
|
+
},
|
135
|
+
xl: {
|
136
|
+
span: 18,
|
137
|
+
offset: 6
|
138
|
+
},
|
139
|
+
xxl: {
|
140
|
+
span: 18,
|
141
|
+
offset: 6
|
142
|
+
}
|
143
|
+
}
|
144
|
+
},
|
145
|
+
large: {
|
146
|
+
labelCol: {
|
147
|
+
xs: {
|
148
|
+
span: 6
|
149
|
+
},
|
150
|
+
sm: {
|
151
|
+
span: 5
|
152
|
+
},
|
153
|
+
md: {
|
154
|
+
span: 5
|
155
|
+
},
|
156
|
+
lg: {
|
157
|
+
span: 5
|
158
|
+
},
|
159
|
+
xl: {
|
160
|
+
span: 5
|
161
|
+
},
|
162
|
+
xxl: {
|
163
|
+
span: 3
|
164
|
+
}
|
165
|
+
},
|
166
|
+
wrapperCol: {
|
167
|
+
xs: {
|
168
|
+
span: 18
|
169
|
+
},
|
170
|
+
sm: {
|
171
|
+
span: 19
|
172
|
+
},
|
173
|
+
md: {
|
174
|
+
span: 19
|
175
|
+
},
|
176
|
+
lg: {
|
177
|
+
span: 19
|
178
|
+
},
|
179
|
+
xl: {
|
180
|
+
span: 19
|
181
|
+
},
|
182
|
+
xxl: {
|
183
|
+
span: 21
|
184
|
+
}
|
185
|
+
}
|
186
|
+
},
|
187
|
+
largeCheckBox: {
|
188
|
+
wrapperCol: {
|
189
|
+
xs: {
|
190
|
+
span: 18,
|
191
|
+
offset: 6
|
192
|
+
},
|
193
|
+
sm: {
|
194
|
+
span: 8,
|
195
|
+
offset: 4
|
196
|
+
},
|
197
|
+
md: {
|
198
|
+
span: 21,
|
199
|
+
offset: 3
|
200
|
+
},
|
201
|
+
lg: {
|
202
|
+
span: 21,
|
203
|
+
offset: 3
|
204
|
+
},
|
205
|
+
xl: {
|
206
|
+
span: 21,
|
207
|
+
offset: 3
|
208
|
+
},
|
209
|
+
xxl: {
|
210
|
+
span: 21,
|
211
|
+
offset: 3
|
212
|
+
}
|
213
|
+
}
|
214
|
+
}
|
215
|
+
};
|
@@ -0,0 +1,109 @@
|
|
1
|
+
/**
|
2
|
+
* 匹配火车车次正则
|
3
|
+
*/
|
4
|
+
export declare const RegTrainNumber: RegExp;
|
5
|
+
/**
|
6
|
+
* 手机机身码(IMEI)正则
|
7
|
+
*/
|
8
|
+
export declare const RegIMEI: RegExp;
|
9
|
+
/**
|
10
|
+
* 必须带端口号的网址(或ip)
|
11
|
+
*/
|
12
|
+
export declare const RegUriWithPort: RegExp;
|
13
|
+
/**
|
14
|
+
* 网址(url,支持端口和"?+参数"和"#+参数)
|
15
|
+
*/
|
16
|
+
export declare const RegUri: RegExp;
|
17
|
+
/**
|
18
|
+
* 24 小时制时间(HH:mm:ss)
|
19
|
+
*/
|
20
|
+
export declare const RegTimeForHour24: RegExp;
|
21
|
+
/**
|
22
|
+
* 12 小时制时间(HH:mm:ss)
|
23
|
+
*/
|
24
|
+
export declare const RegTimeForHour12: RegExp;
|
25
|
+
/**
|
26
|
+
* base64 数据格式验证
|
27
|
+
*/
|
28
|
+
export declare const RegStrForBase64: RegExp;
|
29
|
+
/**
|
30
|
+
* 验证货币格式,支持千分位分隔符,支持负数
|
31
|
+
*/
|
32
|
+
export declare const RegAmountWithNegativeAndSeparator: RegExp;
|
33
|
+
/**
|
34
|
+
* 验证货币格式,不支持千分位分隔符,只支持正数
|
35
|
+
*/
|
36
|
+
export declare const RegAmountWithNotNegativeAndSeparator: RegExp;
|
37
|
+
/**
|
38
|
+
* 银行卡号(10到30位, 覆盖对公/私账户, 参考微信支付)
|
39
|
+
*/
|
40
|
+
export declare const RegBankCardNo: RegExp;
|
41
|
+
/**
|
42
|
+
* 验证中文姓名
|
43
|
+
*/
|
44
|
+
export declare const RegChineseName: RegExp;
|
45
|
+
/**
|
46
|
+
* 验证英文姓名
|
47
|
+
*/
|
48
|
+
export declare const RegEnglishName: RegExp;
|
49
|
+
/**
|
50
|
+
*
|
51
|
+
* level:
|
52
|
+
* - 0 最严格 按照工信部 2019 公布号段
|
53
|
+
* - 1 宽松 3,14,15,16,17,18,19 开头即可
|
54
|
+
* - 2 最宽松,只要是1开头即可
|
55
|
+
*
|
56
|
+
* 严格验证手机号
|
57
|
+
*
|
58
|
+
*/
|
59
|
+
export declare const RegMobilePhoneNumberLevel0: RegExp;
|
60
|
+
/**
|
61
|
+
*
|
62
|
+
* level:
|
63
|
+
* - 0 最严格 按照工信部 2019 公布号段
|
64
|
+
* - 1 宽松 3,14,15,16,17,18,19 开头即可
|
65
|
+
* - 2 最宽松,只要是1开头即可
|
66
|
+
*
|
67
|
+
* 较严格验证手机号
|
68
|
+
*
|
69
|
+
*/
|
70
|
+
export declare const RegMobilePhoneNumberLevel1: RegExp;
|
71
|
+
/**
|
72
|
+
*
|
73
|
+
* level:
|
74
|
+
* - 0 最严格 按照工信部 2019 公布号段
|
75
|
+
* - 1 宽松 3,14,15,16,17,18,19 开头即可
|
76
|
+
* - 2 最宽松,只要是1开头即可
|
77
|
+
*
|
78
|
+
* 宽松验证手机号
|
79
|
+
*
|
80
|
+
*/
|
81
|
+
export declare const RegMobilePhoneNumberLevel2: RegExp;
|
82
|
+
/**
|
83
|
+
* 日期格式验证 年月日
|
84
|
+
*/
|
85
|
+
export declare const RegDate: RegExp;
|
86
|
+
/**
|
87
|
+
* Email 验证
|
88
|
+
*/
|
89
|
+
export declare const RegEmail: RegExp;
|
90
|
+
/**
|
91
|
+
* 座机号码验证
|
92
|
+
*/
|
93
|
+
export declare const RegTelPhone: RegExp;
|
94
|
+
/**
|
95
|
+
* 验证第一代身份证 15位
|
96
|
+
*/
|
97
|
+
export declare const RegIDCardNumberV1: RegExp;
|
98
|
+
/**
|
99
|
+
* 验证第二代身份证 18位
|
100
|
+
*/
|
101
|
+
export declare const RegIDCardNumberV2: RegExp;
|
102
|
+
/**
|
103
|
+
* 验证第一代和第二代身份证 15、18位
|
104
|
+
*/
|
105
|
+
export declare const RegIDCardNumberV1AndV2: RegExp;
|
106
|
+
/**
|
107
|
+
* 数据来源
|
108
|
+
* [AnyRule](https://github.com/any86/any-rule)
|
109
|
+
*/
|
@@ -0,0 +1,130 @@
|
|
1
|
+
/**
|
2
|
+
* 匹配火车车次正则
|
3
|
+
*/
|
4
|
+
export var RegTrainNumber = /^[GCDZTSPKXLY1-9]\d{14}$/;
|
5
|
+
|
6
|
+
/**
|
7
|
+
* 手机机身码(IMEI)正则
|
8
|
+
*/
|
9
|
+
export var RegIMEI = /^\d{1517}$/;
|
10
|
+
|
11
|
+
/**
|
12
|
+
* 必须带端口号的网址(或ip)
|
13
|
+
*/
|
14
|
+
export var RegUriWithPort = /^((ht|f)tps?:\/\/)?[\w-]+(\.[\w-]+)+:\d{15}\/?$/;
|
15
|
+
|
16
|
+
/**
|
17
|
+
* 网址(url,支持端口和"?+参数"和"#+参数)
|
18
|
+
*/
|
19
|
+
export var RegUri = /^(((ht|f)tps?):\/\/)?[\w-]+(\.[\w-]+)+([\w.@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?$/;
|
20
|
+
|
21
|
+
/**
|
22
|
+
* 24 小时制时间(HH:mm:ss)
|
23
|
+
*/
|
24
|
+
export var RegTimeForHour24 = /^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d$/;
|
25
|
+
|
26
|
+
/**
|
27
|
+
* 12 小时制时间(HH:mm:ss)
|
28
|
+
*/
|
29
|
+
export var RegTimeForHour12 = /^(?:1[0-2]|0?[1-9]):[0-5]\d:[0-5]\d$/;
|
30
|
+
|
31
|
+
/**
|
32
|
+
* base64 数据格式验证
|
33
|
+
*/
|
34
|
+
export var RegStrForBase64 = /^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?([a-z0-9!$&'()*+;=\-._~:@/?%\s]*?)\s*$/i;
|
35
|
+
|
36
|
+
/**
|
37
|
+
* 验证货币格式,支持千分位分隔符,支持负数
|
38
|
+
*/
|
39
|
+
export var RegAmountWithNegativeAndSeparator = /^-?\d+(\d{3})*(\.\d{12})?$/;
|
40
|
+
|
41
|
+
/**
|
42
|
+
* 验证货币格式,不支持千分位分隔符,只支持正数
|
43
|
+
*/
|
44
|
+
export var RegAmountWithNotNegativeAndSeparator = /(?:^[1-9]([0-9]+)?(?:\.[0-9]{12})?$)|(?:^(?:0){1}$)|(?:^[0-9]\.[0-9](?:[0-9])?$)/;
|
45
|
+
|
46
|
+
/**
|
47
|
+
* 银行卡号(10到30位, 覆盖对公/私账户, 参考微信支付)
|
48
|
+
*/
|
49
|
+
export var RegBankCardNo = /^[1-9]\d{929}$/;
|
50
|
+
|
51
|
+
/**
|
52
|
+
* 验证中文姓名
|
53
|
+
*/
|
54
|
+
export var RegChineseName = /^(?:[\u4e00-\u9fa5·]{216})$/;
|
55
|
+
|
56
|
+
/**
|
57
|
+
* 验证英文姓名
|
58
|
+
*/
|
59
|
+
export var RegEnglishName = /(^[a-zA-Z]{1}[a-zA-Z\s]{020}[a-zA-Z]{1}$)/;
|
60
|
+
|
61
|
+
/**
|
62
|
+
*
|
63
|
+
* level:
|
64
|
+
* - 0 最严格 按照工信部 2019 公布号段
|
65
|
+
* - 1 宽松 3,14,15,16,17,18,19 开头即可
|
66
|
+
* - 2 最宽松,只要是1开头即可
|
67
|
+
*
|
68
|
+
* 严格验证手机号
|
69
|
+
*
|
70
|
+
*/
|
71
|
+
export var RegMobilePhoneNumberLevel0 = /^(?:(?:\+|00)86)?1(?:(?:3[\d])|(?:4[5-7|9])|(?:5[0-3|5-9])|(?:6[5-7])|(?:7[0-8])|(?:8[\d])|(?:9[1|8|9]))\d{8}$/;
|
72
|
+
|
73
|
+
/**
|
74
|
+
*
|
75
|
+
* level:
|
76
|
+
* - 0 最严格 按照工信部 2019 公布号段
|
77
|
+
* - 1 宽松 3,14,15,16,17,18,19 开头即可
|
78
|
+
* - 2 最宽松,只要是1开头即可
|
79
|
+
*
|
80
|
+
* 较严格验证手机号
|
81
|
+
*
|
82
|
+
*/
|
83
|
+
export var RegMobilePhoneNumberLevel1 = /^(?:(?:\+|00)86)?1[3-9]\d{9}$/;
|
84
|
+
|
85
|
+
/**
|
86
|
+
*
|
87
|
+
* level:
|
88
|
+
* - 0 最严格 按照工信部 2019 公布号段
|
89
|
+
* - 1 宽松 3,14,15,16,17,18,19 开头即可
|
90
|
+
* - 2 最宽松,只要是1开头即可
|
91
|
+
*
|
92
|
+
* 宽松验证手机号
|
93
|
+
*
|
94
|
+
*/
|
95
|
+
export var RegMobilePhoneNumberLevel2 = /^(?:(?:\+|00)86)?1\d{10}$/;
|
96
|
+
|
97
|
+
/**
|
98
|
+
* 日期格式验证 年月日
|
99
|
+
*/
|
100
|
+
export var RegDate = /^\d{4}(-)(1[0-2]|0?\d)\1([0-2]\d|\d|30|31)$/;
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Email 验证
|
104
|
+
*/
|
105
|
+
export var RegEmail = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
106
|
+
|
107
|
+
/**
|
108
|
+
* 座机号码验证
|
109
|
+
*/
|
110
|
+
export var RegTelPhone = /^\d{3}-\d{8}$|^\d{4}-\d{78}$/;
|
111
|
+
|
112
|
+
/**
|
113
|
+
* 验证第一代身份证 15位
|
114
|
+
*/
|
115
|
+
export var RegIDCardNumberV1 = /^[1-9]\d{7}(?:0\d|10|11|12)(?:0[1-9]|[1-2][\d]|30|31)\d{3}$/;
|
116
|
+
|
117
|
+
/**
|
118
|
+
* 验证第二代身份证 18位
|
119
|
+
*/
|
120
|
+
export var RegIDCardNumberV2 = /^[1-9]\d{5}(?:18|19|20)\d{2}(?:0[1-9]|10|11|12)(?:0[1-9]|[1-2]\d|30|31)\d{3}[\dXx]$/;
|
121
|
+
|
122
|
+
/**
|
123
|
+
* 验证第一代和第二代身份证 15、18位
|
124
|
+
*/
|
125
|
+
export var RegIDCardNumberV1AndV2 = /(^\d{8}(0\d|10|11|12)([0-2]\d|30|31)\d{3}$)|(^\d{6}(18|19|20)\d{2}(0[1-9]|10|11|12)([0-2]\d|30|31)\d{3}(\d|X|x)$)/;
|
126
|
+
|
127
|
+
/**
|
128
|
+
* 数据来源
|
129
|
+
* [AnyRule](https://github.com/any86/any-rule)
|
130
|
+
*/
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { useCallback, useMemo } from 'react';
|
2
|
+
import { BUBU100_CACHE_AUTH_BUTTON_KEY } from "../constant";
|
3
|
+
var cacheButtonAuth = sessionStorage.getItem(BUBU100_CACHE_AUTH_BUTTON_KEY);
|
4
|
+
var resolveCodeList = [];
|
5
|
+
if (cacheButtonAuth) {
|
6
|
+
resolveCodeList = JSON.parse(cacheButtonAuth).resolveCodeList || [];
|
7
|
+
}
|
8
|
+
export var useAuth = function useAuth() {
|
9
|
+
var authKeyArray = useMemo(function () {
|
10
|
+
return resolveCodeList;
|
11
|
+
}, []);
|
12
|
+
var hasAuth = useCallback(function () {
|
13
|
+
var authCode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
14
|
+
if (!authCode) return true;
|
15
|
+
if (resolveCodeList.length === 0) return false;
|
16
|
+
return resolveCodeList.includes(authCode);
|
17
|
+
}, []);
|
18
|
+
return {
|
19
|
+
hasAuth: hasAuth,
|
20
|
+
authKeyArray: authKeyArray
|
21
|
+
};
|
22
|
+
};
|