jr-util
Version:
这是MJR的JS工具库。定期更新
67 lines (66 loc) • 2.67 kB
JavaScript
import { validEmail as o, validIdCard as r, validMobile as a, validURL as m } from "./src/valid.mjs";
import { calcAdd as d, clone as n, debounce as g, deepClone as l, desensitization as c, formatBigNum as p, formatPercent as T, getAssetUrl as f, getQueryObject as x, getQueryObject2 as s, param as u, uniqueArr as b } from "./src/Util.mjs";
import { getIntervalNum as U, getRandomSting as v, getUUid as y, getUUidByChar as P, getUUidByDate as R } from "./src/random.mjs";
import { dateTHb as B, dateToTimestamp as C, formatTimeByNear as D, timestampToTime as S } from "./src/time.mjs";
import { clearDb as A, getDb as F, removeDb as G, saveDb as I } from "./src/localstorage.mjs";
import { threeAddMovingCube as O, threeCalculateRectangleSize as z, threeFlipImage as w, threeLoadTextureFunc as E, threeLoadTextureFuncImages as H, threePlaneToSphereSize as J, threeUpdateCubeTextureFace as M, threeUpdateLabelPosition as Q } from "./src/threeUtil.mjs";
import { bd09ToGcj02 as q, bd09ToWgs84 as k, calcDistance as K, gcj02ToBd09 as V, gcj02ToWgs84 as X, generateRandomPoints as Y, wgs84ToBd09 as Z, wgs84ToGcj02 as _ } from "./src/coorTrans.mjs";
import { generatePolygonGeoJSON as ee, generatePolygonPointGeoJSON as te } from "./src/geoDataUtil.mjs";
import { colorHexToRgba as re, colorRandom as ae } from "./src/colorUtil.mjs";
import { formatRichText as ie } from "./src/textUtil.mjs";
import { animation as ne } from "./src/animateUtil.mjs";
import { default as le } from "./src/emitter.mjs";
export {
le as Emitter,
ne as animation,
q as bd09ToGcj02,
k as bd09ToWgs84,
d as calcAdd,
K as calcDistance,
A as clearDb,
n as clone,
re as colorHexToRgba,
ae as colorRandom,
B as dateTHb,
C as dateToTimestamp,
g as debounce,
l as deepClone,
c as desensitization,
p as formatBigNum,
T as formatPercent,
ie as formatRichText,
D as formatTimeByNear,
V as gcj02ToBd09,
X as gcj02ToWgs84,
ee as generatePolygonGeoJSON,
te as generatePolygonPointGeoJSON,
Y as generateRandomPoints,
f as getAssetUrl,
F as getDb,
U as getIntervalNum,
x as getQueryObject,
s as getQueryObject2,
v as getRandomSting,
y as getUUid,
P as getUUidByChar,
R as getUUidByDate,
u as param,
G as removeDb,
I as saveDb,
O as threeAddMovingCube,
z as threeCalculateRectangleSize,
w as threeFlipImage,
E as threeLoadTextureFunc,
H as threeLoadTextureFuncImages,
J as threePlaneToSphereSize,
M as threeUpdateCubeTextureFace,
Q as threeUpdateLabelPosition,
S as timestampToTime,
b as uniqueArr,
o as validEmail,
r as validIdCard,
a as validMobile,
m as validURL,
Z as wgs84ToBd09,
_ as wgs84ToGcj02
};