giime 0.6.17 → 0.6.19
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/dist/index.css +53 -53
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/index.d.ts +2 -0
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/index.mjs +3 -0
- package/es/api/{basic/interface → guardBasic/controller/JiChuFuWu/BiZhongGuanLi}/index.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/postBasicV1CurrencyListAll.d.ts +19 -0
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/postBasicV1CurrencyListAll.mjs +8 -0
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/postBasicV1CurrencyListAll.mjs.map +1 -0
- package/{lib/api/basic/controller/Common/usePostCommonV1CurrencyList.d.ts → es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.d.ts} +47 -20
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.mjs +18 -0
- package/es/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/index.d.ts +2 -0
- package/es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/index.mjs +3 -0
- package/es/api/{basic/controller/Common → guardBasic/controller/JiChuFuWu/JiaoSeGuanLi}/index.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/postBasicV1RoleList.d.ts +14 -0
- package/es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/postBasicV1RoleList.mjs +8 -0
- package/es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/postBasicV1RoleList.mjs.map +1 -0
- package/{lib/api/basic/controller/UserCenter/usePostUserCenterV1RoleList.d.ts → es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.d.ts} +22 -20
- package/es/api/{basic/controller/Common/usePostCommonV1SystemList.mjs → guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.mjs} +5 -5
- package/es/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/index.d.ts +2 -0
- package/es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/index.mjs +3 -0
- package/es/api/{basic/controller/UserCenter → guardBasic/controller/JiChuFuWu/QuYuGuanLi}/index.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/postBasicV1CountryList.d.ts +18 -0
- package/es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/postBasicV1CountryList.mjs +8 -0
- package/es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/postBasicV1CountryList.mjs.map +1 -0
- package/{lib/api/basic/controller/UserCenter/usePostUserCenterV1OrgList.d.ts → es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.d.ts} +60 -19
- package/es/api/{basic/controller/UserCenter/usePostUserCenterV1OrgList.mjs → guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.mjs} +5 -5
- package/es/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.d.ts +2 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.mjs +3 -0
- package/es/api/{basic → guardBasic/controller/JiChuFuWu/TuanDuiGuanLi}/index.mjs.map +1 -1
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaList.d.ts +17 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaList.mjs +8 -0
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaList.mjs.map +1 -0
- package/es/api/{basic/controller/UserCenter/usePostUserCenterV1AreaList.d.ts → guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.d.ts} +47 -48
- package/es/api/{basic/controller/UserCenter/usePostUserCenterV1AreaList.mjs → guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.mjs} +5 -5
- package/es/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/index.d.ts +2 -0
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/index.mjs +3 -0
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/index.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/postBasicV1SystemListAll.d.ts +15 -0
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/postBasicV1SystemListAll.mjs +8 -0
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/postBasicV1SystemListAll.mjs.map +1 -0
- package/{lib/api/basic/controller/Common/usePostCommonV1SystemList.d.ts → es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.d.ts} +32 -33
- package/es/api/{basic/controller/Common/usePostCommonV1CountryList.mjs → guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.mjs} +5 -5
- package/es/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/postBasicV1UserListUserOrg.d.ts +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/usePostBasicV1UserListUserOrg.d.ts +14 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/index.d.ts +2 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/index.mjs +3 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/index.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/postBasicV1LanguageListAll.d.ts +19 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/postBasicV1LanguageListAll.mjs +8 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/postBasicV1LanguageListAll.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.d.ts +206 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.mjs +18 -0
- package/es/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/index.d.ts +4 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/index.mjs +5 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/index.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgDeptList.d.ts +21 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgDeptList.mjs +8 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgDeptList.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgFamilyList.d.ts +15 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgFamilyList.mjs +8 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgFamilyList.mjs.map +1 -0
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.d.ts +220 -0
- package/es/api/{basic/controller/Common/usePostCommonV1CurrencyList.mjs → guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.mjs} +5 -5
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.mjs.map +1 -0
- package/es/api/{basic/controller/Common/usePostCommonV1CountryList.d.ts → guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.d.ts} +18 -19
- package/es/api/{basic/controller/UserCenter/usePostUserCenterV1RoleList.mjs → guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.mjs} +5 -5
- package/es/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.mjs.map +1 -0
- package/es/api/guardBasic/controller/index.d.ts +7 -0
- package/es/api/guardBasic/controller/index.mjs +23 -0
- package/es/api/guardBasic/controller/index.mjs.map +1 -1
- package/es/api/guardBasic/interface/apiTypes/AreaListQuery.d.ts +8 -0
- package/es/api/guardBasic/interface/apiTypes/AreaListQuery.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/AreaListQuery.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/AreaListQuery19.d.ts +8 -0
- package/es/api/guardBasic/interface/apiTypes/AreaListQuery19.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/AreaListQuery19.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/AuthTabListVo.d.ts +2 -2
- package/es/api/guardBasic/interface/apiTypes/CountryOpenVo.d.ts +14 -0
- package/es/api/guardBasic/interface/apiTypes/CountryOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/CountryOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/CountryOpenVo17.d.ts +14 -0
- package/es/api/guardBasic/interface/apiTypes/CountryOpenVo17.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/CountryOpenVo17.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/CurrencyOpenVo.d.ts +16 -0
- package/es/api/guardBasic/interface/apiTypes/CurrencyOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/CurrencyOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/CurrencyOpenVo15.d.ts +16 -0
- package/es/api/guardBasic/interface/apiTypes/CurrencyOpenVo15.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/CurrencyOpenVo15.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/GkFamilyVo.d.ts +8 -0
- package/es/api/guardBasic/interface/apiTypes/GkFamilyVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/GkFamilyVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/GkFamilyVo11.d.ts +8 -0
- package/es/api/guardBasic/interface/apiTypes/GkFamilyVo11.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/GkFamilyVo11.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/GkOrgTree2Dto.d.ts +4 -2
- package/es/api/guardBasic/interface/apiTypes/GkOrgTreeDto.d.ts +4 -2
- package/es/api/guardBasic/interface/apiTypes/GkOrgTreeDto4.d.ts +25 -0
- package/es/api/guardBasic/interface/apiTypes/GkOrgTreeDto4.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/GkOrgTreeDto4.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/IdNameKv.d.ts +2 -2
- package/es/api/guardBasic/interface/apiTypes/IdNameKv2.d.ts +6 -0
- package/es/api/guardBasic/interface/apiTypes/IdNameKv2.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/IdNameKv2.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/IdNameKvStr.d.ts +6 -0
- package/es/api/guardBasic/interface/apiTypes/IdNameKvStr.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/IdNameKvStr.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/LanguageOpenVo.d.ts +16 -0
- package/es/api/guardBasic/interface/apiTypes/LanguageOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/LanguageOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/LanguageOpenVo13.d.ts +16 -0
- package/es/api/guardBasic/interface/apiTypes/LanguageOpenVo13.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/LanguageOpenVo13.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/ModifyCurrencyStatusReq.d.ts +6 -0
- package/es/api/guardBasic/interface/apiTypes/ModifyCurrencyStatusReq.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/ModifyCurrencyStatusReq.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/ModifySysAreaReq.d.ts +2 -0
- package/es/api/guardBasic/interface/apiTypes/OpenMenuTreeDto.d.ts +13 -0
- package/es/api/guardBasic/interface/apiTypes/OpenMenuTreeDto.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/OpenMenuTreeDto.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/OpenMenuTreeQuery.d.ts +4 -0
- package/es/api/guardBasic/interface/apiTypes/OpenMenuTreeQuery.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/OpenMenuTreeQuery.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/OpenOrgTreeDto.d.ts +18 -0
- package/es/api/guardBasic/interface/apiTypes/OpenOrgTreeDto.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/OpenOrgTreeDto.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/OpenOrgTreeDto9.d.ts +18 -0
- package/es/api/guardBasic/interface/apiTypes/OpenOrgTreeDto9.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/OpenOrgTreeDto9.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/OpenUserPageQuery.d.ts +27 -0
- package/es/api/guardBasic/interface/apiTypes/OpenUserPageQuery.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/OpenUserPageQuery.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/OpenUserRoleVo.d.ts +6 -0
- package/es/api/guardBasic/interface/apiTypes/OpenUserRoleVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/OpenUserRoleVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/OpenUserVo.d.ts +17 -0
- package/es/api/guardBasic/interface/apiTypes/OpenUserVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/OpenUserVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/PageOpenUserVo.d.ts +17 -0
- package/es/api/guardBasic/interface/apiTypes/PageOpenUserVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/PageOpenUserVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/QueryUserVo.d.ts +12 -0
- package/es/api/guardBasic/interface/apiTypes/QueryUserVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/QueryUserVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/QueryUserVo1.d.ts +12 -0
- package/es/api/guardBasic/interface/apiTypes/QueryUserVo1.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/QueryUserVo1.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionGkOrgTreeDto.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionGkOrgTreeDto.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionGkOrgTreeDto.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionOpenMenuTreeDto.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionOpenMenuTreeDto.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionOpenMenuTreeDto.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto10.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto10.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto10.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListCountryOpenVo.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListCountryOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListCountryOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListCountryOpenVo18.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListCountryOpenVo18.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListCountryOpenVo18.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo16.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo16.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo16.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListGkFamilyVo.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListGkFamilyVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListGkFamilyVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListGkFamilyVo12.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListGkFamilyVo12.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListGkFamilyVo12.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListIdNameKv3.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListIdNameKv3.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListIdNameKv3.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListLanguageOpenVo.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListLanguageOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListLanguageOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListLanguageOpenVo14.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListLanguageOpenVo14.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListLanguageOpenVo14.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo20.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo20.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo20.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListSystemOpenVo.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListSystemOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListSystemOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RListSystemOpenVo6.d.ts +11 -0
- package/es/api/guardBasic/interface/apiTypes/RListSystemOpenVo6.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RListSystemOpenVo6.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/RPageOpenUserVo.d.ts +10 -0
- package/es/api/guardBasic/interface/apiTypes/RPageOpenUserVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/RPageOpenUserVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/SaveSysAreaReq.d.ts +2 -0
- package/es/api/guardBasic/interface/apiTypes/Sort5.d.ts +6 -0
- package/es/api/guardBasic/interface/apiTypes/Sort5.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/Sort5.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaDetailVo.d.ts +2 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaOpenVo.d.ts +10 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaOpenVo21.d.ts +10 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaOpenVo21.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaOpenVo21.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/SysAreaVo.d.ts +2 -0
- package/es/api/guardBasic/interface/apiTypes/SystemOpenVo.d.ts +8 -0
- package/es/api/guardBasic/interface/apiTypes/SystemOpenVo.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/SystemOpenVo.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/SystemOpenVo7.d.ts +8 -0
- package/es/api/guardBasic/interface/apiTypes/SystemOpenVo7.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/SystemOpenVo7.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/TreeListReq.d.ts +6 -0
- package/es/api/guardBasic/interface/apiTypes/TreeListReq.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/TreeListReq.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/TreeListReq8.d.ts +6 -0
- package/es/api/guardBasic/interface/apiTypes/TreeListReq8.mjs +2 -0
- package/es/api/guardBasic/interface/apiTypes/TreeListReq8.mjs.map +1 -0
- package/es/api/guardBasic/interface/apiTypes/UserOrgVo.d.ts +3 -1
- package/es/api/guardBasic/interface/index.d.ts +49 -0
- package/es/api/guardBasic/interface/index.mjs +49 -0
- package/es/api/guardBasic/interface/index.mjs.map +1 -1
- package/es/api/index.d.ts +0 -1
- package/es/api/index.mjs +0 -21
- package/es/api/index.mjs.map +1 -1
- package/es/api/utils/resetAxiosBaseUrl.mjs.map +1 -1
- package/es/giime/index.mjs +4 -2
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/hooks/base/index.d.ts +1 -0
- package/es/hooks/base/index.mjs +1 -0
- package/es/hooks/base/index.mjs.map +1 -1
- package/es/hooks/base/useAxios/index.d.ts +103 -0
- package/es/hooks/base/useAxios/index.mjs +121 -0
- package/es/hooks/base/useAxios/index.mjs.map +1 -0
- package/es/hooks/index.mjs +2 -1
- package/es/hooks/index.mjs.map +1 -1
- package/es/hooks/store/common/index.d.ts +1 -0
- package/es/hooks/store/common/index.mjs +1 -0
- package/es/hooks/store/common/index.mjs.map +1 -1
- package/es/hooks/store/common/useCountryList/index.d.ts +4 -4
- package/es/hooks/store/common/useCountryList/index.mjs +3 -3
- package/es/hooks/store/common/useCountryList/index.mjs.map +1 -1
- package/es/hooks/store/common/useCurrencyList/index.d.ts +4 -4
- package/es/hooks/store/common/useCurrencyList/index.mjs +3 -3
- package/es/hooks/store/common/useCurrencyList/index.mjs.map +1 -1
- package/es/hooks/store/{useLangList → common/useLangList}/index.d.ts +4 -4
- package/es/hooks/store/{useLangList → common/useLangList}/index.mjs +4 -4
- package/es/hooks/store/common/useLangList/index.mjs.map +1 -0
- package/es/hooks/store/common/useSystemList/index.d.ts +15 -15
- package/es/hooks/store/common/useSystemList/index.mjs +3 -3
- package/es/hooks/store/common/useSystemList/index.mjs.map +1 -1
- package/es/hooks/store/index.d.ts +0 -1
- package/es/hooks/store/index.mjs +1 -1
- package/es/hooks/store/useLineList/index.d.ts +1 -1
- package/es/hooks/store/useOrgUserList/index.d.ts +9 -0
- package/es/hooks/store/userCenter/useAreaList/index.d.ts +24 -24
- package/es/hooks/store/userCenter/useAreaList/index.mjs +3 -3
- package/es/hooks/store/userCenter/useAreaList/index.mjs.map +1 -1
- package/es/hooks/store/userCenter/useOrgList/index.d.ts +4 -4
- package/es/hooks/store/userCenter/useOrgList/index.mjs +3 -3
- package/es/hooks/store/userCenter/useOrgList/index.mjs.map +1 -1
- package/es/hooks/store/userCenter/useOrgTreeList/index.d.ts +15 -339
- package/es/hooks/store/userCenter/useOrgTreeList/index.mjs +3 -3
- package/es/hooks/store/userCenter/useOrgTreeList/index.mjs.map +1 -1
- package/es/hooks/store/userCenter/useRoleList/index.d.ts +4 -4
- package/es/hooks/store/userCenter/useRoleList/index.mjs +3 -3
- package/es/hooks/store/userCenter/useRoleList/index.mjs.map +1 -1
- package/es/index.css +53 -53
- package/es/utils/index.d.ts +1 -0
- package/es/utils/index.mjs +2 -1
- package/es/utils/index.mjs.map +1 -1
- package/es/utils/src/array.d.ts +8 -0
- package/es/utils/src/array.mjs +8 -0
- package/es/utils/src/array.mjs.map +1 -0
- package/es/utils/src/objects.d.ts +7 -0
- package/es/utils/src/objects.mjs +14 -1
- package/es/utils/src/objects.mjs.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/index.d.ts +2 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/index.js +10 -0
- package/lib/api/{basic/interface → guardBasic/controller/JiChuFuWu/BiZhongGuanLi}/index.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/postBasicV1CurrencyListAll.d.ts +19 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/postBasicV1CurrencyListAll.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/postBasicV1CurrencyListAll.js.map +1 -0
- package/{es/api/basic/controller/Common/usePostCommonV1CurrencyList.d.ts → lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.d.ts} +47 -20
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.js +20 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/index.d.ts +2 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/index.js +10 -0
- package/lib/api/{basic/controller/Common → guardBasic/controller/JiChuFuWu/JiaoSeGuanLi}/index.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/postBasicV1RoleList.d.ts +14 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/postBasicV1RoleList.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/postBasicV1RoleList.js.map +1 -0
- package/{es/api/basic/controller/UserCenter/usePostUserCenterV1RoleList.d.ts → lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.d.ts} +22 -20
- package/lib/api/{basic/controller/Common/usePostCommonV1SystemList.js → guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.js} +5 -5
- package/lib/api/guardBasic/controller/JiChuFuWu/JiaoSeGuanLi/usePostBasicV1RoleList.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/index.d.ts +2 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/index.js +10 -0
- package/lib/api/{basic/controller/UserCenter → guardBasic/controller/JiChuFuWu/QuYuGuanLi}/index.js.map +1 -1
- package/lib/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/postBasicV1CountryList.d.ts +18 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/postBasicV1CountryList.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/postBasicV1CountryList.js.map +1 -0
- package/lib/api/{basic/controller/Common/usePostCommonV1CountryList.d.ts → guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.d.ts} +60 -19
- package/lib/api/{basic/controller/Common/usePostCommonV1CountryList.js → guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.js} +5 -5
- package/lib/api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.d.ts +2 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/index.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaList.d.ts +17 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaList.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/postBasicV1SysAreaList.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.d.ts +164 -0
- package/lib/api/{basic/controller/UserCenter/usePostUserCenterV1AreaList.js → guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.js} +5 -5
- package/lib/api/guardBasic/controller/JiChuFuWu/TuanDuiGuanLi/usePostBasicV1SysAreaList.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/index.d.ts +2 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/index.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/index.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/postBasicV1SystemListAll.d.ts +15 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/postBasicV1SystemListAll.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/postBasicV1SystemListAll.js.map +1 -0
- package/{es/api/basic/controller/Common/usePostCommonV1SystemList.d.ts → lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.d.ts} +32 -33
- package/lib/api/{basic/controller/UserCenter/usePostUserCenterV1OrgList.js → guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.js} +5 -5
- package/lib/api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/postBasicV1UserListUserOrg.d.ts +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YongHuGuanLi/usePostBasicV1UserListUserOrg.d.ts +14 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/index.d.ts +2 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/index.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/index.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/postBasicV1LanguageListAll.d.ts +19 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/postBasicV1LanguageListAll.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/postBasicV1LanguageListAll.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.d.ts +206 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.js +20 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/usePostBasicV1LanguageListAll.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/index.d.ts +4 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/index.js +14 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/index.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgDeptList.d.ts +21 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgDeptList.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgDeptList.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgFamilyList.d.ts +15 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgFamilyList.js +10 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/postBasicV1OrgFamilyList.js.map +1 -0
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.d.ts +220 -0
- package/lib/api/{basic/controller/Common/usePostCommonV1CurrencyList.js → guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.js} +5 -5
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgDeptList.js.map +1 -0
- package/{es/api/basic/controller/UserCenter/usePostUserCenterV1OrgList.d.ts → lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.d.ts} +18 -19
- package/lib/api/{basic/controller/UserCenter/usePostUserCenterV1RoleList.js → guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.js} +5 -5
- package/lib/api/guardBasic/controller/JiChuFuWu/ZuZhiGuanLi/usePostBasicV1OrgFamilyList.js.map +1 -0
- package/lib/api/guardBasic/controller/index.d.ts +7 -0
- package/lib/api/guardBasic/controller/index.js +39 -0
- package/lib/api/guardBasic/controller/index.js.map +1 -1
- package/lib/api/guardBasic/interface/apiTypes/AreaListQuery.d.ts +8 -0
- package/lib/api/guardBasic/interface/apiTypes/AreaListQuery.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/AreaListQuery.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/AreaListQuery19.d.ts +8 -0
- package/lib/api/guardBasic/interface/apiTypes/AreaListQuery19.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/AreaListQuery19.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/AuthTabListVo.d.ts +2 -2
- package/lib/api/guardBasic/interface/apiTypes/CountryOpenVo.d.ts +14 -0
- package/lib/api/guardBasic/interface/apiTypes/CountryOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/CountryOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/CountryOpenVo17.d.ts +14 -0
- package/lib/api/guardBasic/interface/apiTypes/CountryOpenVo17.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/CountryOpenVo17.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/CurrencyOpenVo.d.ts +16 -0
- package/lib/api/guardBasic/interface/apiTypes/CurrencyOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/CurrencyOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/CurrencyOpenVo15.d.ts +16 -0
- package/lib/api/guardBasic/interface/apiTypes/CurrencyOpenVo15.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/CurrencyOpenVo15.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/GkFamilyVo.d.ts +8 -0
- package/lib/api/guardBasic/interface/apiTypes/GkFamilyVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/GkFamilyVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/GkFamilyVo11.d.ts +8 -0
- package/lib/api/guardBasic/interface/apiTypes/GkFamilyVo11.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/GkFamilyVo11.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/GkOrgTree2Dto.d.ts +4 -2
- package/lib/api/guardBasic/interface/apiTypes/GkOrgTreeDto.d.ts +4 -2
- package/lib/api/guardBasic/interface/apiTypes/GkOrgTreeDto4.d.ts +25 -0
- package/lib/api/guardBasic/interface/apiTypes/GkOrgTreeDto4.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/GkOrgTreeDto4.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/IdNameKv.d.ts +2 -2
- package/lib/api/guardBasic/interface/apiTypes/IdNameKv2.d.ts +6 -0
- package/lib/api/guardBasic/interface/apiTypes/IdNameKv2.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/IdNameKv2.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/IdNameKvStr.d.ts +6 -0
- package/lib/api/guardBasic/interface/apiTypes/IdNameKvStr.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/IdNameKvStr.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/LanguageOpenVo.d.ts +16 -0
- package/lib/api/guardBasic/interface/apiTypes/LanguageOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/LanguageOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/LanguageOpenVo13.d.ts +16 -0
- package/lib/api/guardBasic/interface/apiTypes/LanguageOpenVo13.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/LanguageOpenVo13.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/ModifyCurrencyStatusReq.d.ts +6 -0
- package/lib/api/guardBasic/interface/apiTypes/ModifyCurrencyStatusReq.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/ModifyCurrencyStatusReq.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/ModifySysAreaReq.d.ts +2 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenMenuTreeDto.d.ts +13 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenMenuTreeDto.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenMenuTreeDto.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenMenuTreeQuery.d.ts +4 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenMenuTreeQuery.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenMenuTreeQuery.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenOrgTreeDto.d.ts +18 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenOrgTreeDto.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenOrgTreeDto.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenOrgTreeDto9.d.ts +18 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenOrgTreeDto9.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenOrgTreeDto9.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenUserPageQuery.d.ts +27 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenUserPageQuery.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenUserPageQuery.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenUserRoleVo.d.ts +6 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenUserRoleVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenUserRoleVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenUserVo.d.ts +17 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenUserVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/OpenUserVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/PageOpenUserVo.d.ts +17 -0
- package/lib/api/guardBasic/interface/apiTypes/PageOpenUserVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/PageOpenUserVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/QueryUserVo.d.ts +12 -0
- package/lib/api/guardBasic/interface/apiTypes/QueryUserVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/QueryUserVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/QueryUserVo1.d.ts +12 -0
- package/lib/api/guardBasic/interface/apiTypes/QueryUserVo1.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/QueryUserVo1.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionGkOrgTreeDto.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionGkOrgTreeDto.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionGkOrgTreeDto.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionOpenMenuTreeDto.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionOpenMenuTreeDto.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionOpenMenuTreeDto.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto10.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto10.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RCollectionOpenOrgTreeDto10.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCountryOpenVo.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCountryOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCountryOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCountryOpenVo18.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCountryOpenVo18.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCountryOpenVo18.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo16.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo16.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListCurrencyOpenVo16.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListGkFamilyVo.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListGkFamilyVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListGkFamilyVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListGkFamilyVo12.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListGkFamilyVo12.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListGkFamilyVo12.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListIdNameKv3.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListIdNameKv3.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListIdNameKv3.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListLanguageOpenVo.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListLanguageOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListLanguageOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListLanguageOpenVo14.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListLanguageOpenVo14.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListLanguageOpenVo14.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo20.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo20.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSysAreaOpenVo20.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSystemOpenVo.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSystemOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSystemOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSystemOpenVo6.d.ts +11 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSystemOpenVo6.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RListSystemOpenVo6.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/RPageOpenUserVo.d.ts +10 -0
- package/lib/api/guardBasic/interface/apiTypes/RPageOpenUserVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/RPageOpenUserVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/SaveSysAreaReq.d.ts +2 -0
- package/lib/api/guardBasic/interface/apiTypes/Sort5.d.ts +6 -0
- package/lib/api/guardBasic/interface/apiTypes/Sort5.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/Sort5.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaDetailVo.d.ts +2 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaOpenVo.d.ts +10 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaOpenVo21.d.ts +10 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaOpenVo21.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaOpenVo21.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/SysAreaVo.d.ts +2 -0
- package/lib/api/guardBasic/interface/apiTypes/SystemOpenVo.d.ts +8 -0
- package/lib/api/guardBasic/interface/apiTypes/SystemOpenVo.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/SystemOpenVo.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/SystemOpenVo7.d.ts +8 -0
- package/lib/api/guardBasic/interface/apiTypes/SystemOpenVo7.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/SystemOpenVo7.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/TreeListReq.d.ts +6 -0
- package/lib/api/guardBasic/interface/apiTypes/TreeListReq.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/TreeListReq.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/TreeListReq8.d.ts +6 -0
- package/lib/api/guardBasic/interface/apiTypes/TreeListReq8.js +3 -0
- package/lib/api/guardBasic/interface/apiTypes/TreeListReq8.js.map +1 -0
- package/lib/api/guardBasic/interface/apiTypes/UserOrgVo.d.ts +3 -1
- package/lib/api/guardBasic/interface/index.d.ts +49 -0
- package/lib/api/guardBasic/interface/index.js +49 -0
- package/lib/api/guardBasic/interface/index.js.map +1 -1
- package/lib/api/index.d.ts +0 -1
- package/lib/api/index.js +0 -41
- package/lib/api/index.js.map +1 -1
- package/lib/api/utils/resetAxiosBaseUrl.js.map +1 -1
- package/lib/giime/index.js +19 -14
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/hooks/base/index.d.ts +1 -0
- package/lib/hooks/base/index.js +2 -0
- package/lib/hooks/base/index.js.map +1 -1
- package/lib/hooks/base/useAxios/index.d.ts +103 -0
- package/lib/hooks/base/useAxios/index.js +123 -0
- package/lib/hooks/base/useAxios/index.js.map +1 -0
- package/lib/hooks/index.js +16 -14
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/store/common/index.d.ts +1 -0
- package/lib/hooks/store/common/index.js +2 -0
- package/lib/hooks/store/common/index.js.map +1 -1
- package/lib/hooks/store/common/useCountryList/index.d.ts +4 -4
- package/lib/hooks/store/common/useCountryList/index.js +3 -3
- package/lib/hooks/store/common/useCountryList/index.js.map +1 -1
- package/lib/hooks/store/common/useCurrencyList/index.d.ts +4 -4
- package/lib/hooks/store/common/useCurrencyList/index.js +3 -3
- package/lib/hooks/store/common/useCurrencyList/index.js.map +1 -1
- package/lib/hooks/store/{useLangList → common/useLangList}/index.d.ts +4 -4
- package/lib/hooks/store/{useLangList → common/useLangList}/index.js +4 -4
- package/lib/hooks/store/common/useLangList/index.js.map +1 -0
- package/lib/hooks/store/common/useSystemList/index.d.ts +15 -15
- package/lib/hooks/store/common/useSystemList/index.js +3 -3
- package/lib/hooks/store/common/useSystemList/index.js.map +1 -1
- package/lib/hooks/store/index.d.ts +0 -1
- package/lib/hooks/store/index.js +24 -24
- package/lib/hooks/store/useLineList/index.d.ts +1 -1
- package/lib/hooks/store/useOrgUserList/index.d.ts +9 -0
- package/lib/hooks/store/userCenter/useAreaList/index.d.ts +24 -24
- package/lib/hooks/store/userCenter/useAreaList/index.js +3 -3
- package/lib/hooks/store/userCenter/useAreaList/index.js.map +1 -1
- package/lib/hooks/store/userCenter/useOrgList/index.d.ts +4 -4
- package/lib/hooks/store/userCenter/useOrgList/index.js +3 -3
- package/lib/hooks/store/userCenter/useOrgList/index.js.map +1 -1
- package/lib/hooks/store/userCenter/useOrgTreeList/index.d.ts +15 -339
- package/lib/hooks/store/userCenter/useOrgTreeList/index.js +3 -3
- package/lib/hooks/store/userCenter/useOrgTreeList/index.js.map +1 -1
- package/lib/hooks/store/userCenter/useRoleList/index.d.ts +4 -4
- package/lib/hooks/store/userCenter/useRoleList/index.js +3 -3
- package/lib/hooks/store/userCenter/useRoleList/index.js.map +1 -1
- package/lib/index.css +53 -53
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +3 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/src/array.d.ts +8 -0
- package/lib/utils/src/array.js +10 -0
- package/lib/utils/src/array.js.map +1 -0
- package/lib/utils/src/objects.d.ts +7 -0
- package/lib/utils/src/objects.js +14 -0
- package/lib/utils/src/objects.js.map +1 -1
- package/package.json +1 -1
- package/es/api/basic/controller/Common/index.d.ts +0 -8
- package/es/api/basic/controller/Common/index.mjs +0 -9
- package/es/api/basic/controller/Common/postCommonV1CountryList.d.ts +0 -33
- package/es/api/basic/controller/Common/postCommonV1CountryList.mjs +0 -8
- package/es/api/basic/controller/Common/postCommonV1CountryList.mjs.map +0 -1
- package/es/api/basic/controller/Common/postCommonV1CurrencyList.d.ts +0 -41
- package/es/api/basic/controller/Common/postCommonV1CurrencyList.mjs +0 -8
- package/es/api/basic/controller/Common/postCommonV1CurrencyList.mjs.map +0 -1
- package/es/api/basic/controller/Common/postCommonV1ExchangeRateList.d.ts +0 -40
- package/es/api/basic/controller/Common/postCommonV1ExchangeRateList.mjs +0 -8
- package/es/api/basic/controller/Common/postCommonV1ExchangeRateList.mjs.map +0 -1
- package/es/api/basic/controller/Common/postCommonV1SystemList.d.ts +0 -33
- package/es/api/basic/controller/Common/postCommonV1SystemList.mjs +0 -8
- package/es/api/basic/controller/Common/postCommonV1SystemList.mjs.map +0 -1
- package/es/api/basic/controller/Common/usePostCommonV1CountryList.mjs.map +0 -1
- package/es/api/basic/controller/Common/usePostCommonV1CurrencyList.mjs.map +0 -1
- package/es/api/basic/controller/Common/usePostCommonV1ExchangeRateList.d.ts +0 -165
- package/es/api/basic/controller/Common/usePostCommonV1ExchangeRateList.mjs +0 -18
- package/es/api/basic/controller/Common/usePostCommonV1ExchangeRateList.mjs.map +0 -1
- package/es/api/basic/controller/Common/usePostCommonV1SystemList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/index.d.ts +0 -12
- package/es/api/basic/controller/UserCenter/index.mjs +0 -13
- package/es/api/basic/controller/UserCenter/postUserCenterV1AreaList.d.ts +0 -40
- package/es/api/basic/controller/UserCenter/postUserCenterV1AreaList.mjs +0 -8
- package/es/api/basic/controller/UserCenter/postUserCenterV1AreaList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/postUserCenterV1EmployeeList.d.ts +0 -83
- package/es/api/basic/controller/UserCenter/postUserCenterV1EmployeeList.mjs +0 -8
- package/es/api/basic/controller/UserCenter/postUserCenterV1EmployeeList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/postUserCenterV1MenuList.d.ts +0 -78
- package/es/api/basic/controller/UserCenter/postUserCenterV1MenuList.mjs +0 -8
- package/es/api/basic/controller/UserCenter/postUserCenterV1MenuList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/postUserCenterV1OrgList.d.ts +0 -33
- package/es/api/basic/controller/UserCenter/postUserCenterV1OrgList.mjs +0 -8
- package/es/api/basic/controller/UserCenter/postUserCenterV1OrgList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/postUserCenterV1OrgTreeList.d.ts +0 -127
- package/es/api/basic/controller/UserCenter/postUserCenterV1OrgTreeList.mjs +0 -8
- package/es/api/basic/controller/UserCenter/postUserCenterV1OrgTreeList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/postUserCenterV1RoleList.d.ts +0 -30
- package/es/api/basic/controller/UserCenter/postUserCenterV1RoleList.mjs +0 -8
- package/es/api/basic/controller/UserCenter/postUserCenterV1RoleList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1AreaList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1EmployeeList.d.ts +0 -333
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1EmployeeList.mjs +0 -18
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1EmployeeList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1MenuList.d.ts +0 -347
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1MenuList.mjs +0 -18
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1MenuList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1OrgList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1OrgTreeList.d.ts +0 -725
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1OrgTreeList.mjs +0 -18
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1OrgTreeList.mjs.map +0 -1
- package/es/api/basic/controller/UserCenter/usePostUserCenterV1RoleList.mjs.map +0 -1
- package/es/api/basic/controller/index.d.ts +0 -2
- package/es/api/basic/controller/index.mjs +0 -23
- package/es/api/basic/controller/index.mjs.map +0 -1
- package/es/api/basic/index.d.ts +0 -1
- package/es/api/basic/index.mjs +0 -22
- package/es/api/basic/interface/index.d.ts +0 -4
- package/es/api/basic/interface/index.mjs +0 -2
- package/es/api/basic/request.d.ts +0 -2
- package/es/api/basic/request.mjs +0 -21
- package/es/api/basic/request.mjs.map +0 -1
- package/es/hooks/store/useLangList/index.mjs.map +0 -1
- package/lib/api/basic/controller/Common/index.d.ts +0 -8
- package/lib/api/basic/controller/Common/index.js +0 -22
- package/lib/api/basic/controller/Common/postCommonV1CountryList.d.ts +0 -33
- package/lib/api/basic/controller/Common/postCommonV1CountryList.js +0 -10
- package/lib/api/basic/controller/Common/postCommonV1CountryList.js.map +0 -1
- package/lib/api/basic/controller/Common/postCommonV1CurrencyList.d.ts +0 -41
- package/lib/api/basic/controller/Common/postCommonV1CurrencyList.js +0 -10
- package/lib/api/basic/controller/Common/postCommonV1CurrencyList.js.map +0 -1
- package/lib/api/basic/controller/Common/postCommonV1ExchangeRateList.d.ts +0 -40
- package/lib/api/basic/controller/Common/postCommonV1ExchangeRateList.js +0 -10
- package/lib/api/basic/controller/Common/postCommonV1ExchangeRateList.js.map +0 -1
- package/lib/api/basic/controller/Common/postCommonV1SystemList.d.ts +0 -33
- package/lib/api/basic/controller/Common/postCommonV1SystemList.js +0 -10
- package/lib/api/basic/controller/Common/postCommonV1SystemList.js.map +0 -1
- package/lib/api/basic/controller/Common/usePostCommonV1CountryList.js.map +0 -1
- package/lib/api/basic/controller/Common/usePostCommonV1CurrencyList.js.map +0 -1
- package/lib/api/basic/controller/Common/usePostCommonV1ExchangeRateList.d.ts +0 -165
- package/lib/api/basic/controller/Common/usePostCommonV1ExchangeRateList.js +0 -20
- package/lib/api/basic/controller/Common/usePostCommonV1ExchangeRateList.js.map +0 -1
- package/lib/api/basic/controller/Common/usePostCommonV1SystemList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/index.d.ts +0 -12
- package/lib/api/basic/controller/UserCenter/index.js +0 -30
- package/lib/api/basic/controller/UserCenter/postUserCenterV1AreaList.d.ts +0 -40
- package/lib/api/basic/controller/UserCenter/postUserCenterV1AreaList.js +0 -10
- package/lib/api/basic/controller/UserCenter/postUserCenterV1AreaList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/postUserCenterV1EmployeeList.d.ts +0 -83
- package/lib/api/basic/controller/UserCenter/postUserCenterV1EmployeeList.js +0 -10
- package/lib/api/basic/controller/UserCenter/postUserCenterV1EmployeeList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/postUserCenterV1MenuList.d.ts +0 -78
- package/lib/api/basic/controller/UserCenter/postUserCenterV1MenuList.js +0 -10
- package/lib/api/basic/controller/UserCenter/postUserCenterV1MenuList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/postUserCenterV1OrgList.d.ts +0 -33
- package/lib/api/basic/controller/UserCenter/postUserCenterV1OrgList.js +0 -10
- package/lib/api/basic/controller/UserCenter/postUserCenterV1OrgList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/postUserCenterV1OrgTreeList.d.ts +0 -127
- package/lib/api/basic/controller/UserCenter/postUserCenterV1OrgTreeList.js +0 -10
- package/lib/api/basic/controller/UserCenter/postUserCenterV1OrgTreeList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/postUserCenterV1RoleList.d.ts +0 -30
- package/lib/api/basic/controller/UserCenter/postUserCenterV1RoleList.js +0 -10
- package/lib/api/basic/controller/UserCenter/postUserCenterV1RoleList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1AreaList.d.ts +0 -165
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1AreaList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1EmployeeList.d.ts +0 -333
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1EmployeeList.js +0 -20
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1EmployeeList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1MenuList.d.ts +0 -347
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1MenuList.js +0 -20
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1MenuList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1OrgList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1OrgTreeList.d.ts +0 -725
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1OrgTreeList.js +0 -20
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1OrgTreeList.js.map +0 -1
- package/lib/api/basic/controller/UserCenter/usePostUserCenterV1RoleList.js.map +0 -1
- package/lib/api/basic/controller/index.d.ts +0 -2
- package/lib/api/basic/controller/index.js +0 -48
- package/lib/api/basic/controller/index.js.map +0 -1
- package/lib/api/basic/index.d.ts +0 -1
- package/lib/api/basic/index.js +0 -47
- package/lib/api/basic/index.js.map +0 -1
- package/lib/api/basic/interface/index.d.ts +0 -4
- package/lib/api/basic/interface/index.js +0 -3
- package/lib/api/basic/request.d.ts +0 -2
- package/lib/api/basic/request.js +0 -25
- package/lib/api/basic/request.js.map +0 -1
- package/lib/hooks/store/useLangList/index.js.map +0 -1
package/lib/api/index.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
require('./gstore/index.js');
|
|
4
4
|
require('./gatewayApi/index.js');
|
|
5
|
-
require('./basic/index.js');
|
|
6
5
|
var getV1BasicGetAreaList = require('./gstore/controller/JiChuXinXi/getV1BasicGetAreaList.js');
|
|
7
6
|
var useGetV1BasicGetAreaList = require('./gstore/controller/JiChuXinXi/useGetV1BasicGetAreaList.js');
|
|
8
7
|
var getV1BasicGetMarketList = require('./gstore/controller/JiChuXinXi/getV1BasicGetMarketList.js');
|
|
@@ -45,26 +44,6 @@ var postWhlProductBacklogOrderCnt = require('./gatewayApi/controller/default/pos
|
|
|
45
44
|
var usePostWhlProductBacklogOrderCnt = require('./gatewayApi/controller/default/usePostWhlProductBacklogOrderCnt.js');
|
|
46
45
|
var postMarMarCreativeStoryDi = require('./gatewayApi/controller/default/postMarMarCreativeStoryDi.js');
|
|
47
46
|
var usePostMarMarCreativeStoryDi = require('./gatewayApi/controller/default/usePostMarMarCreativeStoryDi.js');
|
|
48
|
-
var postCommonV1CurrencyList = require('./basic/controller/Common/postCommonV1CurrencyList.js');
|
|
49
|
-
var usePostCommonV1CurrencyList = require('./basic/controller/Common/usePostCommonV1CurrencyList.js');
|
|
50
|
-
var postCommonV1CountryList = require('./basic/controller/Common/postCommonV1CountryList.js');
|
|
51
|
-
var usePostCommonV1CountryList = require('./basic/controller/Common/usePostCommonV1CountryList.js');
|
|
52
|
-
var postCommonV1SystemList = require('./basic/controller/Common/postCommonV1SystemList.js');
|
|
53
|
-
var usePostCommonV1SystemList = require('./basic/controller/Common/usePostCommonV1SystemList.js');
|
|
54
|
-
var postCommonV1ExchangeRateList = require('./basic/controller/Common/postCommonV1ExchangeRateList.js');
|
|
55
|
-
var usePostCommonV1ExchangeRateList = require('./basic/controller/Common/usePostCommonV1ExchangeRateList.js');
|
|
56
|
-
var postUserCenterV1OrgList = require('./basic/controller/UserCenter/postUserCenterV1OrgList.js');
|
|
57
|
-
var usePostUserCenterV1OrgList = require('./basic/controller/UserCenter/usePostUserCenterV1OrgList.js');
|
|
58
|
-
var postUserCenterV1AreaList = require('./basic/controller/UserCenter/postUserCenterV1AreaList.js');
|
|
59
|
-
var usePostUserCenterV1AreaList = require('./basic/controller/UserCenter/usePostUserCenterV1AreaList.js');
|
|
60
|
-
var postUserCenterV1RoleList = require('./basic/controller/UserCenter/postUserCenterV1RoleList.js');
|
|
61
|
-
var usePostUserCenterV1RoleList = require('./basic/controller/UserCenter/usePostUserCenterV1RoleList.js');
|
|
62
|
-
var postUserCenterV1EmployeeList = require('./basic/controller/UserCenter/postUserCenterV1EmployeeList.js');
|
|
63
|
-
var usePostUserCenterV1EmployeeList = require('./basic/controller/UserCenter/usePostUserCenterV1EmployeeList.js');
|
|
64
|
-
var postUserCenterV1MenuList = require('./basic/controller/UserCenter/postUserCenterV1MenuList.js');
|
|
65
|
-
var usePostUserCenterV1MenuList = require('./basic/controller/UserCenter/usePostUserCenterV1MenuList.js');
|
|
66
|
-
var postUserCenterV1OrgTreeList = require('./basic/controller/UserCenter/postUserCenterV1OrgTreeList.js');
|
|
67
|
-
var usePostUserCenterV1OrgTreeList = require('./basic/controller/UserCenter/usePostUserCenterV1OrgTreeList.js');
|
|
68
47
|
|
|
69
48
|
|
|
70
49
|
|
|
@@ -110,24 +89,4 @@ exports.postWhlProductBacklogOrderCnt = postWhlProductBacklogOrderCnt.postWhlPro
|
|
|
110
89
|
exports.usePostWhlProductBacklogOrderCnt = usePostWhlProductBacklogOrderCnt.usePostWhlProductBacklogOrderCnt;
|
|
111
90
|
exports.postMarMarCreativeStoryDi = postMarMarCreativeStoryDi.postMarMarCreativeStoryDi;
|
|
112
91
|
exports.usePostMarMarCreativeStoryDi = usePostMarMarCreativeStoryDi.usePostMarMarCreativeStoryDi;
|
|
113
|
-
exports.postCommonV1CurrencyList = postCommonV1CurrencyList.postCommonV1CurrencyList;
|
|
114
|
-
exports.usePostCommonV1CurrencyList = usePostCommonV1CurrencyList.usePostCommonV1CurrencyList;
|
|
115
|
-
exports.postCommonV1CountryList = postCommonV1CountryList.postCommonV1CountryList;
|
|
116
|
-
exports.usePostCommonV1CountryList = usePostCommonV1CountryList.usePostCommonV1CountryList;
|
|
117
|
-
exports.postCommonV1SystemList = postCommonV1SystemList.postCommonV1SystemList;
|
|
118
|
-
exports.usePostCommonV1SystemList = usePostCommonV1SystemList.usePostCommonV1SystemList;
|
|
119
|
-
exports.postCommonV1ExchangeRateList = postCommonV1ExchangeRateList.postCommonV1ExchangeRateList;
|
|
120
|
-
exports.usePostCommonV1ExchangeRateList = usePostCommonV1ExchangeRateList.usePostCommonV1ExchangeRateList;
|
|
121
|
-
exports.postUserCenterV1OrgList = postUserCenterV1OrgList.postUserCenterV1OrgList;
|
|
122
|
-
exports.usePostUserCenterV1OrgList = usePostUserCenterV1OrgList.usePostUserCenterV1OrgList;
|
|
123
|
-
exports.postUserCenterV1AreaList = postUserCenterV1AreaList.postUserCenterV1AreaList;
|
|
124
|
-
exports.usePostUserCenterV1AreaList = usePostUserCenterV1AreaList.usePostUserCenterV1AreaList;
|
|
125
|
-
exports.postUserCenterV1RoleList = postUserCenterV1RoleList.postUserCenterV1RoleList;
|
|
126
|
-
exports.usePostUserCenterV1RoleList = usePostUserCenterV1RoleList.usePostUserCenterV1RoleList;
|
|
127
|
-
exports.postUserCenterV1EmployeeList = postUserCenterV1EmployeeList.postUserCenterV1EmployeeList;
|
|
128
|
-
exports.usePostUserCenterV1EmployeeList = usePostUserCenterV1EmployeeList.usePostUserCenterV1EmployeeList;
|
|
129
|
-
exports.postUserCenterV1MenuList = postUserCenterV1MenuList.postUserCenterV1MenuList;
|
|
130
|
-
exports.usePostUserCenterV1MenuList = usePostUserCenterV1MenuList.usePostUserCenterV1MenuList;
|
|
131
|
-
exports.postUserCenterV1OrgTreeList = postUserCenterV1OrgTreeList.postUserCenterV1OrgTreeList;
|
|
132
|
-
exports.usePostUserCenterV1OrgTreeList = usePostUserCenterV1OrgTreeList.usePostUserCenterV1OrgTreeList;
|
|
133
92
|
//# sourceMappingURL=index.js.map
|
package/lib/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resetAxiosBaseUrl.js","sources":["../../../../../packages/api/utils/resetAxiosBaseUrl.ts"],"sourcesContent":["import { useGlobalConfig } from '@giime/hooks/base/useGlobalConfig';\
|
|
1
|
+
{"version":3,"file":"resetAxiosBaseUrl.js","sources":["../../../../../packages/api/utils/resetAxiosBaseUrl.ts"],"sourcesContent":["import { useGlobalConfig } from '@giime/hooks/base/useGlobalConfig';\nimport { isString } from '@giime/utils/src/is';\nimport type { AxiosInstance, InternalAxiosRequestConfig } from 'axios';\nexport interface ResetAxiosBaseURLOpions {\n config: InternalAxiosRequestConfig;\n baseUrlEnvKey: string;\n viteModes: {\n mode: string;\n url: string;\n }[];\n}\n/**\n * 重置请求的baseURL\n * @param options\n */\nexport const resetAxiosBaseURL = (options: ResetAxiosBaseURLOpions) => {\n const { config, baseUrlEnvKey, viteModes } = options;\n if (!config.baseURL) {\n const importMetaEnv = useGlobalConfig('env');\n if (isString(importMetaEnv.value[baseUrlEnvKey])) {\n config.baseURL = importMetaEnv.value[baseUrlEnvKey];\n } else {\n const curMode = viteModes.find(item => item.mode == importMetaEnv.value.MODE);\n config.baseURL = curMode?.url;\n }\n }\n};\n/**\n * 重置请求的baseURL 请求拦截器\n */\n\nexport const resetBaseURLInterceptorsRequest = (service: AxiosInstance, options: Omit<ResetAxiosBaseURLOpions, 'config'>) => {\n // 请求拦截器\n service.interceptors.request.use(\n config => {\n resetAxiosBaseURL({ ...options, config });\n return config;\n },\n error => {\n console.error('请求错误', error); // for debug\n return Promise.reject(error);\n },\n );\n};\n"],"names":["useGlobalConfig","isString"],"mappings":";;;;;AAea,MAAA,iBAAA,GAAoB,CAAC,OAAqC,KAAA;AACrE,EAAA,MAAM,EAAE,MAAA,EAAQ,aAAe,EAAA,SAAA,EAAc,GAAA,OAAA,CAAA;AAC7C,EAAI,IAAA,CAAC,OAAO,OAAS,EAAA;AACnB,IAAM,MAAA,aAAA,GAAgBA,sBAAgB,KAAK,CAAA,CAAA;AAC3C,IAAA,IAAIC,WAAS,CAAA,aAAA,CAAc,KAAM,CAAA,aAAa,CAAC,CAAG,EAAA;AAChD,MAAO,MAAA,CAAA,OAAA,GAAU,aAAc,CAAA,KAAA,CAAM,aAAa,CAAA,CAAA;AAAA,KAC7C,MAAA;AACL,MAAM,MAAA,OAAA,GAAU,UAAU,IAAK,CAAA,CAAA,IAAA,KAAQ,KAAK,IAAQ,IAAA,aAAA,CAAc,MAAM,IAAI,CAAA,CAAA;AAC5E,MAAA,MAAA,CAAO,UAAU,OAAS,EAAA,GAAA,CAAA;AAAA,KAC5B;AAAA,GACF;AACF,EAAA;AAKa,MAAA,+BAAA,GAAkC,CAAC,OAAA,EAAwB,OAAqD,KAAA;AAE3H,EAAA,OAAA,CAAQ,aAAa,OAAQ,CAAA,GAAA;AAAA,IAC3B,CAAU,MAAA,KAAA;AACR,MAAA,iBAAA,CAAkB,EAAE,GAAG,OAAS,EAAA,MAAA,EAAQ,CAAA,CAAA;AACxC,MAAO,OAAA,MAAA,CAAA;AAAA,KACT;AAAA,IACA,CAAS,KAAA,KAAA;AACP,MAAQ,OAAA,CAAA,KAAA,CAAM,4BAAQ,KAAK,CAAA,CAAA;AAC3B,MAAO,OAAA,OAAA,CAAQ,OAAO,KAAK,CAAA,CAAA;AAAA,KAC7B;AAAA,GACF,CAAA;AACF;;;;;"}
|
package/lib/giime/index.js
CHANGED
|
@@ -29,6 +29,7 @@ var filterTreeByName = require('../utils/src/tree/filterTreeByName.js');
|
|
|
29
29
|
var findChildrenItem = require('../utils/src/tree/findChildrenItem.js');
|
|
30
30
|
var index = require('../utils/src/pasteFile/index.js');
|
|
31
31
|
var image = require('../utils/src/image.js');
|
|
32
|
+
var array = require('../utils/src/array.js');
|
|
32
33
|
var affix = require('../components/src/base/affix/affix.js');
|
|
33
34
|
var index$1 = require('../components/src/base/affix/index.js');
|
|
34
35
|
var alert = require('../components/src/base/alert/alert.js');
|
|
@@ -310,7 +311,7 @@ var index$2h = require('../hooks/base/useTimeout/index.js');
|
|
|
310
311
|
var index$2i = require('../hooks/base/useRectSelect/index.js');
|
|
311
312
|
var index$2j = require('../hooks/base/usePageHtmlClass/index.js');
|
|
312
313
|
var index$2k = require('../hooks/base/useComputedFields/index.js');
|
|
313
|
-
var index$2l = require('../hooks/
|
|
314
|
+
var index$2l = require('../hooks/base/useAxios/index.js');
|
|
314
315
|
var index$2m = require('../hooks/store/useLogin/index.js');
|
|
315
316
|
var index$2n = require('../hooks/store/useCustomSettings/index.js');
|
|
316
317
|
var index$2o = require('../hooks/store/useLineList/index.js');
|
|
@@ -322,12 +323,13 @@ var index$2t = require('../hooks/store/useRepiteFilter/index.js');
|
|
|
322
323
|
var index$2u = require('../hooks/store/common/useCurrencyList/index.js');
|
|
323
324
|
var index$2v = require('../hooks/store/common/useCountryList/index.js');
|
|
324
325
|
var index$2w = require('../hooks/store/common/useSystemList/index.js');
|
|
325
|
-
var index$2x = require('../hooks/store/
|
|
326
|
-
var index$2y = require('../hooks/store/userCenter/
|
|
327
|
-
var index$2z = require('../hooks/store/userCenter/
|
|
328
|
-
var index$2A = require('../hooks/store/userCenter/
|
|
329
|
-
var index$2B = require('../hooks/store/
|
|
330
|
-
var index$2C = require('../hooks/store/
|
|
326
|
+
var index$2x = require('../hooks/store/common/useLangList/index.js');
|
|
327
|
+
var index$2y = require('../hooks/store/userCenter/useOrgList/index.js');
|
|
328
|
+
var index$2z = require('../hooks/store/userCenter/useAreaList/index.js');
|
|
329
|
+
var index$2A = require('../hooks/store/userCenter/useRoleList/index.js');
|
|
330
|
+
var index$2B = require('../hooks/store/userCenter/useOrgTreeList/index.js');
|
|
331
|
+
var index$2C = require('../hooks/store/usePlatformList/index.js');
|
|
332
|
+
var index$2D = require('../hooks/store/useAliOssConfigs/index.js');
|
|
331
333
|
|
|
332
334
|
const install = defaults.default.install;
|
|
333
335
|
const version = defaults.default.version;
|
|
@@ -378,6 +380,7 @@ exports.req401Interceptors = interceptors.req401Interceptors;
|
|
|
378
380
|
exports.res401Interceptors = interceptors.res401Interceptors;
|
|
379
381
|
exports.giimeDevProxy = devProxy.giimeDevProxy;
|
|
380
382
|
exports.getDomain = url.getDomain;
|
|
383
|
+
exports.getModifiedData = objects.getModifiedData;
|
|
381
384
|
exports.hasOwn = objects.hasOwn;
|
|
382
385
|
exports.keysOf = objects.keysOf;
|
|
383
386
|
exports.resetObject = objects.resetObject;
|
|
@@ -417,6 +420,7 @@ exports.PasteFileError = index.PasteFileError;
|
|
|
417
420
|
exports.generateFileName = index.generateFileName;
|
|
418
421
|
exports.handlePasteEvent = index.handlePasteEvent;
|
|
419
422
|
exports.getCountryImageUrl = image.getCountryImageUrl;
|
|
423
|
+
exports.mergePropsToArray = array.mergePropsToArray;
|
|
420
424
|
exports.affixEmits = affix.affixEmits;
|
|
421
425
|
exports.affixProps = affix.affixProps;
|
|
422
426
|
exports.GmAffix = index$1.GmAffix;
|
|
@@ -802,7 +806,7 @@ exports.useTimeoutPromise = index$2h.useTimeoutPromise;
|
|
|
802
806
|
exports.useRectSelect = index$2i.useRectSelect;
|
|
803
807
|
exports.usePageHtmlClass = index$2j.usePageHtmlClass;
|
|
804
808
|
exports.useComputedFields = index$2k.useComputedFields;
|
|
805
|
-
exports.
|
|
809
|
+
exports.useAxios = index$2l.useAxios;
|
|
806
810
|
exports.useLoginStore = index$2m.useLoginStore;
|
|
807
811
|
exports.useCustomSettingsStore = index$2n.useCustomSettingsStore;
|
|
808
812
|
exports.useLineListStore = index$2o.useLineListStore;
|
|
@@ -814,12 +818,13 @@ exports.useRepiteFilterStore = index$2t.useRepiteFilterStore;
|
|
|
814
818
|
exports.useCurrencyListStore = index$2u.useCurrencyListStore;
|
|
815
819
|
exports.useCountryListStore = index$2v.useCountryListStore;
|
|
816
820
|
exports.useSystemListStore = index$2w.useSystemListStore;
|
|
817
|
-
exports.
|
|
818
|
-
exports.
|
|
819
|
-
exports.
|
|
820
|
-
exports.
|
|
821
|
-
exports.
|
|
822
|
-
exports.
|
|
821
|
+
exports.useLangListStore = index$2x.useLangListStore;
|
|
822
|
+
exports.useOrgListStore = index$2y.useOrgListStore;
|
|
823
|
+
exports.useAreaListStore = index$2z.useAreaListStore;
|
|
824
|
+
exports.useRoleListStore = index$2A.useRoleListStore;
|
|
825
|
+
exports.useOrgTreeListStore = index$2B.useOrgTreeListStore;
|
|
826
|
+
exports.usePlatformListStore = index$2C.usePlatformListStore;
|
|
827
|
+
exports.useAliOssConfigsStore = index$2D.useAliOssConfigsStore;
|
|
823
828
|
exports.install = install;
|
|
824
829
|
exports.version = version;
|
|
825
830
|
//# sourceMappingURL=index.js.map
|
package/lib/giime/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\r\nimport './tailwind.css';\r\nexport * from '@giime/utils';\r\nexport * from '@giime/components';\r\nexport * from '@giime/hooks';\r\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\r\nexport const install = installer.install;\r\nexport const version = installer.version;\r\nexport default installer;\r\n"],"names":["installer"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\r\nimport './tailwind.css';\r\nexport * from '@giime/utils';\r\nexport * from '@giime/components';\r\nexport * from '@giime/hooks';\r\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\r\nexport const install = installer.install;\r\nexport const version = installer.version;\r\nexport default installer;\r\n"],"names":["installer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,MAAM,UAAUA,gBAAU,CAAA,QAAA;AAC1B,MAAM,UAAUA,gBAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.6.
|
|
1
|
+
export declare const version = "0.6.19";
|
package/lib/giime/version.js
CHANGED
package/lib/giime/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.6.
|
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.6.19';\n"],"names":[],"mappings":";;AAAO,MAAM,OAAU,GAAA;;;;"}
|
package/lib/hooks/base/index.js
CHANGED
|
@@ -8,6 +8,7 @@ var index$4 = require('./useTimeout/index.js');
|
|
|
8
8
|
var index$5 = require('./useRectSelect/index.js');
|
|
9
9
|
var index$6 = require('./usePageHtmlClass/index.js');
|
|
10
10
|
var index$7 = require('./useComputedFields/index.js');
|
|
11
|
+
var index$8 = require('./useAxios/index.js');
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
@@ -19,4 +20,5 @@ exports.useTimeoutPromise = index$4.useTimeoutPromise;
|
|
|
19
20
|
exports.useRectSelect = index$5.useRectSelect;
|
|
20
21
|
exports.usePageHtmlClass = index$6.usePageHtmlClass;
|
|
21
22
|
exports.useComputedFields = index$7.useComputedFields;
|
|
23
|
+
exports.useAxios = index$8.useAxios;
|
|
22
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
+
import type { Ref, ShallowRef } from 'vue';
|
|
3
|
+
export interface UseAxiosReturn<T, R = AxiosResponse<T>, _D = any, O extends UseAxiosOptions = UseAxiosOptions<T>> {
|
|
4
|
+
/**
|
|
5
|
+
* Axios Response
|
|
6
|
+
*/
|
|
7
|
+
response: ShallowRef<R | undefined>;
|
|
8
|
+
/**
|
|
9
|
+
* Axios response data
|
|
10
|
+
*/
|
|
11
|
+
data: O extends UseAxiosOptionsWithInitialData<T> ? Ref<T> : Ref<T | undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Indicates if the request has finished
|
|
14
|
+
*/
|
|
15
|
+
isFinished: Ref<boolean>;
|
|
16
|
+
/**
|
|
17
|
+
* Indicates if the request is currently loading
|
|
18
|
+
*/
|
|
19
|
+
isLoading: Ref<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* Indicates if the request was canceled
|
|
22
|
+
*/
|
|
23
|
+
isAborted: Ref<boolean>;
|
|
24
|
+
/**
|
|
25
|
+
* Any errors that may have occurred
|
|
26
|
+
*/
|
|
27
|
+
error: ShallowRef<unknown | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Aborts the current request
|
|
30
|
+
*/
|
|
31
|
+
abort: (message?: string | undefined) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Alias to `abort`
|
|
34
|
+
*/
|
|
35
|
+
cancel: (message?: string | undefined) => void;
|
|
36
|
+
/**
|
|
37
|
+
* Alias to `isAborted`
|
|
38
|
+
*/
|
|
39
|
+
isCanceled: Ref<boolean>;
|
|
40
|
+
}
|
|
41
|
+
export interface StrictUseAxiosReturn<T, R, D, O extends UseAxiosOptions = UseAxiosOptions<T>> extends UseAxiosReturn<T, R, D, O> {
|
|
42
|
+
/**
|
|
43
|
+
* Manually call the axios request
|
|
44
|
+
*/
|
|
45
|
+
execute: (url?: string | AxiosRequestConfig<D>, config?: AxiosRequestConfig<D>) => Promise<StrictUseAxiosReturn<T, R, D, O>>;
|
|
46
|
+
}
|
|
47
|
+
export interface EasyUseAxiosReturn<T, R, D> extends UseAxiosReturn<T, R, D> {
|
|
48
|
+
/**
|
|
49
|
+
* Manually call the axios request
|
|
50
|
+
*/
|
|
51
|
+
execute: (url: string, config?: AxiosRequestConfig<D>) => Promise<EasyUseAxiosReturn<T, R, D>>;
|
|
52
|
+
}
|
|
53
|
+
export interface UseAxiosOptionsBase<T = any> {
|
|
54
|
+
/**
|
|
55
|
+
* Will automatically run axios request when `useAxios` is used
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
immediate?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Use shallowRef.
|
|
61
|
+
*
|
|
62
|
+
* @default true
|
|
63
|
+
*/
|
|
64
|
+
shallow?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Abort previous request when a new request is made.
|
|
67
|
+
*
|
|
68
|
+
* @default true
|
|
69
|
+
*/
|
|
70
|
+
abortPrevious?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Callback when error is caught.
|
|
73
|
+
*/
|
|
74
|
+
onError?: (e: unknown) => void;
|
|
75
|
+
/**
|
|
76
|
+
* Callback when success is caught.
|
|
77
|
+
*/
|
|
78
|
+
onSuccess?: (data: T) => void;
|
|
79
|
+
/**
|
|
80
|
+
* Sets the state to initialState before executing the promise.
|
|
81
|
+
*/
|
|
82
|
+
resetOnExecute?: boolean;
|
|
83
|
+
/**
|
|
84
|
+
* Callback when request is finished.
|
|
85
|
+
*/
|
|
86
|
+
onFinish?: () => void;
|
|
87
|
+
}
|
|
88
|
+
export interface UseAxiosOptionsWithInitialData<T> extends UseAxiosOptionsBase<T> {
|
|
89
|
+
/**
|
|
90
|
+
* Initial data
|
|
91
|
+
*/
|
|
92
|
+
initialData: T;
|
|
93
|
+
}
|
|
94
|
+
export type UseAxiosOptions<T = any> = UseAxiosOptionsBase<T> | UseAxiosOptionsWithInitialData<T>;
|
|
95
|
+
export declare function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsWithInitialData<T> = UseAxiosOptionsWithInitialData<T>>(url: string, config?: AxiosRequestConfig<D>, options?: O): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;
|
|
96
|
+
export declare function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsWithInitialData<T> = UseAxiosOptionsWithInitialData<T>>(url: string, instance?: AxiosInstance, options?: O): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;
|
|
97
|
+
export declare function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsWithInitialData<T> = UseAxiosOptionsWithInitialData<T>>(url: string, config: AxiosRequestConfig<D>, instance: AxiosInstance, options?: O): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;
|
|
98
|
+
export declare function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsBase<T> = UseAxiosOptionsBase<T>>(url: string, config?: AxiosRequestConfig<D>, options?: O): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;
|
|
99
|
+
export declare function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsBase<T> = UseAxiosOptionsBase<T>>(url: string, instance?: AxiosInstance, options?: O): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;
|
|
100
|
+
export declare function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsBase<T> = UseAxiosOptionsBase<T>>(url: string, config: AxiosRequestConfig<D>, instance: AxiosInstance, options?: O): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;
|
|
101
|
+
export declare function useAxios<T = any, R = AxiosResponse<T>, D = any>(config?: AxiosRequestConfig<D>): EasyUseAxiosReturn<T, R, D> & Promise<EasyUseAxiosReturn<T, R, D>>;
|
|
102
|
+
export declare function useAxios<T = any, R = AxiosResponse<T>, D = any>(instance?: AxiosInstance): EasyUseAxiosReturn<T, R, D> & Promise<EasyUseAxiosReturn<T, R, D>>;
|
|
103
|
+
export declare function useAxios<T = any, R = AxiosResponse<T>, D = any>(config?: AxiosRequestConfig<D>, instance?: AxiosInstance): EasyUseAxiosReturn<T, R, D> & Promise<EasyUseAxiosReturn<T, R, D>>;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var core = require('@vueuse/core');
|
|
4
|
+
var axios = require('axios');
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
|
|
7
|
+
function useAxios(...args) {
|
|
8
|
+
const url = typeof args[0] === "string" ? args[0] : void 0;
|
|
9
|
+
const argsPlaceholder = typeof url === "string" ? 1 : 0;
|
|
10
|
+
const defaultOptions = {
|
|
11
|
+
immediate: !!argsPlaceholder,
|
|
12
|
+
shallow: true,
|
|
13
|
+
abortPrevious: true
|
|
14
|
+
};
|
|
15
|
+
let defaultConfig = {};
|
|
16
|
+
let instance = axios;
|
|
17
|
+
let options = defaultOptions;
|
|
18
|
+
const isAxiosInstance = (val) => !!val?.request;
|
|
19
|
+
if (args.length > 0 + argsPlaceholder) {
|
|
20
|
+
if (isAxiosInstance(args[0 + argsPlaceholder]))
|
|
21
|
+
instance = args[0 + argsPlaceholder];
|
|
22
|
+
else
|
|
23
|
+
defaultConfig = args[0 + argsPlaceholder];
|
|
24
|
+
}
|
|
25
|
+
if (args.length > 1 + argsPlaceholder) {
|
|
26
|
+
if (isAxiosInstance(args[1 + argsPlaceholder]))
|
|
27
|
+
instance = args[1 + argsPlaceholder];
|
|
28
|
+
}
|
|
29
|
+
if (args.length === 2 + argsPlaceholder && !isAxiosInstance(args[1 + argsPlaceholder]) || args.length === 3 + argsPlaceholder) {
|
|
30
|
+
options = args[args.length - 1] || defaultOptions;
|
|
31
|
+
}
|
|
32
|
+
const { shallow, onSuccess = core.noop, onError = core.noop, immediate, resetOnExecute = false } = options;
|
|
33
|
+
const initialData = options.initialData;
|
|
34
|
+
const response = vue.shallowRef();
|
|
35
|
+
const data = (shallow ? vue.shallowRef : vue.ref)(initialData);
|
|
36
|
+
const isFinished = vue.shallowRef(false);
|
|
37
|
+
const isLoading = vue.shallowRef(false);
|
|
38
|
+
const isAborted = vue.shallowRef(false);
|
|
39
|
+
const error = vue.shallowRef();
|
|
40
|
+
let abortController = new AbortController();
|
|
41
|
+
const abort = (message) => {
|
|
42
|
+
if (isFinished.value || !isLoading.value)
|
|
43
|
+
return;
|
|
44
|
+
abortController.abort(message);
|
|
45
|
+
abortController = new AbortController();
|
|
46
|
+
isAborted.value = true;
|
|
47
|
+
isLoading.value = false;
|
|
48
|
+
isFinished.value = false;
|
|
49
|
+
};
|
|
50
|
+
const loading = (loading2) => {
|
|
51
|
+
isLoading.value = loading2;
|
|
52
|
+
isFinished.value = !loading2;
|
|
53
|
+
};
|
|
54
|
+
const resetData = () => {
|
|
55
|
+
if (resetOnExecute)
|
|
56
|
+
data.value = initialData;
|
|
57
|
+
};
|
|
58
|
+
const waitUntilFinished = () => new Promise((resolve, reject) => {
|
|
59
|
+
core.until(isFinished).toBe(true).then(() => error.value ? reject(error.value) : resolve(result));
|
|
60
|
+
});
|
|
61
|
+
const promise = {
|
|
62
|
+
then: (...args2) => waitUntilFinished().then(...args2),
|
|
63
|
+
catch: (...args2) => waitUntilFinished().catch(...args2)
|
|
64
|
+
};
|
|
65
|
+
let executeCounter = 0;
|
|
66
|
+
const execute = (executeUrl = url, config = {}) => {
|
|
67
|
+
error.value = void 0;
|
|
68
|
+
const _url = typeof executeUrl === "string" ? executeUrl : url ?? config.url;
|
|
69
|
+
if (_url === void 0) {
|
|
70
|
+
error.value = new axios.AxiosError(axios.AxiosError.ERR_INVALID_URL);
|
|
71
|
+
isFinished.value = true;
|
|
72
|
+
return promise;
|
|
73
|
+
}
|
|
74
|
+
resetData();
|
|
75
|
+
if (options.abortPrevious !== false)
|
|
76
|
+
abort();
|
|
77
|
+
loading(true);
|
|
78
|
+
executeCounter += 1;
|
|
79
|
+
const currentExecuteCounter = executeCounter;
|
|
80
|
+
isAborted.value = false;
|
|
81
|
+
const outerResult = result;
|
|
82
|
+
return new Promise((resolve, reject) => {
|
|
83
|
+
instance(_url, { ...defaultConfig, ...typeof executeUrl === "object" ? executeUrl : config, signal: abortController.signal }).then((r) => {
|
|
84
|
+
if (isAborted.value)
|
|
85
|
+
return;
|
|
86
|
+
response.value = r;
|
|
87
|
+
const result2 = r.data;
|
|
88
|
+
data.value = result2;
|
|
89
|
+
resolve(outerResult);
|
|
90
|
+
onSuccess(result2);
|
|
91
|
+
}).catch((e) => {
|
|
92
|
+
error.value = e;
|
|
93
|
+
reject(e);
|
|
94
|
+
onError(e);
|
|
95
|
+
}).finally(() => {
|
|
96
|
+
options.onFinish?.();
|
|
97
|
+
if (currentExecuteCounter === executeCounter)
|
|
98
|
+
loading(false);
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
if (immediate && url)
|
|
103
|
+
execute();
|
|
104
|
+
const result = {
|
|
105
|
+
response,
|
|
106
|
+
data,
|
|
107
|
+
error,
|
|
108
|
+
isFinished,
|
|
109
|
+
isLoading,
|
|
110
|
+
cancel: abort,
|
|
111
|
+
isAborted,
|
|
112
|
+
isCanceled: isAborted,
|
|
113
|
+
abort,
|
|
114
|
+
execute
|
|
115
|
+
};
|
|
116
|
+
return {
|
|
117
|
+
...result,
|
|
118
|
+
...promise
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
exports.useAxios = useAxios;
|
|
123
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../packages/hooks/base/useAxios/index.ts"],"sourcesContent":["import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';\nimport type { Ref, ShallowRef } from 'vue';\nimport { noop, until } from '@vueuse/core';\nimport axios, { AxiosError } from 'axios';\nimport { ref as deepRef, shallowRef } from 'vue';\n\nexport interface UseAxiosReturn<T, R = AxiosResponse<T>, _D = any, O extends UseAxiosOptions = UseAxiosOptions<T>> {\n /**\n * Axios Response\n */\n response: ShallowRef<R | undefined>;\n\n /**\n * Axios response data\n */\n data: O extends UseAxiosOptionsWithInitialData<T> ? Ref<T> : Ref<T | undefined>;\n\n /**\n * Indicates if the request has finished\n */\n isFinished: Ref<boolean>;\n\n /**\n * Indicates if the request is currently loading\n */\n isLoading: Ref<boolean>;\n\n /**\n * Indicates if the request was canceled\n */\n isAborted: Ref<boolean>;\n\n /**\n * Any errors that may have occurred\n */\n error: ShallowRef<unknown | undefined>;\n\n /**\n * Aborts the current request\n */\n abort: (message?: string | undefined) => void;\n\n /**\n * Alias to `abort`\n */\n cancel: (message?: string | undefined) => void;\n\n /**\n * Alias to `isAborted`\n */\n isCanceled: Ref<boolean>;\n}\nexport interface StrictUseAxiosReturn<T, R, D, O extends UseAxiosOptions = UseAxiosOptions<T>> extends UseAxiosReturn<T, R, D, O> {\n /**\n * Manually call the axios request\n */\n execute: (url?: string | AxiosRequestConfig<D>, config?: AxiosRequestConfig<D>) => Promise<StrictUseAxiosReturn<T, R, D, O>>;\n}\nexport interface EasyUseAxiosReturn<T, R, D> extends UseAxiosReturn<T, R, D> {\n /**\n * Manually call the axios request\n */\n execute: (url: string, config?: AxiosRequestConfig<D>) => Promise<EasyUseAxiosReturn<T, R, D>>;\n}\nexport interface UseAxiosOptionsBase<T = any> {\n /**\n * Will automatically run axios request when `useAxios` is used\n *\n */\n immediate?: boolean;\n\n /**\n * Use shallowRef.\n *\n * @default true\n */\n shallow?: boolean;\n\n /**\n * Abort previous request when a new request is made.\n *\n * @default true\n */\n abortPrevious?: boolean;\n\n /**\n * Callback when error is caught.\n */\n onError?: (e: unknown) => void;\n\n /**\n * Callback when success is caught.\n */\n onSuccess?: (data: T) => void;\n\n /**\n * Sets the state to initialState before executing the promise.\n */\n resetOnExecute?: boolean;\n\n /**\n * Callback when request is finished.\n */\n onFinish?: () => void;\n}\n\nexport interface UseAxiosOptionsWithInitialData<T> extends UseAxiosOptionsBase<T> {\n /**\n * Initial data\n */\n initialData: T;\n}\n\nexport type UseAxiosOptions<T = any> = UseAxiosOptionsBase<T> | UseAxiosOptionsWithInitialData<T>;\n\ntype OverallUseAxiosReturn<T, R, D> = StrictUseAxiosReturn<T, R, D> | EasyUseAxiosReturn<T, R, D>;\n\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsWithInitialData<T> = UseAxiosOptionsWithInitialData<T>>(\n url: string,\n config?: AxiosRequestConfig<D>,\n options?: O,\n): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsWithInitialData<T> = UseAxiosOptionsWithInitialData<T>>(\n url: string,\n instance?: AxiosInstance,\n options?: O,\n): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsWithInitialData<T> = UseAxiosOptionsWithInitialData<T>>(\n url: string,\n config: AxiosRequestConfig<D>,\n instance: AxiosInstance,\n options?: O,\n): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsBase<T> = UseAxiosOptionsBase<T>>(\n url: string,\n config?: AxiosRequestConfig<D>,\n options?: O,\n): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsBase<T> = UseAxiosOptionsBase<T>>(\n url: string,\n instance?: AxiosInstance,\n options?: O,\n): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any, O extends UseAxiosOptionsBase<T> = UseAxiosOptionsBase<T>>(\n url: string,\n config: AxiosRequestConfig<D>,\n instance: AxiosInstance,\n options?: O,\n): StrictUseAxiosReturn<T, R, D, O> & Promise<StrictUseAxiosReturn<T, R, D, O>>;\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any>(\n config?: AxiosRequestConfig<D>,\n): EasyUseAxiosReturn<T, R, D> & Promise<EasyUseAxiosReturn<T, R, D>>;\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any>(\n instance?: AxiosInstance,\n): EasyUseAxiosReturn<T, R, D> & Promise<EasyUseAxiosReturn<T, R, D>>;\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any>(\n config?: AxiosRequestConfig<D>,\n instance?: AxiosInstance,\n): EasyUseAxiosReturn<T, R, D> & Promise<EasyUseAxiosReturn<T, R, D>>;\n\n/**\n * Wrapper for axios.\n *\n * @see https://vueuse.org/useAxios\n */\nexport function useAxios<T = any, R = AxiosResponse<T>, D = any>(\n ...args: any[]\n): OverallUseAxiosReturn<T, R, D> & Promise<OverallUseAxiosReturn<T, R, D>> {\n const url: string | undefined = typeof args[0] === 'string' ? args[0] : undefined;\n const argsPlaceholder = typeof url === 'string' ? 1 : 0;\n const defaultOptions: UseAxiosOptions<T> = {\n immediate: !!argsPlaceholder,\n shallow: true,\n abortPrevious: true,\n };\n let defaultConfig: AxiosRequestConfig<D> = {};\n let instance: AxiosInstance = axios;\n let options: UseAxiosOptions<T> = defaultOptions;\n\n const isAxiosInstance = (val: any) => !!val?.request;\n\n if (args.length > 0 + argsPlaceholder) {\n /**\n * Unable to use `instanceof` here because of (https://github.com/axios/axios/issues/737)\n * so instead we are checking if there is a `request` on the object to see if it is an\n * axios instance\n */\n if (isAxiosInstance(args[0 + argsPlaceholder])) instance = args[0 + argsPlaceholder];\n else defaultConfig = args[0 + argsPlaceholder];\n }\n\n if (args.length > 1 + argsPlaceholder) {\n if (isAxiosInstance(args[1 + argsPlaceholder])) instance = args[1 + argsPlaceholder];\n }\n if ((args.length === 2 + argsPlaceholder && !isAxiosInstance(args[1 + argsPlaceholder])) || args.length === 3 + argsPlaceholder) {\n options = args[args.length - 1] || defaultOptions;\n }\n\n const { shallow, onSuccess = noop, onError = noop, immediate, resetOnExecute = false } = options;\n\n const initialData = (options as UseAxiosOptionsWithInitialData<T>).initialData;\n const response = shallowRef<AxiosResponse<T>>();\n const data = (shallow ? shallowRef : deepRef)<T>(initialData!) as Ref<T>;\n const isFinished = shallowRef(false);\n const isLoading = shallowRef(false);\n const isAborted = shallowRef(false);\n const error = shallowRef<unknown>();\n\n let abortController: AbortController = new AbortController();\n\n const abort = (message?: string) => {\n if (isFinished.value || !isLoading.value) return;\n\n abortController.abort(message);\n abortController = new AbortController();\n isAborted.value = true;\n isLoading.value = false;\n isFinished.value = false;\n };\n\n const loading = (loading: boolean) => {\n isLoading.value = loading;\n isFinished.value = !loading;\n };\n\n /**\n * Reset data to initialData\n */\n const resetData = () => {\n if (resetOnExecute) data.value = initialData!;\n };\n\n const waitUntilFinished = () =>\n new Promise<OverallUseAxiosReturn<T, R, D>>((resolve, reject) => {\n until(isFinished)\n .toBe(true)\n .then(() => (error.value ? reject(error.value) : resolve(result)));\n });\n\n const promise = {\n then: (...args) => waitUntilFinished().then(...args),\n catch: (...args) => waitUntilFinished().catch(...args),\n } as Promise<OverallUseAxiosReturn<T, R, D>>;\n\n let executeCounter = 0;\n const execute: OverallUseAxiosReturn<T, R, D>['execute'] = (\n executeUrl: string | AxiosRequestConfig<D> | undefined = url,\n config: AxiosRequestConfig<D> = {},\n ) => {\n error.value = undefined;\n const _url = typeof executeUrl === 'string' ? executeUrl : url ?? config.url;\n\n if (_url === undefined) {\n error.value = new AxiosError(AxiosError.ERR_INVALID_URL);\n isFinished.value = true;\n return promise;\n }\n resetData();\n\n if (options.abortPrevious !== false) abort();\n\n loading(true);\n\n executeCounter += 1;\n const currentExecuteCounter = executeCounter;\n isAborted.value = false;\n\n const outerResult = result;\n return new Promise<OverallUseAxiosReturn<T, R, D>>((resolve, reject) => {\n instance(_url, { ...defaultConfig, ...(typeof executeUrl === 'object' ? executeUrl : config), signal: abortController.signal })\n .then((r: any) => {\n if (isAborted.value) return;\n response.value = r;\n const result = r.data;\n data.value = result;\n resolve(outerResult);\n onSuccess(result);\n })\n .catch((e: any) => {\n error.value = e;\n reject(e);\n onError(e);\n })\n .finally(() => {\n options.onFinish?.();\n if (currentExecuteCounter === executeCounter) loading(false);\n });\n });\n // instance(_url, { ...defaultConfig, ...(typeof executeUrl === 'object' ? executeUrl : config), signal: abortController.signal })\n // .then((r: any) => {\n // if (isAborted.value) return;\n // response.value = r;\n // const result = r.data;\n // data.value = result;\n // onSuccess(result);\n // })\n // .catch((e: any) => {\n // error.value = e;\n // onError(e);\n // })\n // .finally(() => {\n // options.onFinish?.();\n // if (currentExecuteCounter === executeCounter) loading(false);\n // });\n // return promise;\n };\n\n if (immediate && url) (execute as StrictUseAxiosReturn<T, R, D>['execute'])();\n\n const result = {\n response,\n data,\n error,\n isFinished,\n isLoading,\n cancel: abort,\n isAborted,\n isCanceled: isAborted,\n abort,\n execute,\n } as OverallUseAxiosReturn<T, R, D>;\n\n return {\n ...result,\n ...promise,\n };\n}\n"],"names":["noop","shallowRef","deepRef","loading","until","args","AxiosError","result"],"mappings":"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"}
|
package/lib/hooks/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var index$4 = require('./base/useTimeout/index.js');
|
|
|
10
10
|
var index$5 = require('./base/useRectSelect/index.js');
|
|
11
11
|
var index$6 = require('./base/usePageHtmlClass/index.js');
|
|
12
12
|
var index$7 = require('./base/useComputedFields/index.js');
|
|
13
|
-
var index$8 = require('./
|
|
13
|
+
var index$8 = require('./base/useAxios/index.js');
|
|
14
14
|
var index$9 = require('./store/useLogin/index.js');
|
|
15
15
|
var index$a = require('./store/useCustomSettings/index.js');
|
|
16
16
|
var index$b = require('./store/useLineList/index.js');
|
|
@@ -22,12 +22,13 @@ var index$g = require('./store/useRepiteFilter/index.js');
|
|
|
22
22
|
var index$h = require('./store/common/useCurrencyList/index.js');
|
|
23
23
|
var index$i = require('./store/common/useCountryList/index.js');
|
|
24
24
|
var index$j = require('./store/common/useSystemList/index.js');
|
|
25
|
-
var index$k = require('./store/
|
|
26
|
-
var index$l = require('./store/userCenter/
|
|
27
|
-
var index$m = require('./store/userCenter/
|
|
28
|
-
var index$n = require('./store/userCenter/
|
|
29
|
-
var index$o = require('./store/
|
|
30
|
-
var index$p = require('./store/
|
|
25
|
+
var index$k = require('./store/common/useLangList/index.js');
|
|
26
|
+
var index$l = require('./store/userCenter/useOrgList/index.js');
|
|
27
|
+
var index$m = require('./store/userCenter/useAreaList/index.js');
|
|
28
|
+
var index$n = require('./store/userCenter/useRoleList/index.js');
|
|
29
|
+
var index$o = require('./store/userCenter/useOrgTreeList/index.js');
|
|
30
|
+
var index$p = require('./store/usePlatformList/index.js');
|
|
31
|
+
var index$q = require('./store/useAliOssConfigs/index.js');
|
|
31
32
|
|
|
32
33
|
|
|
33
34
|
|
|
@@ -39,7 +40,7 @@ exports.useTimeoutPromise = index$4.useTimeoutPromise;
|
|
|
39
40
|
exports.useRectSelect = index$5.useRectSelect;
|
|
40
41
|
exports.usePageHtmlClass = index$6.usePageHtmlClass;
|
|
41
42
|
exports.useComputedFields = index$7.useComputedFields;
|
|
42
|
-
exports.
|
|
43
|
+
exports.useAxios = index$8.useAxios;
|
|
43
44
|
exports.useLoginStore = index$9.useLoginStore;
|
|
44
45
|
exports.useCustomSettingsStore = index$a.useCustomSettingsStore;
|
|
45
46
|
exports.useLineListStore = index$b.useLineListStore;
|
|
@@ -51,10 +52,11 @@ exports.useRepiteFilterStore = index$g.useRepiteFilterStore;
|
|
|
51
52
|
exports.useCurrencyListStore = index$h.useCurrencyListStore;
|
|
52
53
|
exports.useCountryListStore = index$i.useCountryListStore;
|
|
53
54
|
exports.useSystemListStore = index$j.useSystemListStore;
|
|
54
|
-
exports.
|
|
55
|
-
exports.
|
|
56
|
-
exports.
|
|
57
|
-
exports.
|
|
58
|
-
exports.
|
|
59
|
-
exports.
|
|
55
|
+
exports.useLangListStore = index$k.useLangListStore;
|
|
56
|
+
exports.useOrgListStore = index$l.useOrgListStore;
|
|
57
|
+
exports.useAreaListStore = index$m.useAreaListStore;
|
|
58
|
+
exports.useRoleListStore = index$n.useRoleListStore;
|
|
59
|
+
exports.useOrgTreeListStore = index$o.useOrgTreeListStore;
|
|
60
|
+
exports.usePlatformListStore = index$p.usePlatformListStore;
|
|
61
|
+
exports.useAliOssConfigsStore = index$q.useAliOssConfigsStore;
|
|
60
62
|
//# sourceMappingURL=index.js.map
|
package/lib/hooks/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,10 +3,12 @@
|
|
|
3
3
|
var index = require('./useCurrencyList/index.js');
|
|
4
4
|
var index$1 = require('./useCountryList/index.js');
|
|
5
5
|
var index$2 = require('./useSystemList/index.js');
|
|
6
|
+
var index$3 = require('./useLangList/index.js');
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
exports.useCurrencyListStore = index.useCurrencyListStore;
|
|
10
11
|
exports.useCountryListStore = index$1.useCountryListStore;
|
|
11
12
|
exports.useSystemListStore = index$2.useSystemListStore;
|
|
13
|
+
exports.useLangListStore = index$3.useLangListStore;
|
|
12
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/// <reference types="@vueuse/shared" />
|
|
2
|
-
import type {
|
|
2
|
+
import type { CountryOpenVo } from '../../../../api/guardBasic/interface';
|
|
3
3
|
/** 国家 */
|
|
4
4
|
export declare const useCountryListStore: import("pinia").StoreDefinition<"gmCountryList", import("pinia")._UnwrapAll<Pick<{
|
|
5
|
-
countryList: import("@vueuse/shared").RemovableRef<
|
|
5
|
+
countryList: import("@vueuse/shared").RemovableRef<CountryOpenVo[]>;
|
|
6
6
|
isLoading: import("vue").Ref<boolean>;
|
|
7
7
|
getCountryList: () => Promise<void>;
|
|
8
8
|
}, "isLoading" | "countryList">>, Pick<{
|
|
9
|
-
countryList: import("@vueuse/shared").RemovableRef<
|
|
9
|
+
countryList: import("@vueuse/shared").RemovableRef<CountryOpenVo[]>;
|
|
10
10
|
isLoading: import("vue").Ref<boolean>;
|
|
11
11
|
getCountryList: () => Promise<void>;
|
|
12
12
|
}, never>, Pick<{
|
|
13
|
-
countryList: import("@vueuse/shared").RemovableRef<
|
|
13
|
+
countryList: import("@vueuse/shared").RemovableRef<CountryOpenVo[]>;
|
|
14
14
|
isLoading: import("vue").Ref<boolean>;
|
|
15
15
|
getCountryList: () => Promise<void>;
|
|
16
16
|
}, "getCountryList">>;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
var pinia = require('pinia');
|
|
4
4
|
var core = require('@vueuse/core');
|
|
5
|
-
require('../../../../api/
|
|
6
|
-
var
|
|
5
|
+
require('../../../../api/guardBasic/controller/index.js');
|
|
6
|
+
var usePostBasicV1CountryList = require('../../../../api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.js');
|
|
7
7
|
|
|
8
8
|
const useCountryListStore = pinia.defineStore("gmCountryList", () => {
|
|
9
|
-
const { isLoading, exec } =
|
|
9
|
+
const { isLoading, exec } = usePostBasicV1CountryList.usePostBasicV1CountryList();
|
|
10
10
|
const countryList = core.useSessionStorage("gmCountryList", [], { listenToStorageChanges: false });
|
|
11
11
|
const getCountryList = async () => {
|
|
12
12
|
if (countryList.value.length !== 0 || isLoading.value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../../packages/hooks/store/common/useCountryList/index.ts"],"sourcesContent":["import { defineStore } from 'pinia';\nimport { tryOnMounted, useSessionStorage } from '@vueuse/core';\nimport {
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../packages/hooks/store/common/useCountryList/index.ts"],"sourcesContent":["import { defineStore } from 'pinia';\nimport { tryOnMounted, useSessionStorage } from '@vueuse/core';\nimport { usePostBasicV1CountryList } from '@giime/api/guardBasic/controller';\nimport type { CountryOpenVo } from '@giime/api/guardBasic/interface';\n\n/** 国家 */\nexport const useCountryListStore = defineStore('gmCountryList', () => {\n const { isLoading, exec } = usePostBasicV1CountryList();\n const countryList = useSessionStorage<CountryOpenVo[]>('gmCountryList', [], { listenToStorageChanges: false });\n\n const getCountryList = async () => {\n if (countryList.value.length !== 0 || isLoading.value) {\n return;\n }\n return exec().then(response => {\n if (response.data.value?.code == 200) {\n countryList.value = response.data.value?.data || [];\n }\n });\n };\n tryOnMounted(() => {\n getCountryList();\n });\n return {\n countryList,\n isLoading,\n getCountryList,\n };\n});\n"],"names":["defineStore","usePostBasicV1CountryList","useSessionStorage","tryOnMounted"],"mappings":";;;;;;;AAMa,MAAA,mBAAA,GAAsBA,iBAAY,CAAA,eAAA,EAAiB,MAAM;AACpE,EAAA,MAAM,EAAE,SAAA,EAAW,IAAK,EAAA,GAAIC,mDAA0B,EAAA,CAAA;AACtD,EAAM,MAAA,WAAA,GAAcC,uBAAmC,eAAiB,EAAA,IAAI,EAAE,sBAAA,EAAwB,OAAO,CAAA,CAAA;AAE7G,EAAA,MAAM,iBAAiB,YAAY;AACjC,IAAA,IAAI,WAAY,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AACrD,MAAA,OAAA;AAAA,KACF;AACA,IAAO,OAAA,IAAA,EAAO,CAAA,IAAA,CAAK,CAAY,QAAA,KAAA;AAC7B,MAAA,IAAI,QAAS,CAAA,IAAA,CAAK,KAAO,EAAA,IAAA,IAAQ,GAAK,EAAA;AACpC,QAAA,WAAA,CAAY,KAAQ,GAAA,QAAA,CAAS,IAAK,CAAA,KAAA,EAAO,QAAQ,EAAC,CAAA;AAAA,OACpD;AAAA,KACD,CAAA,CAAA;AAAA,GACH,CAAA;AACA,EAAAC,iBAAA,CAAa,MAAM;AACjB,IAAe,cAAA,EAAA,CAAA;AAAA,GAChB,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,WAAA;AAAA,IACA,SAAA;AAAA,IACA,cAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
|