@daysnap/utils 0.1.14 → 0.1.16
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/Poller.md +9 -9
- package/docs/classes/Storage.md +13 -13
- package/docs/interfaces/EventBusCallback.md +1 -1
- package/docs/interfaces/PollerOptions.md +1 -1
- package/docs/interfaces/StorageManager.md +4 -4
- package/docs/interfaces/Trap.md +5 -5
- package/docs/modules.md +309 -142
- package/es/chunk-AAKGIVZB.js +21 -0
- package/es/chunk-BZ6JSRMY.js +8 -0
- package/es/chunk-MOZPLBC3.js +8 -0
- package/es/chunk-OOWZEABP.js +8 -0
- package/es/chunk-PXMH56CM.js +8 -0
- package/es/chunk-UDRRKKBB.js +12 -0
- package/es/crToBr.d.ts +6 -0
- package/es/crToBr.js +6 -0
- package/es/crlfToBr.d.ts +11 -0
- package/es/crlfToBr.js +8 -0
- package/es/filterEmptyValue.js +3 -3
- package/es/getDateBoundsByMonths.d.ts +1 -1
- package/es/getDaysOfMonth.d.ts +6 -0
- package/es/getDaysOfMonth.js +6 -0
- package/es/getMonthBounds.d.ts +1 -1
- package/es/getWeekBounds.d.ts +7 -0
- package/es/getWeekBounds.js +9 -0
- package/es/index.d.ts +6 -1
- package/es/index.js +123 -101
- package/es/isLeapYear.d.ts +7 -0
- package/es/isLeapYear.js +6 -0
- package/es/lfToBr.d.ts +6 -0
- package/es/lfToBr.js +6 -0
- package/es/storage/index.js +3 -3
- package/es/stringifyQuery.js +2 -2
- package/lib/chunk-4WWOJSX3.cjs +21 -0
- package/lib/chunk-EUH2FDMT.cjs +8 -0
- package/lib/chunk-TMCJ3HTA.cjs +12 -0
- package/lib/chunk-UTUKZLEN.cjs +8 -0
- package/lib/chunk-XSCXPGEI.cjs +8 -0
- package/lib/chunk-ZSDKKWIQ.cjs +8 -0
- package/lib/crToBr.cjs +6 -0
- package/lib/crToBr.d.cts +6 -0
- package/lib/crlfToBr.cjs +8 -0
- package/lib/crlfToBr.d.cts +11 -0
- package/lib/filterEmptyValue.cjs +4 -4
- package/lib/getDateBoundsByMonths.d.cts +1 -1
- package/lib/getDaysOfMonth.cjs +6 -0
- package/lib/getDaysOfMonth.d.cts +6 -0
- package/lib/getMonthBounds.d.cts +1 -1
- package/lib/getWeekBounds.cjs +9 -0
- package/lib/getWeekBounds.d.cts +7 -0
- package/lib/index.cjs +95 -73
- package/lib/index.d.cts +6 -1
- package/lib/isLeapYear.cjs +6 -0
- package/lib/isLeapYear.d.cts +7 -0
- package/lib/lfToBr.cjs +6 -0
- package/lib/lfToBr.d.cts +6 -0
- package/lib/storage/index.cjs +2 -2
- package/lib/stringifyQuery.cjs +3 -3
- package/package.json +1 -1
- package/es/chunk-S2FOFDX4.js +0 -8
- package/es/filterCRLF.d.ts +0 -6
- package/es/filterCRLF.js +0 -6
- package/lib/chunk-CXDOHSIF.cjs +0 -8
- package/lib/filterCRLF.cjs +0 -6
- package/lib/filterCRLF.d.cts +0 -6
- package/es/{chunk-NXEL6RMI.js → chunk-SMNIKKYG.js} +6 -6
- package/es/{chunk-VDXSQKQF.js → chunk-WXXFRKUS.js} +3 -3
- package/lib/{chunk-PYFTXKFI.cjs → chunk-4P4EJVBW.cjs} +4 -4
- package/lib/{chunk-73AXP7FD.cjs → chunk-4USHGA4P.cjs} +2 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
formatDate
|
|
3
|
+
} from "./chunk-UMJU7UF2.js";
|
|
4
|
+
import {
|
|
5
|
+
normalizeDate
|
|
6
|
+
} from "./chunk-A3YS6665.js";
|
|
7
|
+
|
|
8
|
+
// src/getWeekBounds.ts
|
|
9
|
+
function getWeekBounds(value, sundayIsFirstDay = true, fmt) {
|
|
10
|
+
const start = normalizeDate(value);
|
|
11
|
+
const end = new Date(start);
|
|
12
|
+
const day = start.getDay();
|
|
13
|
+
const diffDay = sundayIsFirstDay ? day * -1 : day === 0 ? -6 : 1 - day;
|
|
14
|
+
start.setDate(start.getDate() + diffDay);
|
|
15
|
+
end.setDate(start.getDate() + 6);
|
|
16
|
+
return fmt ? [formatDate(start, fmt), formatDate(end, fmt)] : [start, end];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
getWeekBounds
|
|
21
|
+
};
|
package/es/crToBr.d.ts
ADDED
package/es/crToBr.js
ADDED
package/es/crlfToBr.d.ts
ADDED
package/es/crlfToBr.js
ADDED
package/es/filterEmptyValue.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
filterEmptyValue
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-GVYBTJDA.js";
|
|
5
|
-
import "./chunk-WCZPEH7E.js";
|
|
3
|
+
} from "./chunk-SMNIKKYG.js";
|
|
6
4
|
import "./chunk-YGV2UKBN.js";
|
|
7
5
|
import "./chunk-ELR2DZ56.js";
|
|
6
|
+
import "./chunk-GVYBTJDA.js";
|
|
7
|
+
import "./chunk-WCZPEH7E.js";
|
|
8
8
|
import "./chunk-3KRJNCKB.js";
|
|
9
9
|
import "./chunk-KOOGLWJ5.js";
|
|
10
10
|
import "./chunk-CSZ7G34M.js";
|
package/es/getMonthBounds.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 获取一周的开始时间和结束时间
|
|
3
|
+
*/
|
|
4
|
+
declare function getWeekBounds(value: string | number | Date, sundayIsFirstDay: boolean): [Date, Date];
|
|
5
|
+
declare function getWeekBounds(value: string | number | Date, sundayIsFirstDay: boolean, fmt: string): [string, string];
|
|
6
|
+
|
|
7
|
+
export { getWeekBounds };
|
package/es/index.d.ts
CHANGED
|
@@ -11,10 +11,12 @@ 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';
|
|
14
15
|
export { createFactory } from './createFactory.js';
|
|
15
16
|
export { colorGenByHash } from './createHexColorByHash.js';
|
|
16
17
|
export { createLinearFunction } from './createLinearFunction.js';
|
|
17
18
|
export { createWithLoading } from './createWithLoading.js';
|
|
19
|
+
export { crlfToBr, filterCRLF } from './crlfToBr.js';
|
|
18
20
|
export { debounce } from './debounce.js';
|
|
19
21
|
export { atob, btoa } from './decode.js';
|
|
20
22
|
export { downloadFile } from './downloadFile.js';
|
|
@@ -22,7 +24,6 @@ export { each } from './each.js';
|
|
|
22
24
|
export { EventBusCallback, eventBus } from './eventBus.js';
|
|
23
25
|
export { exitFullscreen } from './exitFullscreen.js';
|
|
24
26
|
export { filterBankCardNo } from './filterBankCardNo.js';
|
|
25
|
-
export { filterCRLF } from './filterCRLF.js';
|
|
26
27
|
export { filterEmoji } from './filterEmoji.js';
|
|
27
28
|
export { filterEmptyValue } from './filterEmptyValue.js';
|
|
28
29
|
export { filterIdCard } from './filterIdCard.js';
|
|
@@ -39,6 +40,7 @@ export { formatPathParams } from './formatPathParams.js';
|
|
|
39
40
|
export { getBlobByUrl } from './getBlobByUrl.js';
|
|
40
41
|
export { getDateBoundsByMonths } from './getDateBoundsByMonths.js';
|
|
41
42
|
export { getDayMillisecond } from './getDayMillisecond.js';
|
|
43
|
+
export { getDaysOfMonth } from './getDaysOfMonth.js';
|
|
42
44
|
export { getImageInfo } from './getImageInfo.js';
|
|
43
45
|
export { getMonthBounds } from './getMonthBounds.js';
|
|
44
46
|
export { getRandom } from './getRandom.js';
|
|
@@ -47,6 +49,7 @@ export { getRandomNumber } from './getRandomNumber.js';
|
|
|
47
49
|
export { getRangeDate } from './getRangeDate.js';
|
|
48
50
|
export { getScrollTop } from './getScrollTop.js';
|
|
49
51
|
export { getVideoInfo } from './getVideoInfo.js';
|
|
52
|
+
export { getWeekBounds } from './getWeekBounds.js';
|
|
50
53
|
export { getWeekday } from './getWeekday.js';
|
|
51
54
|
export { inBrowser } from './inBrowser.js';
|
|
52
55
|
export { insertLink } from './insertLink.js';
|
|
@@ -69,6 +72,7 @@ export { isIOS } from './isIOS.js';
|
|
|
69
72
|
export { isIdCard } from './isIdCard.js';
|
|
70
73
|
export { isJSONString } from './isJSONString.js';
|
|
71
74
|
export { isLan } from './isLan.js';
|
|
75
|
+
export { isLeapYear } from './isLeapYear.js';
|
|
72
76
|
export { isLicenseCode } from './isLicenseCode.js';
|
|
73
77
|
export { isMobile } from './isMobile.js';
|
|
74
78
|
export { isNativeFunction } from './isNativeFunction.js';
|
|
@@ -87,6 +91,7 @@ export { isWeChat, isWeixin } from './isWeChat.js';
|
|
|
87
91
|
export { isWeChatMiniProgram } from './isWeChatMiniProgram.js';
|
|
88
92
|
export { isWindow } from './isWindow.js';
|
|
89
93
|
export { kebabCase } from './kebabCase.js';
|
|
94
|
+
export { lfToBr } from './lfToBr.js';
|
|
90
95
|
export { listGenerator } from './listGenerator.js';
|
|
91
96
|
export { makePhoneCall } from './makePhoneCall.js';
|
|
92
97
|
export { mousewheel } from './mousewheel.js';
|
package/es/index.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
toCDB
|
|
3
|
-
} from "./chunk-J2Y5ZZA3.js";
|
|
4
|
-
import {
|
|
5
|
-
toDBC
|
|
6
|
-
} from "./chunk-ONTP5SDE.js";
|
|
7
|
-
import {
|
|
8
|
-
createTrapInstance,
|
|
9
|
-
trap
|
|
10
|
-
} from "./chunk-LOPD7SSH.js";
|
|
11
1
|
import {
|
|
12
2
|
typeOf
|
|
13
3
|
} from "./chunk-MTF3ACKC.js";
|
|
@@ -21,18 +11,12 @@ import {
|
|
|
21
11
|
getCache,
|
|
22
12
|
getLocal
|
|
23
13
|
} from "./chunk-LG2TIXRB.js";
|
|
24
|
-
import {
|
|
25
|
-
Storage
|
|
26
|
-
} from "./chunk-56QUZDMU.js";
|
|
27
14
|
import {
|
|
28
15
|
factory
|
|
29
16
|
} from "./chunk-M6B3UGFI.js";
|
|
30
17
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import {
|
|
34
|
-
setScrollTop
|
|
35
|
-
} from "./chunk-BULTIEJG.js";
|
|
18
|
+
Storage
|
|
19
|
+
} from "./chunk-56QUZDMU.js";
|
|
36
20
|
import {
|
|
37
21
|
splitArray
|
|
38
22
|
} from "./chunk-BNF4U7EJ.js";
|
|
@@ -41,7 +25,7 @@ import {
|
|
|
41
25
|
} from "./chunk-IF7JMIDO.js";
|
|
42
26
|
import {
|
|
43
27
|
stringifyQuery
|
|
44
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WXXFRKUS.js";
|
|
45
29
|
import {
|
|
46
30
|
stringifyQueryString
|
|
47
31
|
} from "./chunk-TSFGLHCP.js";
|
|
@@ -51,17 +35,15 @@ import {
|
|
|
51
35
|
throttleTrailing
|
|
52
36
|
} from "./chunk-ASYHV5B7.js";
|
|
53
37
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
pick
|
|
58
|
-
} from "./chunk-IPAT3N4P.js";
|
|
38
|
+
toCDB
|
|
39
|
+
} from "./chunk-J2Y5ZZA3.js";
|
|
59
40
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
41
|
+
toDBC
|
|
42
|
+
} from "./chunk-ONTP5SDE.js";
|
|
62
43
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
44
|
+
createTrapInstance,
|
|
45
|
+
trap
|
|
46
|
+
} from "./chunk-LOPD7SSH.js";
|
|
65
47
|
import {
|
|
66
48
|
replaceCrlf
|
|
67
49
|
} from "./chunk-GNGSV7F7.js";
|
|
@@ -78,14 +60,11 @@ import {
|
|
|
78
60
|
round
|
|
79
61
|
} from "./chunk-4BFL6RXS.js";
|
|
80
62
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import {
|
|
84
|
-
padding
|
|
85
|
-
} from "./chunk-CCZL3GEW.js";
|
|
63
|
+
scrollToTop
|
|
64
|
+
} from "./chunk-P7QW362C.js";
|
|
86
65
|
import {
|
|
87
|
-
|
|
88
|
-
} from "./chunk-
|
|
66
|
+
setScrollTop
|
|
67
|
+
} from "./chunk-BULTIEJG.js";
|
|
89
68
|
import {
|
|
90
69
|
parseError
|
|
91
70
|
} from "./chunk-EJMUWNXI.js";
|
|
@@ -99,11 +78,17 @@ import {
|
|
|
99
78
|
parseQueryString
|
|
100
79
|
} from "./chunk-SZ7IZE42.js";
|
|
101
80
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
81
|
+
pascalCase
|
|
82
|
+
} from "./chunk-S7PUCGCQ.js";
|
|
104
83
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
84
|
+
pick
|
|
85
|
+
} from "./chunk-IPAT3N4P.js";
|
|
86
|
+
import {
|
|
87
|
+
Poller
|
|
88
|
+
} from "./chunk-GLJALZRT.js";
|
|
89
|
+
import {
|
|
90
|
+
sleep
|
|
91
|
+
} from "./chunk-TNIIDDN4.js";
|
|
107
92
|
import {
|
|
108
93
|
makePhoneCall
|
|
109
94
|
} from "./chunk-GYOXULKV.js";
|
|
@@ -117,11 +102,14 @@ import {
|
|
|
117
102
|
normalizePath
|
|
118
103
|
} from "./chunk-CMP4T3ZH.js";
|
|
119
104
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
105
|
+
omit
|
|
106
|
+
} from "./chunk-6GTFQZL4.js";
|
|
122
107
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
108
|
+
padding
|
|
109
|
+
} from "./chunk-CCZL3GEW.js";
|
|
110
|
+
import {
|
|
111
|
+
parseDate
|
|
112
|
+
} from "./chunk-DWT2WM6H.js";
|
|
125
113
|
import {
|
|
126
114
|
isUrl
|
|
127
115
|
} from "./chunk-D5O4LXN3.js";
|
|
@@ -136,14 +124,14 @@ import {
|
|
|
136
124
|
isWeChatMiniProgram
|
|
137
125
|
} from "./chunk-SQ3L6IQW.js";
|
|
138
126
|
import {
|
|
139
|
-
|
|
140
|
-
} from "./chunk-
|
|
127
|
+
isWindow
|
|
128
|
+
} from "./chunk-QYCMY2T4.js";
|
|
141
129
|
import {
|
|
142
|
-
|
|
143
|
-
} from "./chunk-
|
|
130
|
+
kebabCase
|
|
131
|
+
} from "./chunk-IPIA4Z65.js";
|
|
144
132
|
import {
|
|
145
|
-
|
|
146
|
-
} from "./chunk-
|
|
133
|
+
lfToBr
|
|
134
|
+
} from "./chunk-PXMH56CM.js";
|
|
147
135
|
import {
|
|
148
136
|
isNumber
|
|
149
137
|
} from "./chunk-NCFA5IXM.js";
|
|
@@ -153,6 +141,36 @@ import {
|
|
|
153
141
|
import {
|
|
154
142
|
isPromise
|
|
155
143
|
} 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";
|
|
156
174
|
import {
|
|
157
175
|
isError
|
|
158
176
|
} from "./chunk-6UGTRW2S.js";
|
|
@@ -163,14 +181,14 @@ import {
|
|
|
163
181
|
isIOS
|
|
164
182
|
} from "./chunk-5BVFSCCX.js";
|
|
165
183
|
import {
|
|
166
|
-
|
|
167
|
-
} from "./chunk-
|
|
184
|
+
insertScript
|
|
185
|
+
} from "./chunk-SCEONZUJ.js";
|
|
168
186
|
import {
|
|
169
|
-
|
|
170
|
-
} from "./chunk-
|
|
187
|
+
insertStyle
|
|
188
|
+
} from "./chunk-FY3PSILS.js";
|
|
171
189
|
import {
|
|
172
|
-
|
|
173
|
-
} from "./chunk-
|
|
190
|
+
isAmount
|
|
191
|
+
} from "./chunk-YKTD7CLE.js";
|
|
174
192
|
import {
|
|
175
193
|
isAndroid
|
|
176
194
|
} from "./chunk-SWLGSN5X.js";
|
|
@@ -184,11 +202,17 @@ import {
|
|
|
184
202
|
isDate
|
|
185
203
|
} from "./chunk-A4YRDVZ4.js";
|
|
186
204
|
import {
|
|
187
|
-
|
|
188
|
-
} from "./chunk-
|
|
205
|
+
getRangeDate
|
|
206
|
+
} from "./chunk-JZKIIY3L.js";
|
|
207
|
+
import {
|
|
208
|
+
getScrollTop
|
|
209
|
+
} from "./chunk-EFDRCKKS.js";
|
|
189
210
|
import {
|
|
190
211
|
getVideoInfo
|
|
191
212
|
} from "./chunk-3ZZPPKM3.js";
|
|
213
|
+
import {
|
|
214
|
+
getWeekBounds
|
|
215
|
+
} from "./chunk-AAKGIVZB.js";
|
|
192
216
|
import {
|
|
193
217
|
getWeekday
|
|
194
218
|
} from "./chunk-PSACVUUL.js";
|
|
@@ -199,17 +223,14 @@ import {
|
|
|
199
223
|
insertLink
|
|
200
224
|
} from "./chunk-FIHEVMN6.js";
|
|
201
225
|
import {
|
|
202
|
-
|
|
203
|
-
} from "./chunk-
|
|
204
|
-
import {
|
|
205
|
-
insertStyle
|
|
206
|
-
} from "./chunk-FY3PSILS.js";
|
|
207
|
-
import {
|
|
208
|
-
isAmount
|
|
209
|
-
} from "./chunk-YKTD7CLE.js";
|
|
226
|
+
getDateBoundsByMonths
|
|
227
|
+
} from "./chunk-HNKJXGCC.js";
|
|
210
228
|
import {
|
|
211
229
|
getDayMillisecond
|
|
212
230
|
} from "./chunk-ZGN3KUXE.js";
|
|
231
|
+
import {
|
|
232
|
+
getDaysOfMonth
|
|
233
|
+
} from "./chunk-OOWZEABP.js";
|
|
213
234
|
import {
|
|
214
235
|
getImageInfo
|
|
215
236
|
} from "./chunk-ANF3VZYM.js";
|
|
@@ -229,14 +250,20 @@ import {
|
|
|
229
250
|
listGenerator
|
|
230
251
|
} from "./chunk-2SUOLGG5.js";
|
|
231
252
|
import {
|
|
232
|
-
|
|
233
|
-
} from "./chunk-
|
|
234
|
-
import {
|
|
235
|
-
getScrollTop
|
|
236
|
-
} from "./chunk-EFDRCKKS.js";
|
|
253
|
+
formatDateToZN
|
|
254
|
+
} from "./chunk-WXD7J2FR.js";
|
|
237
255
|
import {
|
|
238
256
|
formatAmount
|
|
239
257
|
} 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";
|
|
240
267
|
import {
|
|
241
268
|
formatDateStr
|
|
242
269
|
} from "./chunk-3MBFDHEW.js";
|
|
@@ -256,29 +283,29 @@ import {
|
|
|
256
283
|
getBlobByUrl
|
|
257
284
|
} from "./chunk-4QMOXXPL.js";
|
|
258
285
|
import {
|
|
259
|
-
|
|
260
|
-
} from "./chunk-
|
|
286
|
+
exitFullscreen
|
|
287
|
+
} from "./chunk-GV4IJGB2.js";
|
|
261
288
|
import {
|
|
262
|
-
|
|
263
|
-
} from "./chunk-
|
|
289
|
+
filterBankCardNo
|
|
290
|
+
} from "./chunk-JKCLDPOC.js";
|
|
264
291
|
import {
|
|
265
292
|
filterEmoji
|
|
266
293
|
} from "./chunk-CNCI66H4.js";
|
|
267
294
|
import {
|
|
268
295
|
filterEmptyValue
|
|
269
|
-
} from "./chunk-
|
|
270
|
-
import {
|
|
271
|
-
isEmptyObject
|
|
272
|
-
} from "./chunk-GVYBTJDA.js";
|
|
273
|
-
import {
|
|
274
|
-
isFunction
|
|
275
|
-
} from "./chunk-WCZPEH7E.js";
|
|
296
|
+
} from "./chunk-SMNIKKYG.js";
|
|
276
297
|
import {
|
|
277
298
|
isEmpty
|
|
278
299
|
} from "./chunk-YGV2UKBN.js";
|
|
279
300
|
import {
|
|
280
301
|
isEmptyArray
|
|
281
302
|
} from "./chunk-ELR2DZ56.js";
|
|
303
|
+
import {
|
|
304
|
+
isEmptyObject
|
|
305
|
+
} from "./chunk-GVYBTJDA.js";
|
|
306
|
+
import {
|
|
307
|
+
isFunction
|
|
308
|
+
} from "./chunk-WCZPEH7E.js";
|
|
282
309
|
import {
|
|
283
310
|
isUndefined
|
|
284
311
|
} from "./chunk-3KRJNCKB.js";
|
|
@@ -298,20 +325,15 @@ import {
|
|
|
298
325
|
filterString
|
|
299
326
|
} from "./chunk-KJX7IWF5.js";
|
|
300
327
|
import {
|
|
301
|
-
|
|
302
|
-
} from "./chunk-
|
|
303
|
-
import {
|
|
304
|
-
formatDate
|
|
305
|
-
} from "./chunk-UMJU7UF2.js";
|
|
306
|
-
import {
|
|
307
|
-
normalizeDate
|
|
308
|
-
} from "./chunk-A3YS6665.js";
|
|
309
|
-
import {
|
|
310
|
-
isString
|
|
311
|
-
} from "./chunk-F4QMON2N.js";
|
|
328
|
+
createLinearFunction
|
|
329
|
+
} from "./chunk-53VI5KBY.js";
|
|
312
330
|
import {
|
|
313
331
|
createWithLoading
|
|
314
332
|
} from "./chunk-OC64NXZ2.js";
|
|
333
|
+
import {
|
|
334
|
+
crlfToBr,
|
|
335
|
+
filterCRLF
|
|
336
|
+
} from "./chunk-UDRRKKBB.js";
|
|
315
337
|
import {
|
|
316
338
|
debounce
|
|
317
339
|
} from "./chunk-FBJWICWM.js";
|
|
@@ -328,12 +350,6 @@ import {
|
|
|
328
350
|
import {
|
|
329
351
|
eventBus
|
|
330
352
|
} from "./chunk-HYCW7PL5.js";
|
|
331
|
-
import {
|
|
332
|
-
exitFullscreen
|
|
333
|
-
} from "./chunk-GV4IJGB2.js";
|
|
334
|
-
import {
|
|
335
|
-
filterBankCardNo
|
|
336
|
-
} from "./chunk-JKCLDPOC.js";
|
|
337
353
|
import {
|
|
338
354
|
clamp
|
|
339
355
|
} from "./chunk-W52BRMSD.js";
|
|
@@ -355,15 +371,15 @@ import {
|
|
|
355
371
|
import {
|
|
356
372
|
compressImage
|
|
357
373
|
} from "./chunk-ZUMPS2U2.js";
|
|
374
|
+
import {
|
|
375
|
+
crToBr
|
|
376
|
+
} from "./chunk-BZ6JSRMY.js";
|
|
358
377
|
import {
|
|
359
378
|
createFactory
|
|
360
379
|
} from "./chunk-T22U5E3X.js";
|
|
361
380
|
import {
|
|
362
381
|
colorGenByHash
|
|
363
382
|
} from "./chunk-ADGGLX7E.js";
|
|
364
|
-
import {
|
|
365
|
-
createLinearFunction
|
|
366
|
-
} from "./chunk-53VI5KBY.js";
|
|
367
383
|
import {
|
|
368
384
|
ato
|
|
369
385
|
} from "./chunk-KEADPNJL.js";
|
|
@@ -407,10 +423,12 @@ export {
|
|
|
407
423
|
colorGenByHash,
|
|
408
424
|
compareVersion,
|
|
409
425
|
compressImage,
|
|
426
|
+
crToBr,
|
|
410
427
|
createFactory,
|
|
411
428
|
createLinearFunction,
|
|
412
429
|
createTrapInstance,
|
|
413
430
|
createWithLoading,
|
|
431
|
+
crlfToBr,
|
|
414
432
|
debounce,
|
|
415
433
|
downloadFile,
|
|
416
434
|
each,
|
|
@@ -436,6 +454,7 @@ export {
|
|
|
436
454
|
getCache,
|
|
437
455
|
getDateBoundsByMonths,
|
|
438
456
|
getDayMillisecond,
|
|
457
|
+
getDaysOfMonth,
|
|
439
458
|
getImageInfo,
|
|
440
459
|
getLocal,
|
|
441
460
|
getMonthBounds,
|
|
@@ -445,6 +464,7 @@ export {
|
|
|
445
464
|
getRangeDate,
|
|
446
465
|
getScrollTop,
|
|
447
466
|
getVideoInfo,
|
|
467
|
+
getWeekBounds,
|
|
448
468
|
getWeekday,
|
|
449
469
|
inBrowser,
|
|
450
470
|
insertLink,
|
|
@@ -467,6 +487,7 @@ export {
|
|
|
467
487
|
isIdCard,
|
|
468
488
|
isJSONString,
|
|
469
489
|
isLan,
|
|
490
|
+
isLeapYear,
|
|
470
491
|
isLicenseCode,
|
|
471
492
|
isMobile,
|
|
472
493
|
isNativeFunction,
|
|
@@ -486,6 +507,7 @@ export {
|
|
|
486
507
|
isWeixin,
|
|
487
508
|
isWindow,
|
|
488
509
|
kebabCase,
|
|
510
|
+
lfToBr,
|
|
489
511
|
listGenerator,
|
|
490
512
|
makePhoneCall,
|
|
491
513
|
mousewheel,
|
package/es/isLeapYear.js
ADDED
package/es/lfToBr.d.ts
ADDED