2026-06-15 01:44:20 +08:00
|
|
|
// 自动初始化(对齐 Android ContentProvider 模式)
|
|
|
|
|
import './autoInit'
|
|
|
|
|
|
2026-06-19 01:27:56 +08:00
|
|
|
export { XuqmSDK, getSigningKey } from './sdk'
|
2026-06-15 01:44:20 +08:00
|
|
|
export type { XuqmInitOptions, XuqmConfig, XuqmUserInfo } from './config'
|
2026-06-15 10:57:55 +08:00
|
|
|
export {
|
|
|
|
|
getConfig,
|
|
|
|
|
isInitialized,
|
|
|
|
|
setUserId,
|
|
|
|
|
getUserId,
|
|
|
|
|
setUserInfo,
|
|
|
|
|
getUserInfo,
|
|
|
|
|
_registerUserInfoHandler,
|
|
|
|
|
} from './config'
|
2026-05-22 17:57:01 +08:00
|
|
|
export { awaitInitialization } from './sdk'
|
2026-05-08 09:27:38 +08:00
|
|
|
export { apiRequest, configureHttp, _getToken, _saveToken, _clearToken } from './http'
|
2026-04-29 15:46:40 +08:00
|
|
|
export { DEFAULT_TENANT_PLATFORM_URL, DEFAULT_IM_WS_URL } from './constants'
|
2026-04-25 16:41:19 +08:00
|
|
|
export { getDeviceId, getDeviceInfo, detectPushVendor } from './device'
|
|
|
|
|
export type { DeviceInfo, PushVendor } from './device'
|
|
|
|
|
export { ScaledImage } from './components/ScaledImage'
|
2026-05-07 19:39:41 +08:00
|
|
|
export {
|
|
|
|
|
XWebViewControl,
|
|
|
|
|
getXWebViewConfig,
|
|
|
|
|
openXWebView,
|
|
|
|
|
setXWebViewController,
|
2026-06-16 12:01:44 +08:00
|
|
|
setXWebViewNavigationRef,
|
2026-06-16 12:10:28 +08:00
|
|
|
setXWebViewScanQRCodeHandler,
|
2026-06-16 12:01:44 +08:00
|
|
|
processJSBridgeMessage,
|
2026-05-07 19:39:41 +08:00
|
|
|
} from './xwebview/XWebViewBridge'
|
2026-06-16 12:10:28 +08:00
|
|
|
export type { XWebViewNavigationRef, ScanQRCodeHandler } from './xwebview/XWebViewBridge'
|
2026-05-07 19:39:41 +08:00
|
|
|
export type {
|
|
|
|
|
XWebViewClickMenu,
|
|
|
|
|
XWebViewConfig,
|
|
|
|
|
XWebViewControllerAPI,
|
|
|
|
|
XWebViewDownloadDecision,
|
|
|
|
|
XWebViewDownloadProgress,
|
|
|
|
|
XWebViewDownloadRequest,
|
|
|
|
|
XWebViewDownloadResult,
|
|
|
|
|
XWebViewMessageEvent,
|
|
|
|
|
XWebViewPermissionRequest,
|
|
|
|
|
} from './xwebview/types'
|
2026-06-16 12:01:44 +08:00
|
|
|
|
|
|
|
|
// api/ 子模块
|
|
|
|
|
export {
|
|
|
|
|
RequestError,
|
|
|
|
|
setGlobalApiErrorHandler,
|
|
|
|
|
useRequest,
|
|
|
|
|
useApi,
|
|
|
|
|
usePageApi,
|
|
|
|
|
} from './api'
|
|
|
|
|
export type { RequestOptions as UseRequestOptions, ApiMethod } from './api'
|
|
|
|
|
export type { PageOptions } from './api'
|
|
|
|
|
export type { AxiosRequestConfig } from 'axios'
|
|
|
|
|
|
|
|
|
|
// ui/ 子模块
|
|
|
|
|
export { showToast, showAlert, showConfirm, configureToast } from './ui'
|