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/es/hooks/base/index.mjs
CHANGED
|
@@ -6,4 +6,5 @@ export { useTimeoutPromise } from './useTimeout/index.mjs';
|
|
|
6
6
|
export { useRectSelect } from './useRectSelect/index.mjs';
|
|
7
7
|
export { usePageHtmlClass } from './usePageHtmlClass/index.mjs';
|
|
8
8
|
export { useComputedFields } from './useComputedFields/index.mjs';
|
|
9
|
+
export { useAxios } from './useAxios/index.mjs';
|
|
9
10
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","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,121 @@
|
|
|
1
|
+
import { noop, until } from '@vueuse/core';
|
|
2
|
+
import axios, { AxiosError } from 'axios';
|
|
3
|
+
import { shallowRef, ref } from 'vue';
|
|
4
|
+
|
|
5
|
+
function useAxios(...args) {
|
|
6
|
+
const url = typeof args[0] === "string" ? args[0] : void 0;
|
|
7
|
+
const argsPlaceholder = typeof url === "string" ? 1 : 0;
|
|
8
|
+
const defaultOptions = {
|
|
9
|
+
immediate: !!argsPlaceholder,
|
|
10
|
+
shallow: true,
|
|
11
|
+
abortPrevious: true
|
|
12
|
+
};
|
|
13
|
+
let defaultConfig = {};
|
|
14
|
+
let instance = axios;
|
|
15
|
+
let options = defaultOptions;
|
|
16
|
+
const isAxiosInstance = (val) => !!val?.request;
|
|
17
|
+
if (args.length > 0 + argsPlaceholder) {
|
|
18
|
+
if (isAxiosInstance(args[0 + argsPlaceholder]))
|
|
19
|
+
instance = args[0 + argsPlaceholder];
|
|
20
|
+
else
|
|
21
|
+
defaultConfig = args[0 + argsPlaceholder];
|
|
22
|
+
}
|
|
23
|
+
if (args.length > 1 + argsPlaceholder) {
|
|
24
|
+
if (isAxiosInstance(args[1 + argsPlaceholder]))
|
|
25
|
+
instance = args[1 + argsPlaceholder];
|
|
26
|
+
}
|
|
27
|
+
if (args.length === 2 + argsPlaceholder && !isAxiosInstance(args[1 + argsPlaceholder]) || args.length === 3 + argsPlaceholder) {
|
|
28
|
+
options = args[args.length - 1] || defaultOptions;
|
|
29
|
+
}
|
|
30
|
+
const { shallow, onSuccess = noop, onError = noop, immediate, resetOnExecute = false } = options;
|
|
31
|
+
const initialData = options.initialData;
|
|
32
|
+
const response = shallowRef();
|
|
33
|
+
const data = (shallow ? shallowRef : ref)(initialData);
|
|
34
|
+
const isFinished = shallowRef(false);
|
|
35
|
+
const isLoading = shallowRef(false);
|
|
36
|
+
const isAborted = shallowRef(false);
|
|
37
|
+
const error = shallowRef();
|
|
38
|
+
let abortController = new AbortController();
|
|
39
|
+
const abort = (message) => {
|
|
40
|
+
if (isFinished.value || !isLoading.value)
|
|
41
|
+
return;
|
|
42
|
+
abortController.abort(message);
|
|
43
|
+
abortController = new AbortController();
|
|
44
|
+
isAborted.value = true;
|
|
45
|
+
isLoading.value = false;
|
|
46
|
+
isFinished.value = false;
|
|
47
|
+
};
|
|
48
|
+
const loading = (loading2) => {
|
|
49
|
+
isLoading.value = loading2;
|
|
50
|
+
isFinished.value = !loading2;
|
|
51
|
+
};
|
|
52
|
+
const resetData = () => {
|
|
53
|
+
if (resetOnExecute)
|
|
54
|
+
data.value = initialData;
|
|
55
|
+
};
|
|
56
|
+
const waitUntilFinished = () => new Promise((resolve, reject) => {
|
|
57
|
+
until(isFinished).toBe(true).then(() => error.value ? reject(error.value) : resolve(result));
|
|
58
|
+
});
|
|
59
|
+
const promise = {
|
|
60
|
+
then: (...args2) => waitUntilFinished().then(...args2),
|
|
61
|
+
catch: (...args2) => waitUntilFinished().catch(...args2)
|
|
62
|
+
};
|
|
63
|
+
let executeCounter = 0;
|
|
64
|
+
const execute = (executeUrl = url, config = {}) => {
|
|
65
|
+
error.value = void 0;
|
|
66
|
+
const _url = typeof executeUrl === "string" ? executeUrl : url ?? config.url;
|
|
67
|
+
if (_url === void 0) {
|
|
68
|
+
error.value = new AxiosError(AxiosError.ERR_INVALID_URL);
|
|
69
|
+
isFinished.value = true;
|
|
70
|
+
return promise;
|
|
71
|
+
}
|
|
72
|
+
resetData();
|
|
73
|
+
if (options.abortPrevious !== false)
|
|
74
|
+
abort();
|
|
75
|
+
loading(true);
|
|
76
|
+
executeCounter += 1;
|
|
77
|
+
const currentExecuteCounter = executeCounter;
|
|
78
|
+
isAborted.value = false;
|
|
79
|
+
const outerResult = result;
|
|
80
|
+
return new Promise((resolve, reject) => {
|
|
81
|
+
instance(_url, { ...defaultConfig, ...typeof executeUrl === "object" ? executeUrl : config, signal: abortController.signal }).then((r) => {
|
|
82
|
+
if (isAborted.value)
|
|
83
|
+
return;
|
|
84
|
+
response.value = r;
|
|
85
|
+
const result2 = r.data;
|
|
86
|
+
data.value = result2;
|
|
87
|
+
resolve(outerResult);
|
|
88
|
+
onSuccess(result2);
|
|
89
|
+
}).catch((e) => {
|
|
90
|
+
error.value = e;
|
|
91
|
+
reject(e);
|
|
92
|
+
onError(e);
|
|
93
|
+
}).finally(() => {
|
|
94
|
+
options.onFinish?.();
|
|
95
|
+
if (currentExecuteCounter === executeCounter)
|
|
96
|
+
loading(false);
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
};
|
|
100
|
+
if (immediate && url)
|
|
101
|
+
execute();
|
|
102
|
+
const result = {
|
|
103
|
+
response,
|
|
104
|
+
data,
|
|
105
|
+
error,
|
|
106
|
+
isFinished,
|
|
107
|
+
isLoading,
|
|
108
|
+
cancel: abort,
|
|
109
|
+
isAborted,
|
|
110
|
+
isCanceled: isAborted,
|
|
111
|
+
abort,
|
|
112
|
+
execute
|
|
113
|
+
};
|
|
114
|
+
return {
|
|
115
|
+
...result,
|
|
116
|
+
...promise
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export { useAxios };
|
|
121
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","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":["deepRef","loading","args","result"],"mappings":"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"}
|
package/es/hooks/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ export { useTimeoutPromise } from './base/useTimeout/index.mjs';
|
|
|
8
8
|
export { useRectSelect } from './base/useRectSelect/index.mjs';
|
|
9
9
|
export { usePageHtmlClass } from './base/usePageHtmlClass/index.mjs';
|
|
10
10
|
export { useComputedFields } from './base/useComputedFields/index.mjs';
|
|
11
|
-
export {
|
|
11
|
+
export { useAxios } from './base/useAxios/index.mjs';
|
|
12
12
|
export { useLoginStore } from './store/useLogin/index.mjs';
|
|
13
13
|
export { useCustomSettingsStore } from './store/useCustomSettings/index.mjs';
|
|
14
14
|
export { useLineListStore } from './store/useLineList/index.mjs';
|
|
@@ -20,6 +20,7 @@ export { useRepiteFilterStore } from './store/useRepiteFilter/index.mjs';
|
|
|
20
20
|
export { useCurrencyListStore } from './store/common/useCurrencyList/index.mjs';
|
|
21
21
|
export { useCountryListStore } from './store/common/useCountryList/index.mjs';
|
|
22
22
|
export { useSystemListStore } from './store/common/useSystemList/index.mjs';
|
|
23
|
+
export { useLangListStore } from './store/common/useLangList/index.mjs';
|
|
23
24
|
export { useOrgListStore } from './store/userCenter/useOrgList/index.mjs';
|
|
24
25
|
export { useAreaListStore } from './store/userCenter/useAreaList/index.mjs';
|
|
25
26
|
export { useRoleListStore } from './store/userCenter/useRoleList/index.mjs';
|
package/es/hooks/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { useCurrencyListStore } from './useCurrencyList/index.mjs';
|
|
2
2
|
export { useCountryListStore } from './useCountryList/index.mjs';
|
|
3
3
|
export { useSystemListStore } from './useSystemList/index.mjs';
|
|
4
|
+
export { useLangListStore } from './useLangList/index.mjs';
|
|
4
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","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">>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineStore } from 'pinia';
|
|
2
2
|
import { useSessionStorage, tryOnMounted } from '@vueuse/core';
|
|
3
|
-
import '../../../../api/
|
|
4
|
-
import {
|
|
3
|
+
import '../../../../api/guardBasic/controller/index.mjs';
|
|
4
|
+
import { usePostBasicV1CountryList } from '../../../../api/guardBasic/controller/JiChuFuWu/QuYuGuanLi/usePostBasicV1CountryList.mjs';
|
|
5
5
|
|
|
6
6
|
const useCountryListStore = defineStore("gmCountryList", () => {
|
|
7
|
-
const { isLoading, exec } =
|
|
7
|
+
const { isLoading, exec } = usePostBasicV1CountryList();
|
|
8
8
|
const countryList = useSessionStorage("gmCountryList", [], { listenToStorageChanges: false });
|
|
9
9
|
const getCountryList = async () => {
|
|
10
10
|
if (countryList.value.length !== 0 || isLoading.value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","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.mjs","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":[],"mappings":";;;;;AAMa,MAAA,mBAAA,GAAsB,WAAY,CAAA,eAAA,EAAiB,MAAM;AACpE,EAAA,MAAM,EAAE,SAAA,EAAW,IAAK,EAAA,GAAI,yBAA0B,EAAA,CAAA;AACtD,EAAM,MAAA,WAAA,GAAc,kBAAmC,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,EAAA,YAAA,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;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/// <reference types="@vueuse/shared" />
|
|
2
|
-
import type {
|
|
2
|
+
import type { CurrencyOpenVo } from '../../../../api/guardBasic/interface';
|
|
3
3
|
/** 币种 */
|
|
4
4
|
export declare const useCurrencyListStore: import("pinia").StoreDefinition<"gmCurrencyList", import("pinia")._UnwrapAll<Pick<{
|
|
5
|
-
currencyList: import("@vueuse/shared").RemovableRef<
|
|
5
|
+
currencyList: import("@vueuse/shared").RemovableRef<CurrencyOpenVo[]>;
|
|
6
6
|
isLoading: import("vue").Ref<boolean>;
|
|
7
7
|
getCurrencyList: () => Promise<void>;
|
|
8
8
|
}, "isLoading" | "currencyList">>, Pick<{
|
|
9
|
-
currencyList: import("@vueuse/shared").RemovableRef<
|
|
9
|
+
currencyList: import("@vueuse/shared").RemovableRef<CurrencyOpenVo[]>;
|
|
10
10
|
isLoading: import("vue").Ref<boolean>;
|
|
11
11
|
getCurrencyList: () => Promise<void>;
|
|
12
12
|
}, never>, Pick<{
|
|
13
|
-
currencyList: import("@vueuse/shared").RemovableRef<
|
|
13
|
+
currencyList: import("@vueuse/shared").RemovableRef<CurrencyOpenVo[]>;
|
|
14
14
|
isLoading: import("vue").Ref<boolean>;
|
|
15
15
|
getCurrencyList: () => Promise<void>;
|
|
16
16
|
}, "getCurrencyList">>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineStore } from 'pinia';
|
|
2
2
|
import { useSessionStorage, tryOnMounted } from '@vueuse/core';
|
|
3
|
-
import '../../../../api/
|
|
4
|
-
import {
|
|
3
|
+
import '../../../../api/guardBasic/controller/index.mjs';
|
|
4
|
+
import { usePostBasicV1CurrencyListAll } from '../../../../api/guardBasic/controller/JiChuFuWu/BiZhongGuanLi/usePostBasicV1CurrencyListAll.mjs';
|
|
5
5
|
|
|
6
6
|
const useCurrencyListStore = defineStore("gmCurrencyList", () => {
|
|
7
|
-
const { isLoading, exec } =
|
|
7
|
+
const { isLoading, exec } = usePostBasicV1CurrencyListAll();
|
|
8
8
|
const currencyList = useSessionStorage("gmCurrencyList", [], { listenToStorageChanges: false });
|
|
9
9
|
const getCurrencyList = async () => {
|
|
10
10
|
if (currencyList.value.length !== 0 || isLoading.value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/hooks/store/common/useCurrencyList/index.ts"],"sourcesContent":["import { defineStore } from 'pinia';\nimport { tryOnMounted, useSessionStorage } from '@vueuse/core';\nimport {
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/hooks/store/common/useCurrencyList/index.ts"],"sourcesContent":["import { defineStore } from 'pinia';\nimport { tryOnMounted, useSessionStorage } from '@vueuse/core';\nimport { usePostBasicV1CurrencyListAll } from '@giime/api/guardBasic/controller';\nimport type { CurrencyOpenVo } from '@giime/api/guardBasic/interface';\n\n/** 币种 */\nexport const useCurrencyListStore = defineStore('gmCurrencyList', () => {\n const { isLoading, exec } = usePostBasicV1CurrencyListAll();\n const currencyList = useSessionStorage<CurrencyOpenVo[]>('gmCurrencyList', [], { listenToStorageChanges: false });\n\n const getCurrencyList = async () => {\n if (currencyList.value.length !== 0 || isLoading.value) {\n return;\n }\n return exec().then(res => {\n if (res.data.value?.code == 200) {\n currencyList.value = res.data.value?.data || [];\n }\n });\n };\n tryOnMounted(() => {\n getCurrencyList();\n });\n return {\n currencyList,\n isLoading,\n getCurrencyList,\n };\n});\n"],"names":[],"mappings":";;;;;AAMa,MAAA,oBAAA,GAAuB,WAAY,CAAA,gBAAA,EAAkB,MAAM;AACtE,EAAA,MAAM,EAAE,SAAA,EAAW,IAAK,EAAA,GAAI,6BAA8B,EAAA,CAAA;AAC1D,EAAM,MAAA,YAAA,GAAe,kBAAoC,gBAAkB,EAAA,IAAI,EAAE,sBAAA,EAAwB,OAAO,CAAA,CAAA;AAEhH,EAAA,MAAM,kBAAkB,YAAY;AAClC,IAAA,IAAI,YAAa,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AACtD,MAAA,OAAA;AAAA,KACF;AACA,IAAO,OAAA,IAAA,EAAO,CAAA,IAAA,CAAK,CAAO,GAAA,KAAA;AACxB,MAAA,IAAI,GAAI,CAAA,IAAA,CAAK,KAAO,EAAA,IAAA,IAAQ,GAAK,EAAA;AAC/B,QAAA,YAAA,CAAa,KAAQ,GAAA,GAAA,CAAI,IAAK,CAAA,KAAA,EAAO,QAAQ,EAAC,CAAA;AAAA,OAChD;AAAA,KACD,CAAA,CAAA;AAAA,GACH,CAAA;AACA,EAAA,YAAA,CAAa,MAAM;AACjB,IAAgB,eAAA,EAAA,CAAA;AAAA,GACjB,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,YAAA;AAAA,IACA,SAAA;AAAA,IACA,eAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/// <reference types="@vueuse/shared" />
|
|
2
|
-
import type {
|
|
2
|
+
import type { LanguageOpenVo } from '../../../../api/guardBasic/interface';
|
|
3
3
|
/**语种列表 */
|
|
4
4
|
export declare const useLangListStore: import("pinia").StoreDefinition<"gmLangList", import("pinia")._UnwrapAll<Pick<{
|
|
5
|
-
langList: import("@vueuse/shared").RemovableRef<
|
|
5
|
+
langList: import("@vueuse/shared").RemovableRef<LanguageOpenVo[]>;
|
|
6
6
|
isLoading: import("vue").Ref<boolean>;
|
|
7
7
|
isFinished: import("vue").Ref<boolean>;
|
|
8
8
|
getLangList: () => Promise<void>;
|
|
9
9
|
getDataFinally: () => Promise<unknown>;
|
|
10
10
|
}, "isFinished" | "isLoading" | "langList">>, Pick<{
|
|
11
|
-
langList: import("@vueuse/shared").RemovableRef<
|
|
11
|
+
langList: import("@vueuse/shared").RemovableRef<LanguageOpenVo[]>;
|
|
12
12
|
isLoading: import("vue").Ref<boolean>;
|
|
13
13
|
isFinished: import("vue").Ref<boolean>;
|
|
14
14
|
getLangList: () => Promise<void>;
|
|
15
15
|
getDataFinally: () => Promise<unknown>;
|
|
16
16
|
}, never>, Pick<{
|
|
17
|
-
langList: import("@vueuse/shared").RemovableRef<
|
|
17
|
+
langList: import("@vueuse/shared").RemovableRef<LanguageOpenVo[]>;
|
|
18
18
|
isLoading: import("vue").Ref<boolean>;
|
|
19
19
|
isFinished: import("vue").Ref<boolean>;
|
|
20
20
|
getLangList: () => Promise<void>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref } from 'vue';
|
|
2
2
|
import { defineStore } from 'pinia';
|
|
3
|
-
import '../../../api/index.mjs';
|
|
4
3
|
import { useSessionStorage, tryOnMounted } from '@vueuse/core';
|
|
5
|
-
import { useLoading } from '
|
|
6
|
-
import
|
|
4
|
+
import { useLoading } from '../../../base/useLoading/index.mjs';
|
|
5
|
+
import '../../../../api/guardBasic/controller/index.mjs';
|
|
6
|
+
import { postBasicV1LanguageListAll } from '../../../../api/guardBasic/controller/JiChuFuWu/YuZhongGuanLi/postBasicV1LanguageListAll.mjs';
|
|
7
7
|
|
|
8
8
|
const useLangListStore = defineStore("gmLangList", () => {
|
|
9
9
|
const langList = useSessionStorage("gmLangList", [], { listenToStorageChanges: false });
|
|
10
|
-
const { isLoading, exec: getLangListExec, getDataFinally } = useLoading(
|
|
10
|
+
const { isLoading, exec: getLangListExec, getDataFinally } = useLoading(postBasicV1LanguageListAll);
|
|
11
11
|
const isFinished = ref(false);
|
|
12
12
|
const getLangList = async () => {
|
|
13
13
|
if (langList.value.length !== 0 || isLoading.value) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/hooks/store/common/useLangList/index.ts"],"sourcesContent":["import { ref } from 'vue';\nimport { defineStore } from 'pinia';\nimport { tryOnMounted, useSessionStorage } from '@vueuse/core';\nimport { useLoading } from '@giime/hooks/base/useLoading/index';\nimport { postBasicV1LanguageListAll } from '@giime/api/guardBasic/controller';\nimport type { LanguageOpenVo } from '@giime/api/guardBasic/interface';\n\n/**语种列表 */\nexport const useLangListStore = defineStore('gmLangList', () => {\n // const langList = ref<GetV1BasicGetLangListResultData[]>([]);\n const langList = useSessionStorage<LanguageOpenVo[]>('gmLangList', [], { listenToStorageChanges: false });\n\n const { isLoading, exec: getLangListExec, getDataFinally } = useLoading(postBasicV1LanguageListAll);\n const isFinished = ref(false);\n\n const getLangList = async () => {\n if (langList.value.length !== 0 || isLoading.value) {\n return;\n }\n const { data } = await getLangListExec();\n if (data.code !== 200) {\n return;\n }\n langList.value = data.data;\n };\n tryOnMounted(() => {\n getLangList();\n });\n return {\n langList,\n isLoading,\n isFinished,\n getLangList,\n getDataFinally,\n };\n});\n"],"names":[],"mappings":";;;;;;;AAQa,MAAA,gBAAA,GAAmB,WAAY,CAAA,YAAA,EAAc,MAAM;AAE9D,EAAM,MAAA,QAAA,GAAW,kBAAoC,YAAc,EAAA,IAAI,EAAE,sBAAA,EAAwB,OAAO,CAAA,CAAA;AAExG,EAAA,MAAM,EAAE,SAAW,EAAA,IAAA,EAAM,iBAAiB,cAAe,EAAA,GAAI,WAAW,0BAA0B,CAAA,CAAA;AAClG,EAAM,MAAA,UAAA,GAAa,IAAI,KAAK,CAAA,CAAA;AAE5B,EAAA,MAAM,cAAc,YAAY;AAC9B,IAAA,IAAI,QAAS,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AAClD,MAAA,OAAA;AAAA,KACF;AACA,IAAA,MAAM,EAAE,IAAA,EAAS,GAAA,MAAM,eAAgB,EAAA,CAAA;AACvC,IAAI,IAAA,IAAA,CAAK,SAAS,GAAK,EAAA;AACrB,MAAA,OAAA;AAAA,KACF;AACA,IAAA,QAAA,CAAS,QAAQ,IAAK,CAAA,IAAA,CAAA;AAAA,GACxB,CAAA;AACA,EAAA,YAAA,CAAa,MAAM;AACjB,IAAY,WAAA,EAAA,CAAA;AAAA,GACb,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,QAAA;AAAA,IACA,SAAA;AAAA,IACA,UAAA;AAAA,IACA,WAAA;AAAA,IACA,cAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
|
|
@@ -3,78 +3,78 @@ export declare const useSystemListStore: import("pinia").StoreDefinition<"gmSyst
|
|
|
3
3
|
systemList: import("vue").ComputedRef<{
|
|
4
4
|
id: number;
|
|
5
5
|
name: string;
|
|
6
|
-
title:
|
|
6
|
+
title: string;
|
|
7
7
|
}[]>;
|
|
8
8
|
isLoading: import("vue").Ref<boolean>;
|
|
9
9
|
getSystemList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<{
|
|
10
10
|
code: number;
|
|
11
|
-
msg: string;
|
|
12
11
|
bizCode: number;
|
|
13
12
|
data: {
|
|
14
13
|
id: number;
|
|
15
14
|
name: string;
|
|
16
|
-
title:
|
|
15
|
+
title: string;
|
|
17
16
|
}[];
|
|
17
|
+
msg: string;
|
|
18
18
|
}, import("axios").AxiosResponse<{
|
|
19
19
|
code: number;
|
|
20
|
-
msg: string;
|
|
21
20
|
bizCode: number;
|
|
22
21
|
data: {
|
|
23
22
|
id: number;
|
|
24
23
|
name: string;
|
|
25
|
-
title:
|
|
24
|
+
title: string;
|
|
26
25
|
}[];
|
|
26
|
+
msg: string;
|
|
27
27
|
}, any>, any> | undefined>;
|
|
28
28
|
}, "isLoading">>, Pick<{
|
|
29
29
|
systemList: import("vue").ComputedRef<{
|
|
30
30
|
id: number;
|
|
31
31
|
name: string;
|
|
32
|
-
title:
|
|
32
|
+
title: string;
|
|
33
33
|
}[]>;
|
|
34
34
|
isLoading: import("vue").Ref<boolean>;
|
|
35
35
|
getSystemList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<{
|
|
36
36
|
code: number;
|
|
37
|
-
msg: string;
|
|
38
37
|
bizCode: number;
|
|
39
38
|
data: {
|
|
40
39
|
id: number;
|
|
41
40
|
name: string;
|
|
42
|
-
title:
|
|
41
|
+
title: string;
|
|
43
42
|
}[];
|
|
43
|
+
msg: string;
|
|
44
44
|
}, import("axios").AxiosResponse<{
|
|
45
45
|
code: number;
|
|
46
|
-
msg: string;
|
|
47
46
|
bizCode: number;
|
|
48
47
|
data: {
|
|
49
48
|
id: number;
|
|
50
49
|
name: string;
|
|
51
|
-
title:
|
|
50
|
+
title: string;
|
|
52
51
|
}[];
|
|
52
|
+
msg: string;
|
|
53
53
|
}, any>, any> | undefined>;
|
|
54
54
|
}, "systemList">, Pick<{
|
|
55
55
|
systemList: import("vue").ComputedRef<{
|
|
56
56
|
id: number;
|
|
57
57
|
name: string;
|
|
58
|
-
title:
|
|
58
|
+
title: string;
|
|
59
59
|
}[]>;
|
|
60
60
|
isLoading: import("vue").Ref<boolean>;
|
|
61
61
|
getSystemList: () => Promise<import("@vueuse/integrations/useAxios").StrictUseAxiosReturn<{
|
|
62
62
|
code: number;
|
|
63
|
-
msg: string;
|
|
64
63
|
bizCode: number;
|
|
65
64
|
data: {
|
|
66
65
|
id: number;
|
|
67
66
|
name: string;
|
|
68
|
-
title:
|
|
67
|
+
title: string;
|
|
69
68
|
}[];
|
|
69
|
+
msg: string;
|
|
70
70
|
}, import("axios").AxiosResponse<{
|
|
71
71
|
code: number;
|
|
72
|
-
msg: string;
|
|
73
72
|
bizCode: number;
|
|
74
73
|
data: {
|
|
75
74
|
id: number;
|
|
76
75
|
name: string;
|
|
77
|
-
title:
|
|
76
|
+
title: string;
|
|
78
77
|
}[];
|
|
78
|
+
msg: string;
|
|
79
79
|
}, any>, any> | undefined>;
|
|
80
80
|
}, "getSystemList">>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { computed } from 'vue';
|
|
2
2
|
import { defineStore } from 'pinia';
|
|
3
|
-
import '../../../../api/basic/controller/index.mjs';
|
|
4
3
|
import { tryOnMounted } from '@vueuse/core';
|
|
5
|
-
import
|
|
4
|
+
import '../../../../api/guardBasic/controller/index.mjs';
|
|
5
|
+
import { usePostBasicV1SystemListAll } from '../../../../api/guardBasic/controller/JiChuFuWu/XiTongGuanLi/usePostBasicV1SystemListAll.mjs';
|
|
6
6
|
|
|
7
7
|
const useSystemListStore = defineStore("gmSystemList", () => {
|
|
8
|
-
const { isLoading, exec, data } =
|
|
8
|
+
const { isLoading, exec, data } = usePostBasicV1SystemListAll();
|
|
9
9
|
const systemList = computed(() => data.value?.data || []);
|
|
10
10
|
const getSystemList = async () => {
|
|
11
11
|
if (systemList.value.length !== 0 || isLoading.value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/hooks/store/common/useSystemList/index.ts"],"sourcesContent":["import { computed } from 'vue';\nimport { defineStore } from 'pinia';\nimport {
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../packages/hooks/store/common/useSystemList/index.ts"],"sourcesContent":["import { computed } from 'vue';\nimport { defineStore } from 'pinia';\nimport { tryOnMounted } from '@vueuse/core';\nimport { usePostBasicV1SystemListAll } from '@giime/api/guardBasic/controller';\n\n/** 系统 */\nexport const useSystemListStore = defineStore('gmSystemList', () => {\n const { isLoading, exec, data } = usePostBasicV1SystemListAll();\n const systemList = computed(() => data.value?.data || []);\n const getSystemList = async () => {\n if (systemList.value.length !== 0 || isLoading.value) {\n return;\n }\n return exec();\n };\n tryOnMounted(() => {\n getSystemList();\n });\n return {\n systemList,\n isLoading,\n getSystemList,\n };\n});\n"],"names":[],"mappings":";;;;;;AAMa,MAAA,kBAAA,GAAqB,WAAY,CAAA,cAAA,EAAgB,MAAM;AAClE,EAAA,MAAM,EAAE,SAAA,EAAW,IAAM,EAAA,IAAA,KAAS,2BAA4B,EAAA,CAAA;AAC9D,EAAA,MAAM,aAAa,QAAS,CAAA,MAAM,KAAK,KAAO,EAAA,IAAA,IAAQ,EAAE,CAAA,CAAA;AACxD,EAAA,MAAM,gBAAgB,YAAY;AAChC,IAAA,IAAI,UAAW,CAAA,KAAA,CAAM,MAAW,KAAA,CAAA,IAAK,UAAU,KAAO,EAAA;AACpD,MAAA,OAAA;AAAA,KACF;AACA,IAAA,OAAO,IAAK,EAAA,CAAA;AAAA,GACd,CAAA;AACA,EAAA,YAAA,CAAa,MAAM;AACjB,IAAc,aAAA,EAAA,CAAA;AAAA,GACf,CAAA,CAAA;AACD,EAAO,OAAA;AAAA,IACL,UAAA;AAAA,IACA,SAAA;AAAA,IACA,aAAA;AAAA,GACF,CAAA;AACF,CAAC;;;;"}
|
package/es/hooks/store/index.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { useLangListStore } from './useLangList/index.mjs';
|
|
2
1
|
export { useLoginStore } from './useLogin/index.mjs';
|
|
3
2
|
export { useCustomSettingsStore } from './useCustomSettings/index.mjs';
|
|
4
3
|
export { useLineListStore } from './useLineList/index.mjs';
|
|
@@ -14,6 +13,7 @@ export { useAliOssConfigsStore } from './useAliOssConfigs/index.mjs';
|
|
|
14
13
|
export { useCurrencyListStore } from './common/useCurrencyList/index.mjs';
|
|
15
14
|
export { useCountryListStore } from './common/useCountryList/index.mjs';
|
|
16
15
|
export { useSystemListStore } from './common/useSystemList/index.mjs';
|
|
16
|
+
export { useLangListStore } from './common/useLangList/index.mjs';
|
|
17
17
|
export { useOrgListStore } from './userCenter/useOrgList/index.mjs';
|
|
18
18
|
export { useAreaListStore } from './userCenter/useAreaList/index.mjs';
|
|
19
19
|
export { useRoleListStore } from './userCenter/useRoleList/index.mjs';
|
|
@@ -5,7 +5,7 @@ export declare const useLineListStore: import("pinia").StoreDefinition<"gmLineLi
|
|
|
5
5
|
lineList: import("@vueuse/shared").RemovableRef<PostShopAdminStoreFilterResponseDataLine[]>;
|
|
6
6
|
isLoading: import("vue").Ref<boolean>;
|
|
7
7
|
getLineList: () => Promise<void>;
|
|
8
|
-
}, "
|
|
8
|
+
}, "lineList" | "isLoading">>, Pick<{
|
|
9
9
|
lineList: import("@vueuse/shared").RemovableRef<PostShopAdminStoreFilterResponseDataLine[]>;
|
|
10
10
|
isLoading: import("vue").Ref<boolean>;
|
|
11
11
|
getLineList: () => Promise<void>;
|