@jhqn/utils 0.3.4 → 0.4.1
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/README.md +1 -0
- package/dist/chunk-DzK395Rf.js +36 -0
- package/dist/core.d.ts +1 -2
- package/dist/core.js +3 -1
- package/dist/crypto.d.ts +5 -1
- package/dist/crypto.js +7 -1
- package/dist/faker.d.ts +1 -2
- package/dist/faker.js +3 -1
- package/dist/index.d.ts +13 -6
- package/dist/index.js +34 -1
- package/dist/msw.d.ts +1 -2
- package/dist/msw.js +3 -1
- package/dist/storage/index.d.ts +1 -2
- package/dist/storage/index.js +3 -1
- package/dist/storage/react.js +3 -1
- package/dist/storage/vue.js +3 -1
- package/package.json +21 -21
- package/dist/core-C_aJPDvc.js +0 -1
- package/dist/core-uge32Dhz.d.ts +0 -2
- package/dist/crypto-DyTnRE4J.js +0 -1
- package/dist/crypto-m7hnY66q.d.ts +0 -6
- package/dist/faker-BI2VZVxO.d.ts +0 -2
- package/dist/faker-Cs4rM2K0.js +0 -1
- package/dist/index-Bwt_67VL.d.ts +0 -2
- package/dist/msw-B6t9s_c5.js +0 -1
- package/dist/msw-BYsVPab5.d.ts +0 -2
- package/dist/storage-BtU5f2H9.js +0 -1
package/README.md
CHANGED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
//#region rolldown:runtime
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __exportAll = (all, symbols) => {
|
|
7
|
+
let target = {};
|
|
8
|
+
for (var name in all) {
|
|
9
|
+
__defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
if (symbols) {
|
|
15
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
16
|
+
}
|
|
17
|
+
return target;
|
|
18
|
+
};
|
|
19
|
+
var __copyProps = (to, from, except, desc) => {
|
|
20
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
21
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
22
|
+
key = keys[i];
|
|
23
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
24
|
+
__defProp(to, key, {
|
|
25
|
+
get: ((k) => from[k]).bind(null, key),
|
|
26
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return to;
|
|
32
|
+
};
|
|
33
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
export { __reExport as n, __exportAll as t };
|
package/dist/core.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Dayjs, Dict, HostEnv, MaybeArray, NullOrUndefinable, Nullable, Numeric, PageReq, PageRes, PageResData, PartialBy, Res, UnDef, Undefinable, VK, attachFmt, camel2Kebab, camel2Pascal, camel2Snake, camel2Title, checkImg, cnIdCard15Re, cnIdCard18Re, cnPhoneRE, cnTelRE, cnTelRE2, cnUSCIRE, currencyFmt, dateDuration, dateFmt, dayjs, detect, emailRE, filterObj, fixiOSInputAutoZoomIn, getBaseAttachUrl, getCodeOfDate, getCodeOfHour, getCodeOfMonth, getHostEnv, getMockData, getMockDataList, getVariableType, hideBankCard, hideCardNo, hideEmail, hideFirstName, hideHead, hideMiddle, hidePhone, hideSurname, hideTail, hideThird, inBrowser, isArrStr, isArray, isBigInt, isBlob, isBoolean, isDate, isDef, isEmail, isEmpty, isError, isFile, isFunction, isIdCard, isJSONStr, isMap, isNull, isNumber, isNumeric, isObject, isPhone, isPromise, isRegExp, isSet, isString, isSymbol, isTel, isURL, isUSCI, isUndefined, isValidArrRes, isValidFileType, isValidKey, isValidPageRes, isValidRes, isValidResCode, isWeakMap, isWeakSet, jClear, jDebug, jError, jGroup, jGroupC, jGroupE, jInfo, jLog, jLogDedupe, jLogOnce, jTime, jTimeEnd, jWarn, kebab2Camel, kebab2Pascal, kebab2Snake, kebab2Title, naturalSort, naturalSortBy, nonASCII, parseJSON, parseToJSON, pascal2Camel, pascal2Kebab, pascal2Snake, pascal2Title, recoverFile, replacer, resUrl, reviver, setBaseAttachUrl, snake2Camel, snake2Kebab, snake2Pascal, snake2Title, stringifyJSON, title2Camel, title2Kebab, title2Pascal, title2Snake, toThousands, userAgent, waitTime };
|
|
1
|
+
export * from "@jhqn/utils-core";
|
package/dist/core.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import { n as __reExport } from "./chunk-DzK395Rf.js";
|
|
2
|
+
|
|
3
|
+
export * from "@jhqn/utils-core"
|
package/dist/crypto.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getCryptoKey, setCryptoKey } from "@jhqn/utils-crypto";
|
|
2
|
+
import { AESDecrypt, AESEncrypt, aes } from "@jhqn/utils-crypto/aes";
|
|
3
|
+
import { base64, base64Decrypt, base64Encrypt } from "@jhqn/utils-crypto/base64";
|
|
4
|
+
import { base64url, base64urlDecrypt, base64urlEncrypt } from "@jhqn/utils-crypto/base64url";
|
|
5
|
+
import { MD5Encrypt, md5 } from "@jhqn/utils-crypto/md5";
|
|
2
6
|
export { AESDecrypt, AESEncrypt, MD5Encrypt, aes, base64, base64Decrypt, base64Encrypt, base64url, base64urlDecrypt, base64urlEncrypt, getCryptoKey, md5, setCryptoKey };
|
package/dist/crypto.js
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import { getCryptoKey, setCryptoKey } from "@jhqn/utils-crypto";
|
|
2
|
+
import { AESDecrypt, AESEncrypt, aes } from "@jhqn/utils-crypto/aes";
|
|
3
|
+
import { base64, base64Decrypt, base64Encrypt } from "@jhqn/utils-crypto/base64";
|
|
4
|
+
import { base64url, base64urlDecrypt, base64urlEncrypt } from "@jhqn/utils-crypto/base64url";
|
|
5
|
+
import { MD5Encrypt, md5 } from "@jhqn/utils-crypto/md5";
|
|
6
|
+
|
|
7
|
+
export { AESDecrypt, AESEncrypt, MD5Encrypt, aes, base64, base64Decrypt, base64Encrypt, base64url, base64urlDecrypt, base64urlEncrypt, getCryptoKey, md5, setCryptoKey };
|
package/dist/faker.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { fakeChance, fakeDateFuture, fakeDatePast, fakeDateRange, fakeEnum, fakeFloatRange, fakeId, fakeIntRange, fakeKey, fakeName, fakePhone, fakeValue };
|
|
1
|
+
export * from "@jhqn/utils-faker";
|
package/dist/faker.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import { n as __reExport } from "./chunk-DzK395Rf.js";
|
|
2
|
+
|
|
3
|
+
export * from "@jhqn/utils-faker"
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
1
|
+
import { n as __reExport, t as __exportAll } from "./chunk-DzK395Rf.js";
|
|
2
|
+
import { AESDecrypt, AESEncrypt, MD5Encrypt, aes, base64, base64Decrypt, base64Encrypt, base64url, base64urlDecrypt, base64urlEncrypt, getCryptoKey, md5, setCryptoKey } from "./crypto.js";
|
|
3
|
+
export * from "@jhqn/utils-core";
|
|
4
|
+
export * from "@jhqn/utils-faker";
|
|
5
|
+
export * from "@jhqn/utils-msw";
|
|
6
|
+
export * from "@jhqn/utils-storage";
|
|
7
|
+
|
|
8
|
+
//#region src/index.d.ts
|
|
9
|
+
declare namespace index_d_exports {
|
|
10
|
+
export { AESDecrypt, AESEncrypt, MD5Encrypt, aes, base64, base64Decrypt, base64Encrypt, base64url, base64urlDecrypt, base64urlEncrypt, getCryptoKey, md5, setCryptoKey };
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { AESDecrypt, AESEncrypt, MD5Encrypt, aes, base64, base64Decrypt, base64Encrypt, base64url, base64urlDecrypt, base64urlEncrypt, getCryptoKey, md5, setCryptoKey };
|
package/dist/index.js
CHANGED
|
@@ -1 +1,34 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { n as __reExport, t as __exportAll } from "./chunk-DzK395Rf.js";
|
|
2
|
+
import "./core.js";
|
|
3
|
+
import { AESDecrypt, AESEncrypt, MD5Encrypt, aes, base64, base64Decrypt, base64Encrypt, base64url, base64urlDecrypt, base64urlEncrypt, getCryptoKey, md5, setCryptoKey } from "./crypto.js";
|
|
4
|
+
import "./faker.js";
|
|
5
|
+
import "./msw.js";
|
|
6
|
+
import "./storage/index.js";
|
|
7
|
+
|
|
8
|
+
export * from "@jhqn/utils-core"
|
|
9
|
+
|
|
10
|
+
export * from "@jhqn/utils-faker"
|
|
11
|
+
|
|
12
|
+
export * from "@jhqn/utils-msw"
|
|
13
|
+
|
|
14
|
+
export * from "@jhqn/utils-storage"
|
|
15
|
+
|
|
16
|
+
//#region src/index.ts
|
|
17
|
+
var src_exports = /* @__PURE__ */ __exportAll({
|
|
18
|
+
AESDecrypt: () => AESDecrypt,
|
|
19
|
+
AESEncrypt: () => AESEncrypt,
|
|
20
|
+
MD5Encrypt: () => MD5Encrypt,
|
|
21
|
+
aes: () => aes,
|
|
22
|
+
base64: () => base64,
|
|
23
|
+
base64Decrypt: () => base64Decrypt,
|
|
24
|
+
base64Encrypt: () => base64Encrypt,
|
|
25
|
+
base64url: () => base64url,
|
|
26
|
+
base64urlDecrypt: () => base64urlDecrypt,
|
|
27
|
+
base64urlEncrypt: () => base64urlEncrypt,
|
|
28
|
+
getCryptoKey: () => getCryptoKey,
|
|
29
|
+
md5: () => md5,
|
|
30
|
+
setCryptoKey: () => setCryptoKey
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { AESDecrypt, AESEncrypt, MD5Encrypt, aes, base64, base64Decrypt, base64Encrypt, base64url, base64urlDecrypt, base64urlEncrypt, getCryptoKey, md5, setCryptoKey };
|
package/dist/msw.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { MaybeFn, commonArrRes, commonPageRes, commonRes };
|
|
1
|
+
export * from "@jhqn/utils-msw";
|
package/dist/msw.js
CHANGED
package/dist/storage/index.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { StorageObj, getLocal, getSession, getStorage, hasLocal, hasSession, hasStorage, removeLocal, removeLocalAll, removeSession, removeSessionAll, removeStorage, removeStorageAll, setLocal, setSession, setStorage, storageParse, storageStringify };
|
|
1
|
+
export * from "@jhqn/utils-storage";
|
package/dist/storage/index.js
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import { n as __reExport } from "../chunk-DzK395Rf.js";
|
|
2
|
+
|
|
3
|
+
export * from "@jhqn/utils-storage"
|
package/dist/storage/react.js
CHANGED
package/dist/storage/vue.js
CHANGED
package/package.json
CHANGED
|
@@ -1,23 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jhqn/utils",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
"version": "0.4.1",
|
|
4
|
+
"keywords": [
|
|
5
|
+
"jade",
|
|
6
|
+
"utils"
|
|
7
|
+
],
|
|
7
8
|
"homepage": "https://github.com/jaderd-jh/utils/tree/main/packages/utils#readme",
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/jaderd-jh/utils/issues"
|
|
11
|
+
},
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"author": "jade-gjz <jiangang.zhang@jaderd.com>",
|
|
8
14
|
"repository": {
|
|
9
15
|
"type": "git",
|
|
10
16
|
"url": "https://github.com/jaderd-jh/utils",
|
|
11
17
|
"directory": "packages/utils"
|
|
12
18
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"jade",
|
|
18
|
-
"utils"
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
19
21
|
],
|
|
22
|
+
"type": "module",
|
|
20
23
|
"sideEffects": false,
|
|
24
|
+
"main": "dist/index.js",
|
|
25
|
+
"module": "dist/index.js",
|
|
26
|
+
"types": "dist/index.d.ts",
|
|
21
27
|
"exports": {
|
|
22
28
|
".": {
|
|
23
29
|
"import": {
|
|
@@ -82,18 +88,12 @@
|
|
|
82
88
|
}
|
|
83
89
|
}
|
|
84
90
|
},
|
|
85
|
-
"main": "dist/index.js",
|
|
86
|
-
"module": "dist/index.js",
|
|
87
|
-
"types": "dist/index.d.ts",
|
|
88
|
-
"files": [
|
|
89
|
-
"dist"
|
|
90
|
-
],
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@jhqn/utils-core": "0.
|
|
93
|
-
"@jhqn/utils-crypto": "0.
|
|
94
|
-
"@jhqn/utils-faker": "0.
|
|
95
|
-
"@jhqn/utils-msw": "0.
|
|
96
|
-
"@jhqn/utils-storage": "0.
|
|
92
|
+
"@jhqn/utils-core": "0.4.1",
|
|
93
|
+
"@jhqn/utils-crypto": "0.4.1",
|
|
94
|
+
"@jhqn/utils-faker": "0.4.1",
|
|
95
|
+
"@jhqn/utils-msw": "0.4.1",
|
|
96
|
+
"@jhqn/utils-storage": "0.4.1"
|
|
97
97
|
},
|
|
98
98
|
"scripts": {
|
|
99
99
|
"test": "vitest",
|
package/dist/core-C_aJPDvc.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{attachFmt as e,camel2Kebab as t,camel2Pascal as n,camel2Snake as r,camel2Title as i,checkImg as a,cnIdCard15Re as o,cnIdCard18Re as s,cnPhoneRE as c,cnTelRE as l,cnTelRE2 as u,cnUSCIRE as d,currencyFmt as f,dateDuration as p,dateFmt as m,dayjs as h,detect as g,emailRE as _,filterObj as v,fixiOSInputAutoZoomIn as y,getBaseAttachUrl as b,getCodeOfDate as x,getCodeOfHour as S,getCodeOfMonth as C,getHostEnv as w,getMockData as T,getMockDataList as E,getVariableType as D,hideBankCard as O,hideCardNo as k,hideEmail as A,hideFirstName as j,hideHead as M,hideMiddle as N,hidePhone as P,hideSurname as F,hideTail as I,hideThird as L,inBrowser as R,isArrStr as z,isArray as B,isBigInt as V,isBlob as H,isBoolean as U,isDate as W,isDef as G,isEmail as K,isEmpty as q,isError as J,isFile as Y,isFunction as X,isIdCard as Z,isJSONStr as Q,isMap as $,isNull as ee,isNumber as te,isNumeric as ne,isObject as re,isPhone as ie,isPromise as ae,isRegExp as oe,isSet as se,isString as ce,isSymbol as le,isTel as ue,isURL as de,isUSCI as fe,isUndefined as pe,isValidArrRes as me,isValidFileType as he,isValidKey as ge,isValidPageRes as _e,isValidRes as ve,isValidResCode as ye,isWeakMap as be,isWeakSet as xe,jClear as Se,jDebug as Ce,jError as we,jGroup as Te,jGroupC as Ee,jGroupE as De,jInfo as Oe,jLog as ke,jLogDedupe as Ae,jLogOnce as je,jTime as Me,jTimeEnd as Ne,jWarn as Pe,kebab2Camel as Fe,kebab2Pascal as Ie,kebab2Snake as Le,kebab2Title as Re,naturalSort as ze,naturalSortBy as Be,nonASCII as Ve,parseJSON as He,parseToJSON as Ue,pascal2Camel as We,pascal2Kebab as Ge,pascal2Snake as Ke,pascal2Title as qe,recoverFile as Je,replacer as Ye,resUrl as Xe,reviver as Ze,setBaseAttachUrl as Qe,snake2Camel as $e,snake2Kebab as et,snake2Pascal as tt,snake2Title as nt,stringifyJSON as rt,title2Camel as it,title2Kebab as at,title2Pascal as ot,title2Snake as st,toThousands as ct,userAgent as lt,waitTime as ut}from"@jhqn/utils-core";export{Q as $,Qe as $t,k as A,ke as At,z as B,ze as Bt,S as C,Se as Ct,E as D,Ee as Dt,T as E,Te as Et,P as F,Pe as Ft,W as G,We as Gt,V as H,Ve as Ht,F as I,Fe as It,q as J,qe as Jt,G as K,Ge as Kt,I as L,Ie as Lt,j as M,je as Mt,M as N,Me as Nt,D as O,De as Ot,N as P,Ne as Pt,Z as Q,Ze as Qt,L as R,Le as Rt,x as S,xe as St,w as T,we as Tt,H as U,He as Ut,B as V,Be as Vt,U as W,Ue as Wt,Y as X,Ye as Xt,J as Y,Je as Yt,X as Z,Xe as Zt,g as _,ge as _t,i as a,it as an,ie as at,y as b,ye as bt,s as c,st as cn,se as ct,u as d,ut as dn,ue as dt,$e as en,$ as et,d as f,de as ft,h as g,he as gt,m as h,me as ht,r as i,rt as in,re as it,A as j,Ae as jt,O as k,Oe as kt,c as l,ct as ln,ce as lt,p as m,pe as mt,t as n,tt as nn,te as nt,a as o,at as on,ae as ot,f as p,fe as pt,K as q,Ke as qt,n as r,nt as rn,ne as rt,o as s,ot as sn,oe as st,e as t,et as tn,ee as tt,l as u,lt as un,le as ut,_ as v,_e as vt,C as w,Ce as wt,b as x,be as xt,v as y,ve as yt,R as z,Re as zt};
|
package/dist/core-uge32Dhz.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { Dayjs, Dict, HostEnv, MaybeArray, NullOrUndefinable, Nullable, Numeric, PageReq, PageRes, PageResData, PartialBy, Res, UnDef, Undefinable, VK, attachFmt, camel2Kebab, camel2Pascal, camel2Snake, camel2Title, checkImg, cnIdCard15Re, cnIdCard18Re, cnPhoneRE, cnTelRE, cnTelRE2, cnUSCIRE, currencyFmt, dateDuration, dateFmt, dayjs, detect, emailRE, filterObj, fixiOSInputAutoZoomIn, getBaseAttachUrl, getCodeOfDate, getCodeOfHour, getCodeOfMonth, getHostEnv, getMockData, getMockDataList, getVariableType, hideBankCard, hideCardNo, hideEmail, hideFirstName, hideHead, hideMiddle, hidePhone, hideSurname, hideTail, hideThird, inBrowser, isArrStr, isArray, isBigInt, isBlob, isBoolean, isDate, isDef, isEmail, isEmpty, isError, isFile, isFunction, isIdCard, isJSONStr, isMap, isNull, isNumber, isNumeric, isObject, isPhone, isPromise, isRegExp, isSet, isString, isSymbol, isTel, isURL, isUSCI, isUndefined, isValidArrRes, isValidFileType, isValidKey, isValidPageRes, isValidRes, isValidResCode, isWeakMap, isWeakSet, jClear, jDebug, jError, jGroup, jGroupC, jGroupE, jInfo, jLog, jLogDedupe, jLogOnce, jTime, jTimeEnd, jWarn, kebab2Camel, kebab2Pascal, kebab2Snake, kebab2Title, naturalSort, naturalSortBy, nonASCII, parseJSON, parseToJSON, pascal2Camel, pascal2Kebab, pascal2Snake, pascal2Title, recoverFile, replacer, resUrl, reviver, setBaseAttachUrl, snake2Camel, snake2Kebab, snake2Pascal, snake2Title, stringifyJSON, title2Camel, title2Kebab, title2Pascal, title2Snake, toThousands, userAgent, waitTime } from "@jhqn/utils-core";
|
|
2
|
-
export { hideThird as $, kebab2Snake as $t, dateFmt as A, isValidArrRes as At, getHostEnv as B, jError as Bt, cnIdCard18Re as C, title2Snake as Cn, isSet as Ct, cnUSCIRE as D, isURL as Dt, cnTelRE2 as E, waitTime as En, isTel as Et, fixiOSInputAutoZoomIn as F, isValidResCode as Ft, hideCardNo as G, jLog as Gt, getMockDataList as H, jGroupC as Ht, getBaseAttachUrl as I, isWeakMap as It, hideHead as J, jTime as Jt, hideEmail as K, jLogDedupe as Kt, getCodeOfDate as L, isWeakSet as Lt, detect as M, isValidKey as Mt, emailRE as N, isValidPageRes as Nt, currencyFmt as O, isUSCI as Ot, filterObj as P, isValidRes as Pt, hideTail as Q, kebab2Pascal as Qt, getCodeOfHour as R, jClear as Rt, cnIdCard15Re as S, title2Pascal as Sn, isRegExp as St, cnTelRE as T, userAgent as Tn, isSymbol as Tt, getVariableType as U, jGroupE as Ut, getMockData as V, jGroup as Vt, hideBankCard as W, jInfo as Wt, hidePhone as X, jWarn as Xt, hideMiddle as Y, jTimeEnd as Yt, hideSurname as Z, kebab2Camel as Zt, camel2Kebab as _, snake2Pascal as _n, isNumber as _t, NullOrUndefinable as a, parseToJSON as an, isBoolean as at, camel2Title as b, title2Camel as bn, isPhone as bt, PageReq as c, pascal2Snake as cn, isEmail as ct, PartialBy as d, replacer as dn, isFile as dt, kebab2Title as en, inBrowser as et, Res as f, resUrl as fn, isFunction as ft, attachFmt as g, snake2Kebab as gn, isNull as gt, VK as h, snake2Camel as hn, isMap as ht, MaybeArray as i, parseJSON as in, isBlob as it, dayjs as j, isValidFileType as jt, dateDuration as k, isUndefined as kt, PageRes as l, pascal2Title as ln, isEmpty as lt, Undefinable as m, setBaseAttachUrl as mn, isJSONStr as mt, Dict as n, naturalSortBy as nn, isArray as nt, Nullable as o, pascal2Camel as on, isDate as ot, UnDef as p, reviver as pn, isIdCard as pt, hideFirstName as q, jLogOnce as qt, HostEnv as r, nonASCII as rn, isBigInt as rt, Numeric as s, pascal2Kebab as sn, isDef as st, Dayjs as t, naturalSort as tn, isArrStr as tt, PageResData as u, recoverFile as un, isError as ut, camel2Pascal as v, snake2Title as vn, isNumeric as vt, cnPhoneRE as w, toThousands as wn, isString as wt, checkImg as x, title2Kebab as xn, isPromise as xt, camel2Snake as y, stringifyJSON as yn, isObject as yt, getCodeOfMonth as z, jDebug as zt };
|
package/dist/crypto-DyTnRE4J.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getCryptoKey as e,setCryptoKey as t}from"@jhqn/utils-crypto";import{AESDecrypt as n,AESEncrypt as r,aes as i}from"@jhqn/utils-crypto/aes";import{base64 as a,base64Decrypt as o,base64Encrypt as s}from"@jhqn/utils-crypto/base64";import{base64url as c,base64urlDecrypt as l,base64urlEncrypt as u}from"@jhqn/utils-crypto/base64url";import{MD5Encrypt as d,md5 as f}from"@jhqn/utils-crypto/md5";export{a,c,e as d,f,i,l,r as n,o,t as p,d as r,s,n as t,u};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { getCryptoKey, setCryptoKey } from "@jhqn/utils-crypto";
|
|
2
|
-
import { AESDecrypt, AESEncrypt, aes } from "@jhqn/utils-crypto/aes";
|
|
3
|
-
import { base64, base64Decrypt, base64Encrypt } from "@jhqn/utils-crypto/base64";
|
|
4
|
-
import { base64url, base64urlDecrypt, base64urlEncrypt } from "@jhqn/utils-crypto/base64url";
|
|
5
|
-
import { MD5Encrypt, md5 } from "@jhqn/utils-crypto/md5";
|
|
6
|
-
export { base64 as a, base64url as c, getCryptoKey as d, md5 as f, aes as i, base64urlDecrypt as l, AESEncrypt as n, base64Decrypt as o, setCryptoKey as p, MD5Encrypt as r, base64Encrypt as s, AESDecrypt as t, base64urlEncrypt as u };
|
package/dist/faker-BI2VZVxO.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { fakeChance, fakeDateFuture, fakeDatePast, fakeDateRange, fakeEnum, fakeFloatRange, fakeId, fakeIntRange, fakeKey, fakeName, fakePhone, fakeValue } from "@jhqn/utils-faker";
|
|
2
|
-
export { fakeEnum as a, fakeIntRange as c, fakePhone as d, fakeValue as f, fakeDateRange as i, fakeKey as l, fakeDateFuture as n, fakeFloatRange as o, fakeDatePast as r, fakeId as s, fakeChance as t, fakeName as u };
|
package/dist/faker-Cs4rM2K0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{fakeChance as e,fakeDateFuture as t,fakeDatePast as n,fakeDateRange as r,fakeEnum as i,fakeFloatRange as a,fakeId as o,fakeIntRange as s,fakeKey as c,fakeName as l,fakePhone as u,fakeValue as d}from"@jhqn/utils-faker";export{i as a,s as c,u as d,d as f,r as i,c as l,t as n,a as o,n as r,o as s,e as t,l as u};
|
package/dist/index-Bwt_67VL.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { StorageObj, getLocal, getSession, getStorage, hasLocal, hasSession, hasStorage, removeLocal, removeLocalAll, removeSession, removeSessionAll, removeStorage, removeStorageAll, setLocal, setSession, setStorage, storageParse, storageStringify } from "@jhqn/utils-storage";
|
|
2
|
-
export { storageParse as _, hasLocal as a, removeLocal as c, removeSessionAll as d, removeStorage as f, setStorage as g, setSession as h, getStorage as i, removeLocalAll as l, setLocal as m, getLocal as n, hasSession as o, removeStorageAll as p, getSession as r, hasStorage as s, StorageObj as t, removeSession as u, storageStringify as v };
|
package/dist/msw-B6t9s_c5.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{commonArrRes as e,commonPageRes as t,commonRes as n}from"@jhqn/utils-msw";export{t as n,n as r,e as t};
|
package/dist/msw-BYsVPab5.d.ts
DELETED
package/dist/storage-BtU5f2H9.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{getLocal as e,getSession as t,getStorage as n,hasLocal as r,hasSession as i,hasStorage as a,removeLocal as o,removeLocalAll as s,removeSession as c,removeSessionAll as l,removeStorage as u,removeStorageAll as d,setLocal as f,setSession as p,setStorage as m,storageParse as h,storageStringify as g}from"@jhqn/utils-storage";export{g as _,i as a,s as c,u as d,d as f,h as g,m as h,r as i,c as l,p as m,t as n,a as o,f as p,n as r,o as s,e as t,l as u};
|