@pit-front-end/utils
Version:
湖南创智艾泰克科技有限公司
81 lines (80 loc) • 2.88 kB
JavaScript
import { initConfig as t } from "./define.js";
import { BIM_API as l, DEFINE_BASE_API as d, DEFINE_BASE_URL as S, DEFINE_JM as F, DEFINE_JWKS_KID as N, DEFINE_JWKS_PATH as T, DEFINE_LOGIN_AUTHOR as D, DEFINE_LOGIN_TITLE as u, DEFINE_MODE as n, DEFINE_SORT as c, DEFINE_TIME as A, DEFINE_TITLE as O, ENABLE_PAGEOFFICE as P, WSS_URL as L, appConfig as B, getAppConfig as R, mode as k } from "./define.js";
import { initUserStore as o } from "./pit.js";
import { pit as U } from "./pit.js";
import { initRequest as E } from "./request.js";
import { Service as v, http as y, http2 as C, http3 as w, http4 as J } from "./request.js";
import { initRouter as f } from "./global.js";
import { definePropType as W, withInstall as s } from "./install.js";
import { getToken as V, removeToken as j, setToken as H } from "./auth.js";
import { getBroadcastService as q } from "./broadcastService.js";
import { formValidate as Q, regularList as X } from "./formValidate.js";
import { getBidId as Z, getKeyByUrl as $, getMajorId as ee, getProjectId as re, getQueryString as te, getTaskStatus as oe, getUserId as Ee } from "./localCache.js";
import { passwordValidate as me, passwordValidateMsg as Ie } from "./passwordValidate.js";
import { emitter as ie } from "./emitter.js";
import { getRouter as pe } from "./getRouter.js";
import { getJwks as xe } from "./Jwks.js";
import { Print as de } from "./print.js";
import { PageOfficeOperType as Fe, openPageOffice as Ne } from "./openPageOffice.js";
import { WebSocketClient as De } from "./websocketClient.js";
import { getFileSizeStr as ne } from "./file.js";
function m(r, e = {}) {
return console.log(r, "install", e, "options"), e != null && e.env && t(e.env), e != null && e.pinia && o(e.pinia), e != null && e.router && f(e.router), E(), !0;
}
const p = {
install: m
};
export {
l as BIM_API,
d as DEFINE_BASE_API,
S as DEFINE_BASE_URL,
F as DEFINE_JM,
N as DEFINE_JWKS_KID,
T as DEFINE_JWKS_PATH,
D as DEFINE_LOGIN_AUTHOR,
u as DEFINE_LOGIN_TITLE,
n as DEFINE_MODE,
c as DEFINE_SORT,
A as DEFINE_TIME,
O as DEFINE_TITLE,
P as ENABLE_PAGEOFFICE,
Fe as PageOfficeOperType,
de as Print,
v as Service,
L as WSS_URL,
De as WebSocketClient,
B as appConfig,
p as default,
W as definePropType,
ie as emitter,
Q as formValidate,
R as getAppConfig,
Z as getBidId,
q as getBroadcastService,
ne as getFileSizeStr,
xe as getJwks,
$ as getKeyByUrl,
ee as getMajorId,
re as getProjectId,
te as getQueryString,
pe as getRouter,
oe as getTaskStatus,
V as getToken,
Ee as getUserId,
y as http,
C as http2,
w as http3,
J as http4,
t as initConfig,
E as initRequest,
o as initUserStore,
k as mode,
Ne as openPageOffice,
me as passwordValidate,
Ie as passwordValidateMsg,
U as pit,
X as regularList,
j as removeToken,
H as setToken,
s as withInstall
};