diginext-utils 2.1.24 → 2.1.25
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/package.json +1 -1
- package/dist/Checker.mjs +0 -29
- package/dist/EventDispatcher.mjs +0 -54
- package/dist/FileUpload.mjs +0 -62
- package/dist/Slug.mjs +0 -9
- package/dist/Timer-7b0c4e7c.d.ts +0 -11
- package/dist/Timer.mjs +0 -7
- package/dist/Validation.mjs +0 -35
- package/dist/array-c38eff4c.d.ts +0 -158
- package/dist/array.mjs +0 -49
- package/dist/browser-8d042ffe.d.ts +0 -22
- package/dist/camera-1a859d72.d.ts +0 -15
- package/dist/chunk-24DHBJAC.mjs +0 -35
- package/dist/chunk-32BJ2V3H.mjs +0 -195
- package/dist/chunk-32PJ3FML.mjs +0 -57
- package/dist/chunk-3OYOTSDB.mjs +0 -339
- package/dist/chunk-4CWVMQ53.mjs +0 -167
- package/dist/chunk-4VQ25N7H.mjs +0 -43
- package/dist/chunk-6OZHYD5H.mjs +0 -91
- package/dist/chunk-76AY2CWV.mjs +0 -22
- package/dist/chunk-7MK72U4O.mjs +0 -19
- package/dist/chunk-7SOQVGCL.mjs +0 -12
- package/dist/chunk-7XKT3AQX.mjs +0 -17
- package/dist/chunk-AT5ZUBQL.mjs +0 -151
- package/dist/chunk-CKILLYAP.mjs +0 -16
- package/dist/chunk-D5JDP7JB.mjs +0 -56
- package/dist/chunk-DEOVENCJ.mjs +0 -15
- package/dist/chunk-FILFH56Y.mjs +0 -21
- package/dist/chunk-FTXB3IBS.mjs +0 -20
- package/dist/chunk-GJMNV2OC.mjs +0 -35
- package/dist/chunk-GNJDIUYM.mjs +0 -40
- package/dist/chunk-HN4EHJ2H.mjs +0 -39
- package/dist/chunk-HTAKHCLC.mjs +0 -43
- package/dist/chunk-JAP2EUEW.mjs +0 -86
- package/dist/chunk-JFASFX5Y.mjs +0 -16
- package/dist/chunk-JIMOWRMS.mjs +0 -118
- package/dist/chunk-K4KENOE6.mjs +0 -20
- package/dist/chunk-LGBBKRBU.mjs +0 -40
- package/dist/chunk-PMJLVOEM.mjs +0 -25
- package/dist/chunk-PSVXSTS4.mjs +0 -51
- package/dist/chunk-SNYWQI35.mjs +0 -41
- package/dist/chunk-TV4YHUBU.mjs +0 -23
- package/dist/chunk-UHUY6K7N.mjs +0 -24
- package/dist/chunk-UZ7BFUDR.mjs +0 -258
- package/dist/chunk-YLZC36RI.mjs +0 -32
- package/dist/chunk-ZNIXVHZT.mjs +0 -24
- package/dist/color.mjs +0 -85
- package/dist/console/enableConsole.mjs +0 -9
- package/dist/console/index.mjs +0 -14
- package/dist/console/log.mjs +0 -19
- package/dist/createDir-220e0081.d.ts +0 -13
- package/dist/device/browser.mjs +0 -15
- package/dist/device/camera.mjs +0 -8
- package/dist/device/index.mjs +0 -15
- package/dist/device/os.mjs +0 -33
- package/dist/enableConsole-ddc24282.d.ts +0 -11
- package/dist/file/createDir.mjs +0 -7
- package/dist/file/fileMove.mjs +0 -7
- package/dist/file/findFilesByExt.mjs +0 -11
- package/dist/file/index.mjs +0 -17
- package/dist/fileMove-3a09e429.d.ts +0 -13
- package/dist/findFilesByExt-753e91d7.d.ts +0 -24
- package/dist/gameboi/index.mjs +0 -65
- package/dist/images/downloadByUrl.mjs +0 -53
- package/dist/images/index.mjs +0 -14
- package/dist/images/loadImage.mjs +0 -21
- package/dist/images/resize.mjs +0 -9
- package/dist/images/upload.mjs +0 -13
- package/dist/index-1e114d55.d.ts +0 -26
- package/dist/index-1f738e52.d.ts +0 -22
- package/dist/index-22309f0c.d.ts +0 -23
- package/dist/index-3eeb7834.d.ts +0 -90
- package/dist/index-6ae3c86b.d.ts +0 -63
- package/dist/index.mjs +0 -87
- package/dist/json.mjs +0 -29
- package/dist/math/diffDate.mjs +0 -9
- package/dist/math/index.mjs +0 -34
- package/dist/math/positiveNumber.mjs +0 -10
- package/dist/name/en.mjs +0 -9
- package/dist/name/index.mjs +0 -20
- package/dist/name/vi.mjs +0 -14
- package/dist/object-43aaaf92.d.ts +0 -80
- package/dist/object.mjs +0 -21
- package/dist/permission/index.mjs +0 -15
- package/dist/permission/requestCamera.mjs +0 -9
- package/dist/permission/requestDeviceOrientationControl.mjs +0 -10
- package/dist/requestCamera-32b7dfc7.d.ts +0 -14
- package/dist/requestDeviceOrientationControl-b6458660.d.ts +0 -11
- package/dist/response/index.mjs +0 -16
- package/dist/string/convertPathnameAndQuery.mjs +0 -28
- package/dist/string/formatNumber.mjs +0 -10
- package/dist/string/generatePassword.mjs +0 -10
- package/dist/string/generateUUID.mjs +0 -9
- package/dist/string/getTextBetweenCharByIndex.mjs +0 -22
- package/dist/string/index.mjs +0 -31
- package/dist/string/indexesOf.mjs +0 -7
- package/dist/string/makeDaySlug.mjs +0 -9
- package/dist/string/random.mjs +0 -23
- package/dist/string/trimNull.mjs +0 -9
- package/dist/string/url.mjs +0 -21
- package/dist/url-0da0be84.d.ts +0 -43
package/dist/index-6ae3c86b.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import diffDate from './math/diffDate.js';
|
|
2
|
-
import positiveNumber from './math/positiveNumber.js';
|
|
3
|
-
|
|
4
|
-
declare const randRound: (number: number) => number;
|
|
5
|
-
declare const rand: (number: number) => number;
|
|
6
|
-
declare const randHalt: (number: number) => number;
|
|
7
|
-
declare const randInt: (low: number, high: number) => number;
|
|
8
|
-
declare const randFloat: (low: number, high: number) => number;
|
|
9
|
-
declare const degToRad: (degrees: number) => number;
|
|
10
|
-
declare const radToDeg: (radians: number) => number;
|
|
11
|
-
declare const clamp: (value: number, min: number, max: number) => number;
|
|
12
|
-
declare const degBetweenPoints360: (cx: number, cy: number, ex: number, ey: number) => number;
|
|
13
|
-
declare const degBetweenPoints: (cx: number, cy: number, ex: number, ey: number) => number;
|
|
14
|
-
declare const angleBetweenPoints: (cx: number, cy: number, ex: number, ey: number) => number;
|
|
15
|
-
declare const distance2Point: (x1: number, y1: number, x2: number, y2: number) => number;
|
|
16
|
-
|
|
17
|
-
declare const xmath: {
|
|
18
|
-
rand: (number: number) => number;
|
|
19
|
-
randRound: (number: number) => number;
|
|
20
|
-
randHalt: (number: number) => number;
|
|
21
|
-
randInt: (low: number, high: number) => number;
|
|
22
|
-
randFloat: (low: number, high: number) => number;
|
|
23
|
-
degToRad: (degrees: number) => number;
|
|
24
|
-
radToDeg: (radians: number) => number;
|
|
25
|
-
degBetweenPoints360: (cx: number, cy: number, ex: number, ey: number) => number;
|
|
26
|
-
degBetweenPoints: (cx: number, cy: number, ex: number, ey: number) => number;
|
|
27
|
-
angleBetweenPoints: (cx: number, cy: number, ex: number, ey: number) => number;
|
|
28
|
-
distance2Point: (x1: number, y1: number, x2: number, y2: number) => number;
|
|
29
|
-
diffDate: typeof diffDate;
|
|
30
|
-
positiveNumber: typeof positiveNumber;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
declare const math_angleBetweenPoints: typeof angleBetweenPoints;
|
|
34
|
-
declare const math_clamp: typeof clamp;
|
|
35
|
-
declare const math_degBetweenPoints: typeof degBetweenPoints;
|
|
36
|
-
declare const math_degBetweenPoints360: typeof degBetweenPoints360;
|
|
37
|
-
declare const math_degToRad: typeof degToRad;
|
|
38
|
-
declare const math_distance2Point: typeof distance2Point;
|
|
39
|
-
declare const math_radToDeg: typeof radToDeg;
|
|
40
|
-
declare const math_rand: typeof rand;
|
|
41
|
-
declare const math_randFloat: typeof randFloat;
|
|
42
|
-
declare const math_randHalt: typeof randHalt;
|
|
43
|
-
declare const math_randInt: typeof randInt;
|
|
44
|
-
declare const math_randRound: typeof randRound;
|
|
45
|
-
declare namespace math {
|
|
46
|
-
export {
|
|
47
|
-
math_angleBetweenPoints as angleBetweenPoints,
|
|
48
|
-
math_clamp as clamp,
|
|
49
|
-
xmath as default,
|
|
50
|
-
math_degBetweenPoints as degBetweenPoints,
|
|
51
|
-
math_degBetweenPoints360 as degBetweenPoints360,
|
|
52
|
-
math_degToRad as degToRad,
|
|
53
|
-
math_distance2Point as distance2Point,
|
|
54
|
-
math_radToDeg as radToDeg,
|
|
55
|
-
math_rand as rand,
|
|
56
|
-
math_randFloat as randFloat,
|
|
57
|
-
math_randHalt as randHalt,
|
|
58
|
-
math_randInt as randInt,
|
|
59
|
-
math_randRound as randRound,
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export { rand as a, randHalt as b, randInt as c, randFloat as d, degToRad as e, radToDeg as f, clamp as g, degBetweenPoints360 as h, degBetweenPoints as i, angleBetweenPoints as j, distance2Point as k, math as m, randRound as r, xmath as x };
|
package/dist/index.mjs
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
string_exports
|
|
3
|
-
} from "./chunk-4CWVMQ53.mjs";
|
|
4
|
-
import "./chunk-ZNIXVHZT.mjs";
|
|
5
|
-
import "./chunk-CKILLYAP.mjs";
|
|
6
|
-
import "./chunk-7XKT3AQX.mjs";
|
|
7
|
-
import "./chunk-HTAKHCLC.mjs";
|
|
8
|
-
import "./chunk-7MK72U4O.mjs";
|
|
9
|
-
import {
|
|
10
|
-
name_exports
|
|
11
|
-
} from "./chunk-UHUY6K7N.mjs";
|
|
12
|
-
import "./chunk-PMJLVOEM.mjs";
|
|
13
|
-
import {
|
|
14
|
-
requestDeviceOrientationControl_exports
|
|
15
|
-
} from "./chunk-SNYWQI35.mjs";
|
|
16
|
-
import "./chunk-DEOVENCJ.mjs";
|
|
17
|
-
import {
|
|
18
|
-
url_exports
|
|
19
|
-
} from "./chunk-JAP2EUEW.mjs";
|
|
20
|
-
import "./chunk-K4KENOE6.mjs";
|
|
21
|
-
import {
|
|
22
|
-
createDir_exports
|
|
23
|
-
} from "./chunk-TV4YHUBU.mjs";
|
|
24
|
-
import {
|
|
25
|
-
fileMove_exports
|
|
26
|
-
} from "./chunk-HN4EHJ2H.mjs";
|
|
27
|
-
import {
|
|
28
|
-
findFilesByExt_exports
|
|
29
|
-
} from "./chunk-D5JDP7JB.mjs";
|
|
30
|
-
import {
|
|
31
|
-
device_exports
|
|
32
|
-
} from "./chunk-32BJ2V3H.mjs";
|
|
33
|
-
import {
|
|
34
|
-
Timer_exports
|
|
35
|
-
} from "./chunk-FTXB3IBS.mjs";
|
|
36
|
-
import {
|
|
37
|
-
console_exports
|
|
38
|
-
} from "./chunk-24DHBJAC.mjs";
|
|
39
|
-
import {
|
|
40
|
-
enableConsole_exports
|
|
41
|
-
} from "./chunk-76AY2CWV.mjs";
|
|
42
|
-
import {
|
|
43
|
-
browser_exports
|
|
44
|
-
} from "./chunk-PSVXSTS4.mjs";
|
|
45
|
-
import {
|
|
46
|
-
camera_exports
|
|
47
|
-
} from "./chunk-AT5ZUBQL.mjs";
|
|
48
|
-
import {
|
|
49
|
-
requestCamera_exports
|
|
50
|
-
} from "./chunk-LGBBKRBU.mjs";
|
|
51
|
-
import {
|
|
52
|
-
array_exports
|
|
53
|
-
} from "./chunk-UZ7BFUDR.mjs";
|
|
54
|
-
import {
|
|
55
|
-
math_exports
|
|
56
|
-
} from "./chunk-JIMOWRMS.mjs";
|
|
57
|
-
import "./chunk-7SOQVGCL.mjs";
|
|
58
|
-
import "./chunk-FILFH56Y.mjs";
|
|
59
|
-
import {
|
|
60
|
-
object_exports
|
|
61
|
-
} from "./chunk-6OZHYD5H.mjs";
|
|
62
|
-
import "./chunk-4VQ25N7H.mjs";
|
|
63
|
-
|
|
64
|
-
// src/index.ts
|
|
65
|
-
var utils = {
|
|
66
|
-
xname: name_exports,
|
|
67
|
-
array: array_exports,
|
|
68
|
-
device: device_exports,
|
|
69
|
-
console: console_exports,
|
|
70
|
-
browser: browser_exports,
|
|
71
|
-
camera: camera_exports,
|
|
72
|
-
math: math_exports,
|
|
73
|
-
object: object_exports,
|
|
74
|
-
string: string_exports,
|
|
75
|
-
url: url_exports,
|
|
76
|
-
createDir: createDir_exports,
|
|
77
|
-
fileMove: fileMove_exports,
|
|
78
|
-
findFilesByExt: findFilesByExt_exports,
|
|
79
|
-
Timer: Timer_exports,
|
|
80
|
-
requestCamera: requestCamera_exports,
|
|
81
|
-
requestDeviceOrientationControl: requestDeviceOrientationControl_exports,
|
|
82
|
-
enableConsole: enableConsole_exports
|
|
83
|
-
};
|
|
84
|
-
var src_default = utils;
|
|
85
|
-
export {
|
|
86
|
-
src_default as default
|
|
87
|
-
};
|
package/dist/json.mjs
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import "./chunk-4VQ25N7H.mjs";
|
|
2
|
-
|
|
3
|
-
// src/json.ts
|
|
4
|
-
var isValid = (content) => {
|
|
5
|
-
if (typeof content == "object") {
|
|
6
|
-
try {
|
|
7
|
-
content = JSON.stringify(content);
|
|
8
|
-
} catch (err) {
|
|
9
|
-
return false;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
if (typeof content == "string") {
|
|
13
|
-
try {
|
|
14
|
-
content = JSON.parse(content);
|
|
15
|
-
} catch (err) {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
if (typeof content != "object") {
|
|
20
|
-
return false;
|
|
21
|
-
}
|
|
22
|
-
return true;
|
|
23
|
-
};
|
|
24
|
-
var xjson = { isValid };
|
|
25
|
-
var json_default = xjson;
|
|
26
|
-
export {
|
|
27
|
-
json_default as default,
|
|
28
|
-
isValid
|
|
29
|
-
};
|
package/dist/math/diffDate.mjs
DELETED
package/dist/math/index.mjs
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
angleBetweenPoints,
|
|
3
|
-
clamp,
|
|
4
|
-
degBetweenPoints,
|
|
5
|
-
degBetweenPoints360,
|
|
6
|
-
degToRad,
|
|
7
|
-
distance2Point,
|
|
8
|
-
math_default,
|
|
9
|
-
radToDeg,
|
|
10
|
-
rand,
|
|
11
|
-
randFloat,
|
|
12
|
-
randHalt,
|
|
13
|
-
randInt,
|
|
14
|
-
randRound
|
|
15
|
-
} from "../chunk-JIMOWRMS.mjs";
|
|
16
|
-
import "../chunk-7SOQVGCL.mjs";
|
|
17
|
-
import "../chunk-FILFH56Y.mjs";
|
|
18
|
-
import "../chunk-6OZHYD5H.mjs";
|
|
19
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
20
|
-
export {
|
|
21
|
-
angleBetweenPoints,
|
|
22
|
-
clamp,
|
|
23
|
-
math_default as default,
|
|
24
|
-
degBetweenPoints,
|
|
25
|
-
degBetweenPoints360,
|
|
26
|
-
degToRad,
|
|
27
|
-
distance2Point,
|
|
28
|
-
radToDeg,
|
|
29
|
-
rand,
|
|
30
|
-
randFloat,
|
|
31
|
-
randHalt,
|
|
32
|
-
randInt,
|
|
33
|
-
randRound
|
|
34
|
-
};
|
package/dist/name/en.mjs
DELETED
package/dist/name/index.mjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
name_default
|
|
3
|
-
} from "../chunk-UHUY6K7N.mjs";
|
|
4
|
-
import {
|
|
5
|
-
vi_default
|
|
6
|
-
} from "../chunk-PMJLVOEM.mjs";
|
|
7
|
-
import {
|
|
8
|
-
en_default
|
|
9
|
-
} from "../chunk-K4KENOE6.mjs";
|
|
10
|
-
import "../chunk-UZ7BFUDR.mjs";
|
|
11
|
-
import "../chunk-JIMOWRMS.mjs";
|
|
12
|
-
import "../chunk-7SOQVGCL.mjs";
|
|
13
|
-
import "../chunk-FILFH56Y.mjs";
|
|
14
|
-
import "../chunk-6OZHYD5H.mjs";
|
|
15
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
16
|
-
export {
|
|
17
|
-
en_default as NameEN,
|
|
18
|
-
vi_default as NameVI,
|
|
19
|
-
name_default as default
|
|
20
|
-
};
|
package/dist/name/vi.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
generateName,
|
|
3
|
-
vi_default
|
|
4
|
-
} from "../chunk-PMJLVOEM.mjs";
|
|
5
|
-
import "../chunk-UZ7BFUDR.mjs";
|
|
6
|
-
import "../chunk-JIMOWRMS.mjs";
|
|
7
|
-
import "../chunk-7SOQVGCL.mjs";
|
|
8
|
-
import "../chunk-FILFH56Y.mjs";
|
|
9
|
-
import "../chunk-6OZHYD5H.mjs";
|
|
10
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
11
|
-
export {
|
|
12
|
-
vi_default as default,
|
|
13
|
-
generateName
|
|
14
|
-
};
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
declare const isNull: (object: string | number | {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}) => boolean;
|
|
4
|
-
declare const toBool: (object: string | {
|
|
5
|
-
[key: string]: any;
|
|
6
|
-
} | null) => boolean;
|
|
7
|
-
declare const toInt: (object: string | number | {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
} | null) => number;
|
|
10
|
-
declare const toFloat: (object: string | {
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
} | null) => number;
|
|
13
|
-
declare const toArray: (obj: {
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
}) => {
|
|
16
|
-
[key: string]: any;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Convert value in object to array
|
|
20
|
-
*/
|
|
21
|
-
declare const objectToArray: (obj: {
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
}) => any[];
|
|
24
|
-
/**
|
|
25
|
-
* Iterate through every keys & values of the object
|
|
26
|
-
*/
|
|
27
|
-
declare const iterate: (obj: {
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
}, callbackFn: (obj: any, key?: string, value?: any) => any) => {
|
|
30
|
-
[key: string]: any;
|
|
31
|
-
};
|
|
32
|
-
declare const xobject: {
|
|
33
|
-
isNull: (object: string | number | {
|
|
34
|
-
[key: string]: any;
|
|
35
|
-
}) => boolean;
|
|
36
|
-
toBool: (object: string | {
|
|
37
|
-
[key: string]: any;
|
|
38
|
-
} | null) => boolean;
|
|
39
|
-
toInt: (object: string | number | {
|
|
40
|
-
[key: string]: any;
|
|
41
|
-
} | null) => number;
|
|
42
|
-
toFloat: (object: string | {
|
|
43
|
-
[key: string]: any;
|
|
44
|
-
} | null) => number;
|
|
45
|
-
toArray: (obj: {
|
|
46
|
-
[key: string]: any;
|
|
47
|
-
}) => {
|
|
48
|
-
[key: string]: any;
|
|
49
|
-
};
|
|
50
|
-
objectToArray: (obj: {
|
|
51
|
-
[key: string]: any;
|
|
52
|
-
}) => any[];
|
|
53
|
-
iterate: (obj: {
|
|
54
|
-
[key: string]: any;
|
|
55
|
-
}, callbackFn: (obj: any, key?: string, value?: any) => any) => {
|
|
56
|
-
[key: string]: any;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
declare const object_isNull: typeof isNull;
|
|
61
|
-
declare const object_iterate: typeof iterate;
|
|
62
|
-
declare const object_objectToArray: typeof objectToArray;
|
|
63
|
-
declare const object_toArray: typeof toArray;
|
|
64
|
-
declare const object_toBool: typeof toBool;
|
|
65
|
-
declare const object_toFloat: typeof toFloat;
|
|
66
|
-
declare const object_toInt: typeof toInt;
|
|
67
|
-
declare namespace object {
|
|
68
|
-
export {
|
|
69
|
-
xobject as default,
|
|
70
|
-
object_isNull as isNull,
|
|
71
|
-
object_iterate as iterate,
|
|
72
|
-
object_objectToArray as objectToArray,
|
|
73
|
-
object_toArray as toArray,
|
|
74
|
-
object_toBool as toBool,
|
|
75
|
-
object_toFloat as toFloat,
|
|
76
|
-
object_toInt as toInt,
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export { toInt as a, toFloat as b, toArray as c, objectToArray as d, iterate as e, isNull as i, object as o, toBool as t, xobject as x };
|
package/dist/object.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isNull,
|
|
3
|
-
iterate,
|
|
4
|
-
objectToArray,
|
|
5
|
-
object_default,
|
|
6
|
-
toArray,
|
|
7
|
-
toBool,
|
|
8
|
-
toFloat,
|
|
9
|
-
toInt
|
|
10
|
-
} from "./chunk-6OZHYD5H.mjs";
|
|
11
|
-
import "./chunk-4VQ25N7H.mjs";
|
|
12
|
-
export {
|
|
13
|
-
object_default as default,
|
|
14
|
-
isNull,
|
|
15
|
-
iterate,
|
|
16
|
-
objectToArray,
|
|
17
|
-
toArray,
|
|
18
|
-
toBool,
|
|
19
|
-
toFloat,
|
|
20
|
-
toInt
|
|
21
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
requestDeviceOrientationControl
|
|
3
|
-
} from "../chunk-SNYWQI35.mjs";
|
|
4
|
-
import "../chunk-32BJ2V3H.mjs";
|
|
5
|
-
import {
|
|
6
|
-
requestCamera
|
|
7
|
-
} from "../chunk-LGBBKRBU.mjs";
|
|
8
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
9
|
-
|
|
10
|
-
// src/permission/index.ts
|
|
11
|
-
var permission = { requestCamera, requestDeviceOrientationControl };
|
|
12
|
-
var permission_default = permission;
|
|
13
|
-
export {
|
|
14
|
-
permission_default as default
|
|
15
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
requestDeviceOrientationControl,
|
|
3
|
-
requestDeviceOrientationControl_default
|
|
4
|
-
} from "../chunk-SNYWQI35.mjs";
|
|
5
|
-
import "../chunk-32BJ2V3H.mjs";
|
|
6
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
7
|
-
export {
|
|
8
|
-
requestDeviceOrientationControl_default as default,
|
|
9
|
-
requestDeviceOrientationControl
|
|
10
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const requestCamera: ({ audio, video }: {
|
|
2
|
-
audio?: boolean | undefined;
|
|
3
|
-
video?: boolean | undefined;
|
|
4
|
-
}) => false | Promise<unknown>;
|
|
5
|
-
|
|
6
|
-
declare const requestCamera$1_requestCamera: typeof requestCamera;
|
|
7
|
-
declare namespace requestCamera$1 {
|
|
8
|
-
export {
|
|
9
|
-
requestCamera as default,
|
|
10
|
-
requestCamera$1_requestCamera as requestCamera,
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { requestCamera as a, requestCamera$1 as r };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const requestDeviceOrientationControl: () => false | Promise<unknown>;
|
|
2
|
-
|
|
3
|
-
declare const requestDeviceOrientationControl$1_requestDeviceOrientationControl: typeof requestDeviceOrientationControl;
|
|
4
|
-
declare namespace requestDeviceOrientationControl$1 {
|
|
5
|
-
export {
|
|
6
|
-
requestDeviceOrientationControl as default,
|
|
7
|
-
requestDeviceOrientationControl$1_requestDeviceOrientationControl as requestDeviceOrientationControl,
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export { requestDeviceOrientationControl as a, requestDeviceOrientationControl$1 as r };
|
package/dist/response/index.mjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Response,
|
|
3
|
-
getFailedResponse,
|
|
4
|
-
getResponse,
|
|
5
|
-
getSuccessResponse,
|
|
6
|
-
response_default
|
|
7
|
-
} from "../chunk-32PJ3FML.mjs";
|
|
8
|
-
import "../chunk-GNJDIUYM.mjs";
|
|
9
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
10
|
-
export {
|
|
11
|
-
Response,
|
|
12
|
-
response_default as default,
|
|
13
|
-
getFailedResponse,
|
|
14
|
-
getResponse,
|
|
15
|
-
getSuccessResponse
|
|
16
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isNull
|
|
3
|
-
} from "../chunk-6OZHYD5H.mjs";
|
|
4
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
5
|
-
|
|
6
|
-
// src/string/convertPathnameAndQuery.ts
|
|
7
|
-
function convertPathnameAndQuery(url) {
|
|
8
|
-
if (isNull(url))
|
|
9
|
-
return null;
|
|
10
|
-
url = url.toString();
|
|
11
|
-
const arr = url.split("?");
|
|
12
|
-
const pathname = arr[0];
|
|
13
|
-
const query = {};
|
|
14
|
-
if (arr[1]) {
|
|
15
|
-
const _query = arr[1].split("&");
|
|
16
|
-
_query.map((item) => {
|
|
17
|
-
const __item = item.split("=");
|
|
18
|
-
query[__item[0]] = __item[1];
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
return {
|
|
22
|
-
pathname,
|
|
23
|
-
query
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
convertPathnameAndQuery as default
|
|
28
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
indexesOf
|
|
3
|
-
} from "../chunk-JFASFX5Y.mjs";
|
|
4
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
5
|
-
|
|
6
|
-
// src/string/getTextBetweenCharByIndex.ts
|
|
7
|
-
function getTextBetweenCharByIndex(str, char, index) {
|
|
8
|
-
const arr = indexesOf(str, char);
|
|
9
|
-
let start = 0, end = 0;
|
|
10
|
-
for (let i = 0; i < arr.length; i++) {
|
|
11
|
-
const _index = arr[i];
|
|
12
|
-
if (index > _index) {
|
|
13
|
-
start = _index;
|
|
14
|
-
end = arr[i + 1];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
const result = str.substring(start + 1, end);
|
|
18
|
-
return result;
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
getTextBetweenCharByIndex as default
|
|
22
|
-
};
|
package/dist/string/index.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
capitalize,
|
|
3
|
-
capitalizeName,
|
|
4
|
-
clearUnicodeCharacters,
|
|
5
|
-
getBetween,
|
|
6
|
-
makeString,
|
|
7
|
-
string_default,
|
|
8
|
-
titleize,
|
|
9
|
-
toLowerCase,
|
|
10
|
-
toUpperCase
|
|
11
|
-
} from "../chunk-4CWVMQ53.mjs";
|
|
12
|
-
import "../chunk-ZNIXVHZT.mjs";
|
|
13
|
-
import "../chunk-CKILLYAP.mjs";
|
|
14
|
-
import "../chunk-7XKT3AQX.mjs";
|
|
15
|
-
import "../chunk-HTAKHCLC.mjs";
|
|
16
|
-
import "../chunk-7MK72U4O.mjs";
|
|
17
|
-
import "../chunk-DEOVENCJ.mjs";
|
|
18
|
-
import "../chunk-JAP2EUEW.mjs";
|
|
19
|
-
import "../chunk-6OZHYD5H.mjs";
|
|
20
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
21
|
-
export {
|
|
22
|
-
capitalize,
|
|
23
|
-
capitalizeName,
|
|
24
|
-
clearUnicodeCharacters,
|
|
25
|
-
string_default as default,
|
|
26
|
-
getBetween,
|
|
27
|
-
makeString,
|
|
28
|
-
titleize,
|
|
29
|
-
toLowerCase,
|
|
30
|
-
toUpperCase
|
|
31
|
-
};
|
package/dist/string/random.mjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
allCharacter,
|
|
3
|
-
numeric,
|
|
4
|
-
punctuation,
|
|
5
|
-
randAllCharacterByLength,
|
|
6
|
-
randomStringAndNumberByLength,
|
|
7
|
-
randomStringByLength,
|
|
8
|
-
random_default,
|
|
9
|
-
textLowCase,
|
|
10
|
-
uniqueSortByTime
|
|
11
|
-
} from "../chunk-HTAKHCLC.mjs";
|
|
12
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
13
|
-
export {
|
|
14
|
-
allCharacter,
|
|
15
|
-
random_default as default,
|
|
16
|
-
numeric,
|
|
17
|
-
punctuation,
|
|
18
|
-
randAllCharacterByLength,
|
|
19
|
-
randomStringAndNumberByLength,
|
|
20
|
-
randomStringByLength,
|
|
21
|
-
textLowCase,
|
|
22
|
-
uniqueSortByTime
|
|
23
|
-
};
|
package/dist/string/trimNull.mjs
DELETED
package/dist/string/url.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
addQueryParam,
|
|
3
|
-
getFileExtension,
|
|
4
|
-
getFileNameWithExtension,
|
|
5
|
-
getFileNameWithoutExtension,
|
|
6
|
-
getUrlParams,
|
|
7
|
-
isImage,
|
|
8
|
-
isLink,
|
|
9
|
-
url_default
|
|
10
|
-
} from "../chunk-JAP2EUEW.mjs";
|
|
11
|
-
import "../chunk-4VQ25N7H.mjs";
|
|
12
|
-
export {
|
|
13
|
-
addQueryParam,
|
|
14
|
-
url_default as default,
|
|
15
|
-
getFileExtension,
|
|
16
|
-
getFileNameWithExtension,
|
|
17
|
-
getFileNameWithoutExtension,
|
|
18
|
-
getUrlParams,
|
|
19
|
-
isImage,
|
|
20
|
-
isLink
|
|
21
|
-
};
|