@daysnap/utils 0.1.16 → 0.1.18
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/docs/classes/Storage.md +13 -13
- package/docs/interfaces/EventBusCallback.md +1 -1
- package/docs/interfaces/StorageManager.md +4 -4
- package/docs/interfaces/Trap.md +5 -5
- package/docs/modules.md +144 -340
- package/es/blobToBase64.d.ts +1 -1
- package/es/blobToBase64.js +1 -1
- package/es/{chunk-2ZSZ4GDI.js → chunk-65FBSULU.js} +1 -2
- package/es/{chunk-WXD7J2FR.js → chunk-DW5GIB4A.js} +1 -2
- package/es/chunk-HRKQWKOJ.js +21 -0
- package/es/chunk-S2FOFDX4.js +8 -0
- package/es/{chunk-D5O4LXN3.js → chunk-YLHA5VH3.js} +1 -1
- package/es/filterCRLF.d.ts +6 -0
- package/es/filterCRLF.js +6 -0
- package/es/filterEmptyValue.js +3 -3
- package/es/formartDateToZN.js +1 -1
- package/es/formatFileSize.js +1 -1
- package/es/getDateBoundsByMonths.d.ts +1 -1
- package/es/getMonthBounds.d.ts +1 -1
- package/es/index.d.ts +2 -8
- package/es/index.js +95 -121
- package/es/{isUrl.js → isURL.js} +1 -1
- package/es/stringifyQuery.js +2 -2
- package/lib/blobToBase64.cjs +2 -2
- package/lib/blobToBase64.d.cts +1 -1
- package/lib/{chunk-YIW4PW4Q.cjs → chunk-CDHFRZQM.cjs} +8 -2
- package/lib/chunk-CXDOHSIF.cjs +8 -0
- package/lib/{chunk-KT3FWGJG.cjs → chunk-DIJ3MI2T.cjs} +1 -2
- package/lib/{chunk-EDVQTNLJ.cjs → chunk-LJD6E7O5.cjs} +1 -2
- package/lib/{chunk-I6VB2D7C.cjs → chunk-YMGGMXZL.cjs} +1 -1
- package/lib/filterCRLF.cjs +6 -0
- package/lib/filterCRLF.d.cts +6 -0
- package/lib/filterEmptyValue.cjs +4 -4
- package/lib/formartDateToZN.cjs +2 -2
- package/lib/formatFileSize.cjs +2 -2
- package/lib/getDateBoundsByMonths.d.cts +1 -1
- package/lib/getMonthBounds.d.cts +1 -1
- package/lib/index.cjs +71 -97
- package/lib/index.d.cts +2 -8
- package/lib/isURL.cjs +6 -0
- package/lib/stringifyQuery.cjs +3 -3
- package/package.json +1 -1
- package/docs/classes/Poller.md +0 -151
- package/docs/interfaces/PollerOptions.md +0 -19
- package/es/chunk-AAKGIVZB.js +0 -21
- package/es/chunk-BZ6JSRMY.js +0 -8
- package/es/chunk-GLJALZRT.js +0 -43
- package/es/chunk-KH7MPMQF.js +0 -15
- package/es/chunk-MOZPLBC3.js +0 -8
- package/es/chunk-OOWZEABP.js +0 -8
- package/es/chunk-PXMH56CM.js +0 -8
- package/es/chunk-UDRRKKBB.js +0 -12
- package/es/crToBr.d.ts +0 -6
- package/es/crToBr.js +0 -6
- package/es/crlfToBr.d.ts +0 -11
- package/es/crlfToBr.js +0 -8
- package/es/getDaysOfMonth.d.ts +0 -6
- package/es/getDaysOfMonth.js +0 -6
- package/es/getWeekBounds.d.ts +0 -7
- package/es/getWeekBounds.js +0 -9
- package/es/isLeapYear.d.ts +0 -7
- package/es/isLeapYear.js +0 -6
- package/es/lfToBr.d.ts +0 -6
- package/es/lfToBr.js +0 -6
- package/es/poller.d.ts +0 -20
- package/es/poller.js +0 -7
- package/lib/chunk-4WWOJSX3.cjs +0 -21
- package/lib/chunk-EUH2FDMT.cjs +0 -8
- package/lib/chunk-TDUDOSU4.cjs +0 -43
- package/lib/chunk-TMCJ3HTA.cjs +0 -12
- package/lib/chunk-UTUKZLEN.cjs +0 -8
- package/lib/chunk-XSCXPGEI.cjs +0 -8
- package/lib/chunk-ZSDKKWIQ.cjs +0 -8
- package/lib/crToBr.cjs +0 -6
- package/lib/crToBr.d.cts +0 -6
- package/lib/crlfToBr.cjs +0 -8
- package/lib/crlfToBr.d.cts +0 -11
- package/lib/getDaysOfMonth.cjs +0 -6
- package/lib/getDaysOfMonth.d.cts +0 -6
- package/lib/getWeekBounds.cjs +0 -9
- package/lib/getWeekBounds.d.cts +0 -7
- package/lib/isLeapYear.cjs +0 -6
- package/lib/isLeapYear.d.cts +0 -7
- package/lib/isUrl.cjs +0 -6
- package/lib/lfToBr.cjs +0 -6
- package/lib/lfToBr.d.cts +0 -6
- package/lib/poller.cjs +0 -7
- package/lib/poller.d.cts +0 -20
- package/es/{chunk-SMNIKKYG.js → chunk-NXEL6RMI.js} +6 -6
- package/es/{chunk-WXXFRKUS.js → chunk-VDXSQKQF.js} +3 -3
- package/es/{isUrl.d.ts → isURL.d.ts} +0 -0
- package/lib/{chunk-4USHGA4P.cjs → chunk-73AXP7FD.cjs} +2 -2
- package/lib/{chunk-4P4EJVBW.cjs → chunk-PYFTXKFI.cjs} +4 -4
- /package/lib/{isUrl.d.cts → isURL.d.cts} +0 -0
package/es/blobToBase64.d.ts
CHANGED
package/es/blobToBase64.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// src/formatFileSize.ts
|
|
2
2
|
function formatFileSize(bytes, decimals = 2) {
|
|
3
|
-
if (bytes === 0)
|
|
4
|
-
return "0 Bytes";
|
|
3
|
+
if (bytes === 0) return "0 Bytes";
|
|
5
4
|
const k = 1024;
|
|
6
5
|
const dm = decimals < 0 ? 0 : decimals;
|
|
7
6
|
const sizes = ["Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// src/blobToBase64.ts
|
|
2
|
+
function blobToBase64(blob, contentType) {
|
|
3
|
+
return new Promise((resolve, reject) => {
|
|
4
|
+
const fileReader = new FileReader();
|
|
5
|
+
fileReader.onload = (res) => {
|
|
6
|
+
const result = res.target?.result;
|
|
7
|
+
if (result && typeof result === "string" && contentType) {
|
|
8
|
+
const [, data] = result.split(",");
|
|
9
|
+
resolve(`data:${contentType};base64,${data}`);
|
|
10
|
+
} else {
|
|
11
|
+
resolve(result ?? "");
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
fileReader.onerror = reject;
|
|
15
|
+
fileReader.readAsDataURL(blob);
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
blobToBase64
|
|
21
|
+
};
|
package/es/filterCRLF.js
ADDED
package/es/filterEmptyValue.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
filterEmptyValue
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-YGV2UKBN.js";
|
|
5
|
-
import "./chunk-ELR2DZ56.js";
|
|
3
|
+
} from "./chunk-NXEL6RMI.js";
|
|
6
4
|
import "./chunk-GVYBTJDA.js";
|
|
7
5
|
import "./chunk-WCZPEH7E.js";
|
|
6
|
+
import "./chunk-YGV2UKBN.js";
|
|
7
|
+
import "./chunk-ELR2DZ56.js";
|
|
8
8
|
import "./chunk-3KRJNCKB.js";
|
|
9
9
|
import "./chunk-KOOGLWJ5.js";
|
|
10
10
|
import "./chunk-CSZ7G34M.js";
|
package/es/formartDateToZN.js
CHANGED
package/es/formatFileSize.js
CHANGED
package/es/getMonthBounds.d.ts
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -11,12 +11,10 @@ export { clone } from './clone.js';
|
|
|
11
11
|
export { cloneSimple } from './cloneSimple.js';
|
|
12
12
|
export { compareVersion } from './compareVersion.js';
|
|
13
13
|
export { compressImage } from './compressImage.js';
|
|
14
|
-
export { crToBr } from './crToBr.js';
|
|
15
14
|
export { createFactory } from './createFactory.js';
|
|
16
15
|
export { colorGenByHash } from './createHexColorByHash.js';
|
|
17
16
|
export { createLinearFunction } from './createLinearFunction.js';
|
|
18
17
|
export { createWithLoading } from './createWithLoading.js';
|
|
19
|
-
export { crlfToBr, filterCRLF } from './crlfToBr.js';
|
|
20
18
|
export { debounce } from './debounce.js';
|
|
21
19
|
export { atob, btoa } from './decode.js';
|
|
22
20
|
export { downloadFile } from './downloadFile.js';
|
|
@@ -24,6 +22,7 @@ export { each } from './each.js';
|
|
|
24
22
|
export { EventBusCallback, eventBus } from './eventBus.js';
|
|
25
23
|
export { exitFullscreen } from './exitFullscreen.js';
|
|
26
24
|
export { filterBankCardNo } from './filterBankCardNo.js';
|
|
25
|
+
export { filterCRLF } from './filterCRLF.js';
|
|
27
26
|
export { filterEmoji } from './filterEmoji.js';
|
|
28
27
|
export { filterEmptyValue } from './filterEmptyValue.js';
|
|
29
28
|
export { filterIdCard } from './filterIdCard.js';
|
|
@@ -40,7 +39,6 @@ export { formatPathParams } from './formatPathParams.js';
|
|
|
40
39
|
export { getBlobByUrl } from './getBlobByUrl.js';
|
|
41
40
|
export { getDateBoundsByMonths } from './getDateBoundsByMonths.js';
|
|
42
41
|
export { getDayMillisecond } from './getDayMillisecond.js';
|
|
43
|
-
export { getDaysOfMonth } from './getDaysOfMonth.js';
|
|
44
42
|
export { getImageInfo } from './getImageInfo.js';
|
|
45
43
|
export { getMonthBounds } from './getMonthBounds.js';
|
|
46
44
|
export { getRandom } from './getRandom.js';
|
|
@@ -49,7 +47,6 @@ export { getRandomNumber } from './getRandomNumber.js';
|
|
|
49
47
|
export { getRangeDate } from './getRangeDate.js';
|
|
50
48
|
export { getScrollTop } from './getScrollTop.js';
|
|
51
49
|
export { getVideoInfo } from './getVideoInfo.js';
|
|
52
|
-
export { getWeekBounds } from './getWeekBounds.js';
|
|
53
50
|
export { getWeekday } from './getWeekday.js';
|
|
54
51
|
export { inBrowser } from './inBrowser.js';
|
|
55
52
|
export { insertLink } from './insertLink.js';
|
|
@@ -72,7 +69,6 @@ export { isIOS } from './isIOS.js';
|
|
|
72
69
|
export { isIdCard } from './isIdCard.js';
|
|
73
70
|
export { isJSONString } from './isJSONString.js';
|
|
74
71
|
export { isLan } from './isLan.js';
|
|
75
|
-
export { isLeapYear } from './isLeapYear.js';
|
|
76
72
|
export { isLicenseCode } from './isLicenseCode.js';
|
|
77
73
|
export { isMobile } from './isMobile.js';
|
|
78
74
|
export { isNativeFunction } from './isNativeFunction.js';
|
|
@@ -84,14 +80,13 @@ export { isPromise } from './isPromise.js';
|
|
|
84
80
|
export { isRegExp } from './isRegExp.js';
|
|
85
81
|
export { isString } from './isString.js';
|
|
86
82
|
export { isType } from './isType.js';
|
|
83
|
+
export { isUrl } from './isURL.js';
|
|
87
84
|
export { isUndefined } from './isUndefined.js';
|
|
88
|
-
export { isUrl } from './isUrl.js';
|
|
89
85
|
export { isValidDate } from './isValidDate.js';
|
|
90
86
|
export { isWeChat, isWeixin } from './isWeChat.js';
|
|
91
87
|
export { isWeChatMiniProgram } from './isWeChatMiniProgram.js';
|
|
92
88
|
export { isWindow } from './isWindow.js';
|
|
93
89
|
export { kebabCase } from './kebabCase.js';
|
|
94
|
-
export { lfToBr } from './lfToBr.js';
|
|
95
90
|
export { listGenerator } from './listGenerator.js';
|
|
96
91
|
export { makePhoneCall } from './makePhoneCall.js';
|
|
97
92
|
export { mousewheel } from './mousewheel.js';
|
|
@@ -108,7 +103,6 @@ export { parseQuery } from './parseQuery.js';
|
|
|
108
103
|
export { parseQueryString } from './parseQueryString.js';
|
|
109
104
|
export { pascalCase } from './pascalCase.js';
|
|
110
105
|
export { pick } from './pick.js';
|
|
111
|
-
export { Poller, PollerOptions, PollerTask } from './poller.js';
|
|
112
106
|
export { replaceCrlf } from './replaceCrlf.js';
|
|
113
107
|
export { requestFullScreen } from './requestFullScreen.js';
|
|
114
108
|
export { reserve } from './reserve.js';
|
package/es/index.js
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
toDBC
|
|
3
|
+
} from "./chunk-ONTP5SDE.js";
|
|
4
|
+
import {
|
|
5
|
+
createTrapInstance,
|
|
6
|
+
trap
|
|
7
|
+
} from "./chunk-LOPD7SSH.js";
|
|
1
8
|
import {
|
|
2
9
|
typeOf
|
|
3
10
|
} from "./chunk-MTF3ACKC.js";
|
|
@@ -17,6 +24,12 @@ import {
|
|
|
17
24
|
import {
|
|
18
25
|
Storage
|
|
19
26
|
} from "./chunk-56QUZDMU.js";
|
|
27
|
+
import {
|
|
28
|
+
setScrollTop
|
|
29
|
+
} from "./chunk-BULTIEJG.js";
|
|
30
|
+
import {
|
|
31
|
+
sleep
|
|
32
|
+
} from "./chunk-TNIIDDN4.js";
|
|
20
33
|
import {
|
|
21
34
|
splitArray
|
|
22
35
|
} from "./chunk-BNF4U7EJ.js";
|
|
@@ -25,7 +38,7 @@ import {
|
|
|
25
38
|
} from "./chunk-IF7JMIDO.js";
|
|
26
39
|
import {
|
|
27
40
|
stringifyQuery
|
|
28
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VDXSQKQF.js";
|
|
29
42
|
import {
|
|
30
43
|
stringifyQueryString
|
|
31
44
|
} from "./chunk-TSFGLHCP.js";
|
|
@@ -38,12 +51,11 @@ import {
|
|
|
38
51
|
toCDB
|
|
39
52
|
} from "./chunk-J2Y5ZZA3.js";
|
|
40
53
|
import {
|
|
41
|
-
|
|
42
|
-
} from "./chunk-
|
|
54
|
+
pascalCase
|
|
55
|
+
} from "./chunk-S7PUCGCQ.js";
|
|
43
56
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./chunk-LOPD7SSH.js";
|
|
57
|
+
pick
|
|
58
|
+
} from "./chunk-IPAT3N4P.js";
|
|
47
59
|
import {
|
|
48
60
|
replaceCrlf
|
|
49
61
|
} from "./chunk-GNGSV7F7.js";
|
|
@@ -63,8 +75,14 @@ import {
|
|
|
63
75
|
scrollToTop
|
|
64
76
|
} from "./chunk-P7QW362C.js";
|
|
65
77
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
78
|
+
omit
|
|
79
|
+
} from "./chunk-6GTFQZL4.js";
|
|
80
|
+
import {
|
|
81
|
+
padding
|
|
82
|
+
} from "./chunk-CCZL3GEW.js";
|
|
83
|
+
import {
|
|
84
|
+
parseDate
|
|
85
|
+
} from "./chunk-DWT2WM6H.js";
|
|
68
86
|
import {
|
|
69
87
|
parseError
|
|
70
88
|
} from "./chunk-EJMUWNXI.js";
|
|
@@ -78,17 +96,11 @@ import {
|
|
|
78
96
|
parseQueryString
|
|
79
97
|
} from "./chunk-SZ7IZE42.js";
|
|
80
98
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import {
|
|
84
|
-
pick
|
|
85
|
-
} from "./chunk-IPAT3N4P.js";
|
|
86
|
-
import {
|
|
87
|
-
Poller
|
|
88
|
-
} from "./chunk-GLJALZRT.js";
|
|
99
|
+
isWindow
|
|
100
|
+
} from "./chunk-QYCMY2T4.js";
|
|
89
101
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
102
|
+
kebabCase
|
|
103
|
+
} from "./chunk-IPIA4Z65.js";
|
|
92
104
|
import {
|
|
93
105
|
makePhoneCall
|
|
94
106
|
} from "./chunk-GYOXULKV.js";
|
|
@@ -102,17 +114,14 @@ import {
|
|
|
102
114
|
normalizePath
|
|
103
115
|
} from "./chunk-CMP4T3ZH.js";
|
|
104
116
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import {
|
|
108
|
-
padding
|
|
109
|
-
} from "./chunk-CCZL3GEW.js";
|
|
117
|
+
isRegExp
|
|
118
|
+
} from "./chunk-Y4V5R7XA.js";
|
|
110
119
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
120
|
+
isType
|
|
121
|
+
} from "./chunk-5EVWQVDV.js";
|
|
113
122
|
import {
|
|
114
123
|
isUrl
|
|
115
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-YLHA5VH3.js";
|
|
116
125
|
import {
|
|
117
126
|
isValidDate
|
|
118
127
|
} from "./chunk-S6ZV2M6N.js";
|
|
@@ -124,14 +133,14 @@ import {
|
|
|
124
133
|
isWeChatMiniProgram
|
|
125
134
|
} from "./chunk-SQ3L6IQW.js";
|
|
126
135
|
import {
|
|
127
|
-
|
|
128
|
-
} from "./chunk-
|
|
136
|
+
isLicenseCode
|
|
137
|
+
} from "./chunk-576ZRCUO.js";
|
|
129
138
|
import {
|
|
130
|
-
|
|
131
|
-
} from "./chunk-
|
|
139
|
+
isMobile
|
|
140
|
+
} from "./chunk-L52JSZDZ.js";
|
|
132
141
|
import {
|
|
133
|
-
|
|
134
|
-
} from "./chunk-
|
|
142
|
+
isNativeFunction
|
|
143
|
+
} from "./chunk-4N33UIAB.js";
|
|
135
144
|
import {
|
|
136
145
|
isNumber
|
|
137
146
|
} from "./chunk-NCFA5IXM.js";
|
|
@@ -141,36 +150,6 @@ import {
|
|
|
141
150
|
import {
|
|
142
151
|
isPromise
|
|
143
152
|
} from "./chunk-LJ4CEJ5C.js";
|
|
144
|
-
import {
|
|
145
|
-
isRegExp
|
|
146
|
-
} from "./chunk-Y4V5R7XA.js";
|
|
147
|
-
import {
|
|
148
|
-
isType
|
|
149
|
-
} from "./chunk-5EVWQVDV.js";
|
|
150
|
-
import {
|
|
151
|
-
isIdCard
|
|
152
|
-
} from "./chunk-UXSZFM5G.js";
|
|
153
|
-
import {
|
|
154
|
-
isJSONString
|
|
155
|
-
} from "./chunk-IIIHPNUB.js";
|
|
156
|
-
import {
|
|
157
|
-
isLan
|
|
158
|
-
} from "./chunk-VTSGSUL2.js";
|
|
159
|
-
import {
|
|
160
|
-
isLeapYear
|
|
161
|
-
} from "./chunk-MOZPLBC3.js";
|
|
162
|
-
import {
|
|
163
|
-
isLicenseCode
|
|
164
|
-
} from "./chunk-576ZRCUO.js";
|
|
165
|
-
import {
|
|
166
|
-
isMobile
|
|
167
|
-
} from "./chunk-L52JSZDZ.js";
|
|
168
|
-
import {
|
|
169
|
-
isNativeFunction
|
|
170
|
-
} from "./chunk-4N33UIAB.js";
|
|
171
|
-
import {
|
|
172
|
-
isEmail
|
|
173
|
-
} from "./chunk-JMUWQLHE.js";
|
|
174
153
|
import {
|
|
175
154
|
isError
|
|
176
155
|
} from "./chunk-6UGTRW2S.js";
|
|
@@ -181,14 +160,14 @@ import {
|
|
|
181
160
|
isIOS
|
|
182
161
|
} from "./chunk-5BVFSCCX.js";
|
|
183
162
|
import {
|
|
184
|
-
|
|
185
|
-
} from "./chunk-
|
|
163
|
+
isIdCard
|
|
164
|
+
} from "./chunk-UXSZFM5G.js";
|
|
186
165
|
import {
|
|
187
|
-
|
|
188
|
-
} from "./chunk-
|
|
166
|
+
isJSONString
|
|
167
|
+
} from "./chunk-IIIHPNUB.js";
|
|
189
168
|
import {
|
|
190
|
-
|
|
191
|
-
} from "./chunk-
|
|
169
|
+
isLan
|
|
170
|
+
} from "./chunk-VTSGSUL2.js";
|
|
192
171
|
import {
|
|
193
172
|
isAndroid
|
|
194
173
|
} from "./chunk-SWLGSN5X.js";
|
|
@@ -202,17 +181,11 @@ import {
|
|
|
202
181
|
isDate
|
|
203
182
|
} from "./chunk-A4YRDVZ4.js";
|
|
204
183
|
import {
|
|
205
|
-
|
|
206
|
-
} from "./chunk-
|
|
207
|
-
import {
|
|
208
|
-
getScrollTop
|
|
209
|
-
} from "./chunk-EFDRCKKS.js";
|
|
184
|
+
isEmail
|
|
185
|
+
} from "./chunk-JMUWQLHE.js";
|
|
210
186
|
import {
|
|
211
187
|
getVideoInfo
|
|
212
188
|
} from "./chunk-3ZZPPKM3.js";
|
|
213
|
-
import {
|
|
214
|
-
getWeekBounds
|
|
215
|
-
} from "./chunk-AAKGIVZB.js";
|
|
216
189
|
import {
|
|
217
190
|
getWeekday
|
|
218
191
|
} from "./chunk-PSACVUUL.js";
|
|
@@ -223,14 +196,17 @@ import {
|
|
|
223
196
|
insertLink
|
|
224
197
|
} from "./chunk-FIHEVMN6.js";
|
|
225
198
|
import {
|
|
226
|
-
|
|
227
|
-
} from "./chunk-
|
|
199
|
+
insertScript
|
|
200
|
+
} from "./chunk-SCEONZUJ.js";
|
|
201
|
+
import {
|
|
202
|
+
insertStyle
|
|
203
|
+
} from "./chunk-FY3PSILS.js";
|
|
204
|
+
import {
|
|
205
|
+
isAmount
|
|
206
|
+
} from "./chunk-YKTD7CLE.js";
|
|
228
207
|
import {
|
|
229
208
|
getDayMillisecond
|
|
230
209
|
} from "./chunk-ZGN3KUXE.js";
|
|
231
|
-
import {
|
|
232
|
-
getDaysOfMonth
|
|
233
|
-
} from "./chunk-OOWZEABP.js";
|
|
234
210
|
import {
|
|
235
211
|
getImageInfo
|
|
236
212
|
} from "./chunk-ANF3VZYM.js";
|
|
@@ -250,26 +226,20 @@ import {
|
|
|
250
226
|
listGenerator
|
|
251
227
|
} from "./chunk-2SUOLGG5.js";
|
|
252
228
|
import {
|
|
253
|
-
|
|
254
|
-
} from "./chunk-
|
|
229
|
+
getRangeDate
|
|
230
|
+
} from "./chunk-JZKIIY3L.js";
|
|
231
|
+
import {
|
|
232
|
+
getScrollTop
|
|
233
|
+
} from "./chunk-EFDRCKKS.js";
|
|
255
234
|
import {
|
|
256
235
|
formatAmount
|
|
257
236
|
} from "./chunk-KDND6GRD.js";
|
|
258
|
-
import {
|
|
259
|
-
formatDate
|
|
260
|
-
} from "./chunk-UMJU7UF2.js";
|
|
261
|
-
import {
|
|
262
|
-
normalizeDate
|
|
263
|
-
} from "./chunk-A3YS6665.js";
|
|
264
|
-
import {
|
|
265
|
-
isString
|
|
266
|
-
} from "./chunk-F4QMON2N.js";
|
|
267
237
|
import {
|
|
268
238
|
formatDateStr
|
|
269
239
|
} from "./chunk-3MBFDHEW.js";
|
|
270
240
|
import {
|
|
271
241
|
formatFileSize
|
|
272
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-65FBSULU.js";
|
|
273
243
|
import {
|
|
274
244
|
formatMessage
|
|
275
245
|
} from "./chunk-YBAHLKXR.js";
|
|
@@ -283,29 +253,29 @@ import {
|
|
|
283
253
|
getBlobByUrl
|
|
284
254
|
} from "./chunk-4QMOXXPL.js";
|
|
285
255
|
import {
|
|
286
|
-
|
|
287
|
-
} from "./chunk-
|
|
256
|
+
getDateBoundsByMonths
|
|
257
|
+
} from "./chunk-HNKJXGCC.js";
|
|
288
258
|
import {
|
|
289
|
-
|
|
290
|
-
} from "./chunk-
|
|
259
|
+
filterCRLF
|
|
260
|
+
} from "./chunk-S2FOFDX4.js";
|
|
291
261
|
import {
|
|
292
262
|
filterEmoji
|
|
293
263
|
} from "./chunk-CNCI66H4.js";
|
|
294
264
|
import {
|
|
295
265
|
filterEmptyValue
|
|
296
|
-
} from "./chunk-
|
|
297
|
-
import {
|
|
298
|
-
isEmpty
|
|
299
|
-
} from "./chunk-YGV2UKBN.js";
|
|
300
|
-
import {
|
|
301
|
-
isEmptyArray
|
|
302
|
-
} from "./chunk-ELR2DZ56.js";
|
|
266
|
+
} from "./chunk-NXEL6RMI.js";
|
|
303
267
|
import {
|
|
304
268
|
isEmptyObject
|
|
305
269
|
} from "./chunk-GVYBTJDA.js";
|
|
306
270
|
import {
|
|
307
271
|
isFunction
|
|
308
272
|
} from "./chunk-WCZPEH7E.js";
|
|
273
|
+
import {
|
|
274
|
+
isEmpty
|
|
275
|
+
} from "./chunk-YGV2UKBN.js";
|
|
276
|
+
import {
|
|
277
|
+
isEmptyArray
|
|
278
|
+
} from "./chunk-ELR2DZ56.js";
|
|
309
279
|
import {
|
|
310
280
|
isUndefined
|
|
311
281
|
} from "./chunk-3KRJNCKB.js";
|
|
@@ -325,15 +295,20 @@ import {
|
|
|
325
295
|
filterString
|
|
326
296
|
} from "./chunk-KJX7IWF5.js";
|
|
327
297
|
import {
|
|
328
|
-
|
|
329
|
-
} from "./chunk-
|
|
298
|
+
formatDateToZN
|
|
299
|
+
} from "./chunk-DW5GIB4A.js";
|
|
300
|
+
import {
|
|
301
|
+
formatDate
|
|
302
|
+
} from "./chunk-UMJU7UF2.js";
|
|
303
|
+
import {
|
|
304
|
+
normalizeDate
|
|
305
|
+
} from "./chunk-A3YS6665.js";
|
|
306
|
+
import {
|
|
307
|
+
isString
|
|
308
|
+
} from "./chunk-F4QMON2N.js";
|
|
330
309
|
import {
|
|
331
310
|
createWithLoading
|
|
332
311
|
} from "./chunk-OC64NXZ2.js";
|
|
333
|
-
import {
|
|
334
|
-
crlfToBr,
|
|
335
|
-
filterCRLF
|
|
336
|
-
} from "./chunk-UDRRKKBB.js";
|
|
337
312
|
import {
|
|
338
313
|
debounce
|
|
339
314
|
} from "./chunk-FBJWICWM.js";
|
|
@@ -350,6 +325,12 @@ import {
|
|
|
350
325
|
import {
|
|
351
326
|
eventBus
|
|
352
327
|
} from "./chunk-HYCW7PL5.js";
|
|
328
|
+
import {
|
|
329
|
+
exitFullscreen
|
|
330
|
+
} from "./chunk-GV4IJGB2.js";
|
|
331
|
+
import {
|
|
332
|
+
filterBankCardNo
|
|
333
|
+
} from "./chunk-JKCLDPOC.js";
|
|
353
334
|
import {
|
|
354
335
|
clamp
|
|
355
336
|
} from "./chunk-W52BRMSD.js";
|
|
@@ -371,15 +352,15 @@ import {
|
|
|
371
352
|
import {
|
|
372
353
|
compressImage
|
|
373
354
|
} from "./chunk-ZUMPS2U2.js";
|
|
374
|
-
import {
|
|
375
|
-
crToBr
|
|
376
|
-
} from "./chunk-BZ6JSRMY.js";
|
|
377
355
|
import {
|
|
378
356
|
createFactory
|
|
379
357
|
} from "./chunk-T22U5E3X.js";
|
|
380
358
|
import {
|
|
381
359
|
colorGenByHash
|
|
382
360
|
} from "./chunk-ADGGLX7E.js";
|
|
361
|
+
import {
|
|
362
|
+
createLinearFunction
|
|
363
|
+
} from "./chunk-53VI5KBY.js";
|
|
383
364
|
import {
|
|
384
365
|
ato
|
|
385
366
|
} from "./chunk-KEADPNJL.js";
|
|
@@ -388,7 +369,7 @@ import {
|
|
|
388
369
|
} from "./chunk-DOXFJNJO.js";
|
|
389
370
|
import {
|
|
390
371
|
blobToBase64
|
|
391
|
-
} from "./chunk-
|
|
372
|
+
} from "./chunk-HRKQWKOJ.js";
|
|
392
373
|
import {
|
|
393
374
|
cached
|
|
394
375
|
} from "./chunk-WEWAC6GL.js";
|
|
@@ -405,7 +386,6 @@ import {
|
|
|
405
386
|
chooseMedia
|
|
406
387
|
} from "./chunk-PFTWITSM.js";
|
|
407
388
|
export {
|
|
408
|
-
Poller,
|
|
409
389
|
Storage,
|
|
410
390
|
ato,
|
|
411
391
|
atob,
|
|
@@ -423,12 +403,10 @@ export {
|
|
|
423
403
|
colorGenByHash,
|
|
424
404
|
compareVersion,
|
|
425
405
|
compressImage,
|
|
426
|
-
crToBr,
|
|
427
406
|
createFactory,
|
|
428
407
|
createLinearFunction,
|
|
429
408
|
createTrapInstance,
|
|
430
409
|
createWithLoading,
|
|
431
|
-
crlfToBr,
|
|
432
410
|
debounce,
|
|
433
411
|
downloadFile,
|
|
434
412
|
each,
|
|
@@ -454,7 +432,6 @@ export {
|
|
|
454
432
|
getCache,
|
|
455
433
|
getDateBoundsByMonths,
|
|
456
434
|
getDayMillisecond,
|
|
457
|
-
getDaysOfMonth,
|
|
458
435
|
getImageInfo,
|
|
459
436
|
getLocal,
|
|
460
437
|
getMonthBounds,
|
|
@@ -464,7 +441,6 @@ export {
|
|
|
464
441
|
getRangeDate,
|
|
465
442
|
getScrollTop,
|
|
466
443
|
getVideoInfo,
|
|
467
|
-
getWeekBounds,
|
|
468
444
|
getWeekday,
|
|
469
445
|
inBrowser,
|
|
470
446
|
insertLink,
|
|
@@ -487,7 +463,6 @@ export {
|
|
|
487
463
|
isIdCard,
|
|
488
464
|
isJSONString,
|
|
489
465
|
isLan,
|
|
490
|
-
isLeapYear,
|
|
491
466
|
isLicenseCode,
|
|
492
467
|
isMobile,
|
|
493
468
|
isNativeFunction,
|
|
@@ -507,7 +482,6 @@ export {
|
|
|
507
482
|
isWeixin,
|
|
508
483
|
isWindow,
|
|
509
484
|
kebabCase,
|
|
510
|
-
lfToBr,
|
|
511
485
|
listGenerator,
|
|
512
486
|
makePhoneCall,
|
|
513
487
|
mousewheel,
|
package/es/{isUrl.js → isURL.js}
RENAMED
package/es/stringifyQuery.js
CHANGED
package/lib/blobToBase64.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCDHFRZQMcjs = require('./chunk-CDHFRZQM.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.blobToBase64 =
|
|
6
|
+
exports.blobToBase64 = _chunkCDHFRZQMcjs.blobToBase64;
|
package/lib/blobToBase64.d.cts
CHANGED