@dczy/tie-tools 0.1.0
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/common/date.d.ts +2 -0
- package/dist/common/date.d.ts.map +1 -0
- package/dist/common/index.d.ts +43 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/number.d.ts +2 -0
- package/dist/common/number.d.ts.map +1 -0
- package/dist/common/string.d.ts +2 -0
- package/dist/common/string.d.ts.map +1 -0
- package/dist/common/types.d.ts +63 -0
- package/dist/common/types.d.ts.map +1 -0
- package/dist/crypt/ecdh/ellipticCrypto.d.ts +25 -0
- package/dist/crypt/ecdh/ellipticCrypto.d.ts.map +1 -0
- package/dist/crypt/ecdh/index.d.ts +28 -0
- package/dist/crypt/ecdh/index.d.ts.map +1 -0
- package/dist/crypt/ecdh/textCoder.d.ts +12 -0
- package/dist/crypt/ecdh/textCoder.d.ts.map +1 -0
- package/dist/crypt/index.d.ts +34 -0
- package/dist/crypt/index.d.ts.map +1 -0
- package/dist/crypt/seed/index.d.ts +19 -0
- package/dist/crypt/seed/index.d.ts.map +1 -0
- package/dist/crypt/sm/index.d.ts +108 -0
- package/dist/crypt/sm/index.d.ts.map +1 -0
- package/dist/crypt/utils.d.ts +12 -0
- package/dist/crypt/utils.d.ts.map +1 -0
- package/dist/date/index.d.ts +13 -0
- package/dist/date/index.d.ts.map +1 -0
- package/dist/deep/index.d.ts +26 -0
- package/dist/deep/index.d.ts.map +1 -0
- package/dist/enum/index.d.ts +24 -0
- package/dist/enum/index.d.ts.map +1 -0
- package/dist/error-report/index.d.ts +11 -0
- package/dist/error-report/index.d.ts.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/location/gcoord/crs/BD09.d.ts +4 -0
- package/dist/location/gcoord/crs/BD09.d.ts.map +1 -0
- package/dist/location/gcoord/crs/BD09MC.d.ts +4 -0
- package/dist/location/gcoord/crs/BD09MC.d.ts.map +1 -0
- package/dist/location/gcoord/crs/EPSG3857.d.ts +4 -0
- package/dist/location/gcoord/crs/EPSG3857.d.ts.map +1 -0
- package/dist/location/gcoord/crs/GCJ02.d.ts +4 -0
- package/dist/location/gcoord/crs/GCJ02.d.ts.map +1 -0
- package/dist/location/gcoord/crs/WGS84.d.ts +1 -0
- package/dist/location/gcoord/crs/WGS84.d.ts.map +1 -0
- package/dist/location/gcoord/crs/index.d.ts +31 -0
- package/dist/location/gcoord/crs/index.d.ts.map +1 -0
- package/dist/location/gcoord/geojson.d.ts +200 -0
- package/dist/location/gcoord/geojson.d.ts.map +1 -0
- package/dist/location/gcoord/helper.d.ts +69 -0
- package/dist/location/gcoord/helper.d.ts.map +1 -0
- package/dist/location/gcoord/index.d.ts +26 -0
- package/dist/location/gcoord/index.d.ts.map +1 -0
- package/dist/location/gcoord/transform.d.ts +10 -0
- package/dist/location/gcoord/transform.d.ts.map +1 -0
- package/dist/location/index.d.ts +37 -0
- package/dist/location/index.d.ts.map +1 -0
- package/dist/pin-yin/index.d.ts +21 -0
- package/dist/pin-yin/index.d.ts.map +1 -0
- package/dist/requests/index.d.ts +41 -0
- package/dist/requests/index.d.ts.map +1 -0
- package/dist/requests/interceptors/index.d.ts +4 -0
- package/dist/requests/interceptors/index.d.ts.map +1 -0
- package/dist/requests/interceptors/request.d.ts +5 -0
- package/dist/requests/interceptors/request.d.ts.map +1 -0
- package/dist/requests/interceptors/response.d.ts +5 -0
- package/dist/requests/interceptors/response.d.ts.map +1 -0
- package/dist/requests/interceptors/util.d.ts +41 -0
- package/dist/requests/interceptors/util.d.ts.map +1 -0
- package/dist/storage/index.d.ts +25 -0
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/tie-tools.cjs +2 -0
- package/dist/tie-tools.js +2580 -0
- package/dist/tree/index.d.ts +76 -0
- package/dist/tree/index.d.ts.map +1 -0
- package/dist/uri/index.d.ts +61 -0
- package/dist/uri/index.d.ts.map +1 -0
- package/dist/validate/index.d.ts +11 -0
- package/dist/validate/index.d.ts.map +1 -0
- package/package.json +48 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { eachTree, filterTree, findTreeNode, findTreeNodes, findTreePath, findTreePaths, forEachTree, listToTree, mapTree, normalizeTreeConfig, treeToList, type TreeConversionOptions, type TreeHelperConfig, type TreePredicate } from "@dczy/tie-core";
|
|
2
|
+
export declare class DcToolsTree {
|
|
3
|
+
config: TreeHelperConfig;
|
|
4
|
+
constructor(_config?: Partial<TreeHelperConfig>);
|
|
5
|
+
/**
|
|
6
|
+
* list from tree
|
|
7
|
+
* @param list
|
|
8
|
+
* @returns
|
|
9
|
+
*/
|
|
10
|
+
listToTree: <T extends Record<string, any> = any>(list: T[]) => T[];
|
|
11
|
+
/**
|
|
12
|
+
* tree to list
|
|
13
|
+
* @param tree
|
|
14
|
+
* @returns
|
|
15
|
+
*/
|
|
16
|
+
treeToList: <T extends Record<string, any> = any>(tree: T[]) => T[];
|
|
17
|
+
/**
|
|
18
|
+
* 查找节点,仅返回第一个满足条件的
|
|
19
|
+
* @param tree
|
|
20
|
+
* @param func (node)=>Boolead
|
|
21
|
+
* @returns {T} 返回节点对象
|
|
22
|
+
*/
|
|
23
|
+
findNode: <T extends Record<string, any> = any>(tree: T[], func: TreePredicate<T>) => T | null;
|
|
24
|
+
/**
|
|
25
|
+
* 查找节点,返回所有满足条件的
|
|
26
|
+
* @param tree
|
|
27
|
+
* @param func (node)=>Boolead
|
|
28
|
+
* @returns {[T]} 返回节点数组
|
|
29
|
+
*/
|
|
30
|
+
findNodeAll: <T extends Record<string, any> = any>(tree: T[], func: TreePredicate<T>) => T[];
|
|
31
|
+
/**
|
|
32
|
+
* 查找节点的路径,仅返回第一个满足条件的节点路径
|
|
33
|
+
* @param tree
|
|
34
|
+
* @param func (node)=>Boolead
|
|
35
|
+
* @returns []
|
|
36
|
+
*/
|
|
37
|
+
findPath: <T extends Record<string, any> = any>(tree: T[], func: TreePredicate<T>) => T[] | null;
|
|
38
|
+
/**
|
|
39
|
+
* 查找节点的路径,返回所有满足条件的节点的路径
|
|
40
|
+
* @param tree
|
|
41
|
+
* @param func (node)=>Boolead
|
|
42
|
+
* @returns [[],[]]
|
|
43
|
+
*/
|
|
44
|
+
findPathAll: <T extends Record<string, any> = any>(tree: T[], func: TreePredicate<T>) => T[][];
|
|
45
|
+
/**
|
|
46
|
+
* 过滤树形数据
|
|
47
|
+
* @param tree
|
|
48
|
+
* @param func (node)=>Boolead
|
|
49
|
+
* @returns 查找到的节点之前的树形数据 treeData
|
|
50
|
+
*/
|
|
51
|
+
filter: <T extends Record<string, any> = any>(tree: T[], func: TreePredicate<T>) => T[];
|
|
52
|
+
/**
|
|
53
|
+
* 遍历树形节点
|
|
54
|
+
* @param tree
|
|
55
|
+
* @param func (node)=>Boolead 满足此条件退出遍历
|
|
56
|
+
* @returns 无
|
|
57
|
+
*/
|
|
58
|
+
forEach: <T extends Record<string, any> = any>(tree: T[], func: TreePredicate<T>) => void;
|
|
59
|
+
/**
|
|
60
|
+
* 树形数据结构转换
|
|
61
|
+
* @param treeData
|
|
62
|
+
* @param opt 转换配置 {children?:string,conversion:Fn} children 默认值'children',conversion:(node)=>newNode;
|
|
63
|
+
* @returns
|
|
64
|
+
*/
|
|
65
|
+
treeMap: <T extends Record<string, any> = any, R extends Record<string, any> = any>(treeData: T[], opt: TreeConversionOptions<T, R>) => R[];
|
|
66
|
+
/**
|
|
67
|
+
* 递归遍历树结构
|
|
68
|
+
* @param treeDatas 树
|
|
69
|
+
* @param callBack 回调
|
|
70
|
+
* @param parentNode 父节点
|
|
71
|
+
*/
|
|
72
|
+
eachTree: <T extends Record<string, any> = any>(treeDatas: T[], callBack: (node: T, parentNode: any) => T | void, parentNode?: {}) => void;
|
|
73
|
+
}
|
|
74
|
+
export { eachTree, filterTree, findTreeNode, findTreeNodes, findTreePath, findTreePaths, forEachTree, listToTree, mapTree, normalizeTreeConfig, treeToList, type TreeConversionOptions, type TreeHelperConfig, type TreePredicate, };
|
|
75
|
+
export declare const DcTree: DcToolsTree;
|
|
76
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tree/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
export type LocationType = {
|
|
2
|
+
anchor: string;
|
|
3
|
+
authority: string;
|
|
4
|
+
directory: string;
|
|
5
|
+
file: string;
|
|
6
|
+
host: string;
|
|
7
|
+
password: string;
|
|
8
|
+
path: string;
|
|
9
|
+
port: string;
|
|
10
|
+
protocol: string;
|
|
11
|
+
query: string;
|
|
12
|
+
queryKey: any;
|
|
13
|
+
relative: string;
|
|
14
|
+
source: string;
|
|
15
|
+
user: string;
|
|
16
|
+
userInfo: string;
|
|
17
|
+
};
|
|
18
|
+
export declare class DcToolsUri {
|
|
19
|
+
_url: string;
|
|
20
|
+
constructor(url?: string);
|
|
21
|
+
/**
|
|
22
|
+
* 获取query 参数
|
|
23
|
+
* @param name 参数名
|
|
24
|
+
* @returns
|
|
25
|
+
*/
|
|
26
|
+
getParams(name?: string): any;
|
|
27
|
+
/**
|
|
28
|
+
* 检查是否存在参数名
|
|
29
|
+
* @param name 参数名
|
|
30
|
+
*/
|
|
31
|
+
private checkHas;
|
|
32
|
+
/**
|
|
33
|
+
* 替换参数值
|
|
34
|
+
* @param name 参数名
|
|
35
|
+
* @param val 新值
|
|
36
|
+
*/
|
|
37
|
+
repalce(name: string, val: string): string;
|
|
38
|
+
/**
|
|
39
|
+
* 增加参数
|
|
40
|
+
* @param name 参数名
|
|
41
|
+
* @param value 值
|
|
42
|
+
* @param replace 如果存在是否替换,默认false
|
|
43
|
+
*/
|
|
44
|
+
add(name: string, val: string, replace?: boolean): string;
|
|
45
|
+
/**
|
|
46
|
+
* 移除参数
|
|
47
|
+
* @param name 参数名
|
|
48
|
+
*/
|
|
49
|
+
remove(name: string): string;
|
|
50
|
+
/**
|
|
51
|
+
* 将url解析成 LocationType 对象
|
|
52
|
+
* @param options 配置信息,默认
|
|
53
|
+
* @returns LocationType对象
|
|
54
|
+
*/
|
|
55
|
+
parse(options?: any): LocationType;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* 空构造,取 window.location.href
|
|
59
|
+
*/
|
|
60
|
+
export declare const DcUrl: DcToolsUri;
|
|
61
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/uri/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,GAAG,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,qBAAa,UAAU;IACrB,IAAI,EAAE,MAAM,CAAC;gBACD,GAAG,CAAC,EAAE,MAAM;IAGxB;;;;OAIG;IACH,SAAS,CAAC,IAAI,SAAK;IAoCnB;;;OAGG;IACH,OAAO,CAAC,QAAQ;IAQhB;;;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;IAOjC;;;;;OAKG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,UAAQ;IAa9C;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,MAAM;IAYnB;;;;OAIG;IACH,KAAK,CAAC,OAAO,CAAC,EAAE,GAAG;CA6BpB;AACD;;GAEG;AACH,eAAO,MAAM,KAAK,YAAmB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export { is, isArray, isBase64, isDef, isEmail, isExternal, isFunction, isIdCard, isImgFiles, isMobilePhone, isNumber, isObject, isString, isTelephone, isUnDef, } from "@dczy/tie-core";
|
|
2
|
+
export declare const isWindow: (val: any) => val is Window;
|
|
3
|
+
export declare const isFirefox: () => boolean;
|
|
4
|
+
export declare const isIOS: () => boolean;
|
|
5
|
+
export declare const isAndroid: () => boolean;
|
|
6
|
+
export declare const isEdge: () => boolean;
|
|
7
|
+
export declare const isChrome: () => boolean;
|
|
8
|
+
export declare const isServer: boolean;
|
|
9
|
+
export declare const isClient: () => boolean;
|
|
10
|
+
export declare const isElement: (val: unknown) => val is Element;
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/validate/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,OAAO,EACP,QAAQ,EACR,KAAK,EACL,OAAO,EACP,UAAU,EACV,UAAU,EACV,QAAQ,EACR,UAAU,EACV,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,OAAO,GACR,MAAM,gBAAgB,CAAA;AAIvB,eAAO,MAAM,QAAQ,GAAI,KAAK,GAAG,KAAG,GAAG,IAAI,MAE1C,CAAA;AAED,eAAO,MAAM,SAAS,eAErB,CAAA;AAED,eAAO,MAAM,KAAK,eAEjB,CAAA;AAED,eAAO,MAAM,SAAS,eAErB,CAAA;AAED,eAAO,MAAM,MAAM,eAElB,CAAA;AAED,eAAO,MAAM,QAAQ,eAEpB,CAAA;AAED,eAAO,MAAM,QAAQ,SAAgC,CAAA;AAErD,eAAO,MAAM,QAAQ,eAEpB,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,KAAK,OAAO,KAAG,GAAG,IAAI,OAE/C,CAAA"}
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dczy/tie-tools",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/tie-tools.cjs",
|
|
7
|
+
"module": "./dist/tie-tools.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/tie-tools.js",
|
|
13
|
+
"require": "./dist/tie-tools.cjs"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/**/*.js",
|
|
18
|
+
"dist/**/*.cjs",
|
|
19
|
+
"dist/**/*.d.ts",
|
|
20
|
+
"dist/**/*.d.ts.map"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": true,
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@zxing/browser": "^0.1.5",
|
|
25
|
+
"atob": "^2.1.2",
|
|
26
|
+
"axios": "^1.7.9",
|
|
27
|
+
"big.js": "^6.2.1",
|
|
28
|
+
"crypto-js": "^4.2.0",
|
|
29
|
+
"elliptic": "^6.6.1",
|
|
30
|
+
"gm-crypto": "^0.1.12",
|
|
31
|
+
"mitt": "^3.0.1",
|
|
32
|
+
"qs": "^6.11.2",
|
|
33
|
+
"sm2": "^1.0.1",
|
|
34
|
+
"stream": "^0.0.3",
|
|
35
|
+
"@dczy/tie-core": "0.1.0"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@types/atob": "^2.1.2",
|
|
39
|
+
"@types/big.js": "^6.1.6",
|
|
40
|
+
"@types/crypto-js": "^4.2.2",
|
|
41
|
+
"@types/elliptic": "^6.4.18",
|
|
42
|
+
"@types/qs": "^6.9.8"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "vite build && tsc -p tsconfig.build.json --emitDeclarationOnly",
|
|
46
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
47
|
+
}
|
|
48
|
+
}
|