@daysnap/utils 0.1.27 → 0.1.29
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 +204 -155
- package/es/chunk-6CNTNYSN.js +8 -0
- package/es/chunk-ODZQXCS4.js +319 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +14 -6
- package/es/sounds.d.ts +14 -0
- package/es/sounds.js +6 -0
- package/es/toPosix.d.ts +6 -0
- package/es/toPosix.js +6 -0
- package/lib/chunk-EUL63MJO.cjs +8 -0
- package/lib/chunk-GCRDIQOE.cjs +319 -0
- package/lib/index.cjs +14 -6
- package/lib/index.d.cts +2 -0
- package/lib/sounds.cjs +6 -0
- package/lib/sounds.d.cts +14 -0
- package/lib/toPosix.cjs +6 -0
- package/lib/toPosix.d.cts +6 -0
- package/package.json +1 -1
package/docs/modules.md
CHANGED
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
### Variables
|
|
24
24
|
|
|
25
25
|
- [eventBus](modules.md#eventbus)
|
|
26
|
+
- [sounds](modules.md#sounds)
|
|
26
27
|
- [trap](modules.md#trap)
|
|
27
28
|
|
|
28
29
|
### Functions
|
|
@@ -168,6 +169,7 @@
|
|
|
168
169
|
- [toCDB](modules.md#tocdb)
|
|
169
170
|
- [toDBC](modules.md#todbc)
|
|
170
171
|
- [toFormData](modules.md#toformdata)
|
|
172
|
+
- [toPosix](modules.md#toposix)
|
|
171
173
|
- [typeOf](modules.md#typeof)
|
|
172
174
|
- [withCache](modules.md#withcache)
|
|
173
175
|
- [withPreventConsecutiveClicks](modules.md#withpreventconsecutiveclicks)
|
|
@@ -194,7 +196,7 @@
|
|
|
194
196
|
|
|
195
197
|
#### Defined in
|
|
196
198
|
|
|
197
|
-
[poller.ts:7](https://github.com/daysnap/utils/blob/
|
|
199
|
+
[poller.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/poller.ts#L7)
|
|
198
200
|
|
|
199
201
|
## Variables
|
|
200
202
|
|
|
@@ -213,7 +215,32 @@
|
|
|
213
215
|
|
|
214
216
|
#### Defined in
|
|
215
217
|
|
|
216
|
-
[eventBus.ts:38](https://github.com/daysnap/utils/blob/
|
|
218
|
+
[eventBus.ts:38](https://github.com/daysnap/utils/blob/e7ac628/src/eventBus.ts#L38)
|
|
219
|
+
|
|
220
|
+
___
|
|
221
|
+
|
|
222
|
+
### sounds
|
|
223
|
+
|
|
224
|
+
• `Const` **sounds**: `Object`
|
|
225
|
+
|
|
226
|
+
#### Type declaration
|
|
227
|
+
|
|
228
|
+
| Name | Type |
|
|
229
|
+
| :------ | :------ |
|
|
230
|
+
| `click` | () => `void` |
|
|
231
|
+
| `confirm` | () => `void` |
|
|
232
|
+
| `error` | () => `void` |
|
|
233
|
+
| `hover` | () => `void` |
|
|
234
|
+
| `pop` | () => `void` |
|
|
235
|
+
| `success` | () => `void` |
|
|
236
|
+
| `tick` | () => `void` |
|
|
237
|
+
| `toggle` | () => `void` |
|
|
238
|
+
| `warning` | () => `void` |
|
|
239
|
+
| `whoosh` | () => `void` |
|
|
240
|
+
|
|
241
|
+
#### Defined in
|
|
242
|
+
|
|
243
|
+
[sounds.ts:13](https://github.com/daysnap/utils/blob/e7ac628/src/sounds.ts#L13)
|
|
217
244
|
|
|
218
245
|
___
|
|
219
246
|
|
|
@@ -223,7 +250,7 @@ ___
|
|
|
223
250
|
|
|
224
251
|
#### Defined in
|
|
225
252
|
|
|
226
|
-
[trap.ts:15](https://github.com/daysnap/utils/blob/
|
|
253
|
+
[trap.ts:15](https://github.com/daysnap/utils/blob/e7ac628/src/trap.ts#L15)
|
|
227
254
|
|
|
228
255
|
## Functions
|
|
229
256
|
|
|
@@ -261,7 +288,7 @@ res = { '1': '男', '2': '女' }
|
|
|
261
288
|
|
|
262
289
|
#### Defined in
|
|
263
290
|
|
|
264
|
-
[ato.ts:12](https://github.com/daysnap/utils/blob/
|
|
291
|
+
[ato.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/ato.ts#L12)
|
|
265
292
|
|
|
266
293
|
▸ **ato**<`T`, `K`, `V`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `T`[`V`]\>
|
|
267
294
|
|
|
@@ -287,7 +314,7 @@ res = { '1': '男', '2': '女' }
|
|
|
287
314
|
|
|
288
315
|
#### Defined in
|
|
289
316
|
|
|
290
|
-
[ato.ts:16](https://github.com/daysnap/utils/blob/
|
|
317
|
+
[ato.ts:16](https://github.com/daysnap/utils/blob/e7ac628/src/ato.ts#L16)
|
|
291
318
|
|
|
292
319
|
___
|
|
293
320
|
|
|
@@ -307,7 +334,7 @@ ___
|
|
|
307
334
|
|
|
308
335
|
#### Defined in
|
|
309
336
|
|
|
310
|
-
[decode.ts:41](https://github.com/daysnap/utils/blob/
|
|
337
|
+
[decode.ts:41](https://github.com/daysnap/utils/blob/e7ac628/src/decode.ts#L41)
|
|
311
338
|
|
|
312
339
|
___
|
|
313
340
|
|
|
@@ -330,7 +357,7 @@ base64 转 blob
|
|
|
330
357
|
|
|
331
358
|
#### Defined in
|
|
332
359
|
|
|
333
|
-
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/
|
|
360
|
+
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/base64ToBlob.ts#L6)
|
|
334
361
|
|
|
335
362
|
___
|
|
336
363
|
|
|
@@ -352,7 +379,7 @@ blob 转 base64
|
|
|
352
379
|
|
|
353
380
|
#### Defined in
|
|
354
381
|
|
|
355
|
-
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/
|
|
382
|
+
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/blobToBase64.ts#L4)
|
|
356
383
|
|
|
357
384
|
___
|
|
358
385
|
|
|
@@ -372,7 +399,7 @@ ___
|
|
|
372
399
|
|
|
373
400
|
#### Defined in
|
|
374
401
|
|
|
375
|
-
[decode.ts:8](https://github.com/daysnap/utils/blob/
|
|
402
|
+
[decode.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/decode.ts#L8)
|
|
376
403
|
|
|
377
404
|
___
|
|
378
405
|
|
|
@@ -413,7 +440,7 @@ ___
|
|
|
413
440
|
|
|
414
441
|
#### Defined in
|
|
415
442
|
|
|
416
|
-
[cached.ts:5](https://github.com/daysnap/utils/blob/
|
|
443
|
+
[cached.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/cached.ts#L5)
|
|
417
444
|
|
|
418
445
|
___
|
|
419
446
|
|
|
@@ -436,7 +463,7 @@ camelCase('hello-world') => helloWorld
|
|
|
436
463
|
|
|
437
464
|
#### Defined in
|
|
438
465
|
|
|
439
|
-
[camelCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
466
|
+
[camelCase.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/camelCase.ts#L5)
|
|
440
467
|
|
|
441
468
|
___
|
|
442
469
|
|
|
@@ -460,7 +487,7 @@ canvas 转 blob 文件
|
|
|
460
487
|
|
|
461
488
|
#### Defined in
|
|
462
489
|
|
|
463
|
-
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/
|
|
490
|
+
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/canvasToBlob.ts#L4)
|
|
464
491
|
|
|
465
492
|
___
|
|
466
493
|
|
|
@@ -483,7 +510,7 @@ capitalize('hello world') => Hello world
|
|
|
483
510
|
|
|
484
511
|
#### Defined in
|
|
485
512
|
|
|
486
|
-
[capitalize.ts:5](https://github.com/daysnap/utils/blob/
|
|
513
|
+
[capitalize.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/capitalize.ts#L5)
|
|
487
514
|
|
|
488
515
|
___
|
|
489
516
|
|
|
@@ -508,7 +535,7 @@ ___
|
|
|
508
535
|
|
|
509
536
|
#### Defined in
|
|
510
537
|
|
|
511
|
-
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/
|
|
538
|
+
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/chooseMedia.ts#L5)
|
|
512
539
|
|
|
513
540
|
___
|
|
514
541
|
|
|
@@ -532,7 +559,7 @@ ___
|
|
|
532
559
|
|
|
533
560
|
#### Defined in
|
|
534
561
|
|
|
535
|
-
[clamp.ts:7](https://github.com/daysnap/utils/blob/
|
|
562
|
+
[clamp.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/clamp.ts#L7)
|
|
536
563
|
|
|
537
564
|
___
|
|
538
565
|
|
|
@@ -560,7 +587,7 @@ ___
|
|
|
560
587
|
|
|
561
588
|
#### Defined in
|
|
562
589
|
|
|
563
|
-
[clone.ts:8](https://github.com/daysnap/utils/blob/
|
|
590
|
+
[clone.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/clone.ts#L8)
|
|
564
591
|
|
|
565
592
|
___
|
|
566
593
|
|
|
@@ -588,7 +615,7 @@ ___
|
|
|
588
615
|
|
|
589
616
|
#### Defined in
|
|
590
617
|
|
|
591
|
-
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/
|
|
618
|
+
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/cloneSimple.ts#L7)
|
|
592
619
|
|
|
593
620
|
___
|
|
594
621
|
|
|
@@ -610,7 +637,7 @@ ___
|
|
|
610
637
|
|
|
611
638
|
#### Defined in
|
|
612
639
|
|
|
613
|
-
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/
|
|
640
|
+
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/createHexColorByHash.ts#L4)
|
|
614
641
|
|
|
615
642
|
___
|
|
616
643
|
|
|
@@ -636,7 +663,7 @@ ___
|
|
|
636
663
|
|
|
637
664
|
#### Defined in
|
|
638
665
|
|
|
639
|
-
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/
|
|
666
|
+
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/e7ac628/src/compareVersion.ts#L9)
|
|
640
667
|
|
|
641
668
|
___
|
|
642
669
|
|
|
@@ -659,7 +686,7 @@ ___
|
|
|
659
686
|
|
|
660
687
|
#### Defined in
|
|
661
688
|
|
|
662
|
-
[compressImage.ts:4](https://github.com/daysnap/utils/blob/
|
|
689
|
+
[compressImage.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/compressImage.ts#L4)
|
|
663
690
|
|
|
664
691
|
___
|
|
665
692
|
|
|
@@ -681,7 +708,7 @@ ___
|
|
|
681
708
|
|
|
682
709
|
#### Defined in
|
|
683
710
|
|
|
684
|
-
[crToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
711
|
+
[crToBr.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/crToBr.ts#L4)
|
|
685
712
|
|
|
686
713
|
___
|
|
687
714
|
|
|
@@ -709,7 +736,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
|
|
|
709
736
|
|
|
710
737
|
#### Defined in
|
|
711
738
|
|
|
712
|
-
[createFactory.ts:4](https://github.com/daysnap/utils/blob/
|
|
739
|
+
[createFactory.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/createFactory.ts#L4)
|
|
713
740
|
|
|
714
741
|
___
|
|
715
742
|
|
|
@@ -747,7 +774,7 @@ ___
|
|
|
747
774
|
|
|
748
775
|
#### Defined in
|
|
749
776
|
|
|
750
|
-
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/
|
|
777
|
+
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/e7ac628/src/createLinearFunction.ts#L9)
|
|
751
778
|
|
|
752
779
|
___
|
|
753
780
|
|
|
@@ -779,7 +806,7 @@ ___
|
|
|
779
806
|
|
|
780
807
|
#### Defined in
|
|
781
808
|
|
|
782
|
-
[trap.ts:49](https://github.com/daysnap/utils/blob/
|
|
809
|
+
[trap.ts:49](https://github.com/daysnap/utils/blob/e7ac628/src/trap.ts#L49)
|
|
783
810
|
|
|
784
811
|
___
|
|
785
812
|
|
|
@@ -842,7 +869,7 @@ fn() 执行的时候就会执行showLoading
|
|
|
842
869
|
|
|
843
870
|
#### Defined in
|
|
844
871
|
|
|
845
|
-
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/
|
|
872
|
+
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/createWithLoading.ts#L11)
|
|
846
873
|
|
|
847
874
|
___
|
|
848
875
|
|
|
@@ -864,7 +891,7 @@ ___
|
|
|
864
891
|
|
|
865
892
|
#### Defined in
|
|
866
893
|
|
|
867
|
-
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
894
|
+
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/crlfToBr.ts#L4)
|
|
868
895
|
|
|
869
896
|
___
|
|
870
897
|
|
|
@@ -907,7 +934,7 @@ ___
|
|
|
907
934
|
|
|
908
935
|
#### Defined in
|
|
909
936
|
|
|
910
|
-
[debounce.ts:5](https://github.com/daysnap/utils/blob/
|
|
937
|
+
[debounce.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/debounce.ts#L5)
|
|
911
938
|
|
|
912
939
|
___
|
|
913
940
|
|
|
@@ -931,7 +958,7 @@ ___
|
|
|
931
958
|
|
|
932
959
|
#### Defined in
|
|
933
960
|
|
|
934
|
-
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/
|
|
961
|
+
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/downloadFile.ts#L4)
|
|
935
962
|
|
|
936
963
|
___
|
|
937
964
|
|
|
@@ -960,7 +987,7 @@ ___
|
|
|
960
987
|
|
|
961
988
|
#### Defined in
|
|
962
989
|
|
|
963
|
-
[each.ts:4](https://github.com/daysnap/utils/blob/
|
|
990
|
+
[each.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/each.ts#L4)
|
|
964
991
|
|
|
965
992
|
▸ **each**<`T`\>(`data`, `callback`): `void`
|
|
966
993
|
|
|
@@ -983,7 +1010,7 @@ ___
|
|
|
983
1010
|
|
|
984
1011
|
#### Defined in
|
|
985
1012
|
|
|
986
|
-
[each.ts:8](https://github.com/daysnap/utils/blob/
|
|
1013
|
+
[each.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/each.ts#L8)
|
|
987
1014
|
|
|
988
1015
|
___
|
|
989
1016
|
|
|
@@ -1001,7 +1028,7 @@ ___
|
|
|
1001
1028
|
|
|
1002
1029
|
#### Defined in
|
|
1003
1030
|
|
|
1004
|
-
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
1031
|
+
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/exitFullscreen.ts#L6)
|
|
1005
1032
|
|
|
1006
1033
|
___
|
|
1007
1034
|
|
|
@@ -1030,7 +1057,7 @@ ___
|
|
|
1030
1057
|
|
|
1031
1058
|
#### Defined in
|
|
1032
1059
|
|
|
1033
|
-
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/
|
|
1060
|
+
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/storage/factory.ts#L11)
|
|
1034
1061
|
|
|
1035
1062
|
___
|
|
1036
1063
|
|
|
@@ -1052,7 +1079,7 @@ ___
|
|
|
1052
1079
|
|
|
1053
1080
|
#### Defined in
|
|
1054
1081
|
|
|
1055
|
-
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1082
|
+
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/filterBankCardNo.ts#L4)
|
|
1056
1083
|
|
|
1057
1084
|
___
|
|
1058
1085
|
|
|
@@ -1082,7 +1109,7 @@ ___
|
|
|
1082
1109
|
|
|
1083
1110
|
#### Defined in
|
|
1084
1111
|
|
|
1085
|
-
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/
|
|
1112
|
+
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/crlfToBr.ts#L12)
|
|
1086
1113
|
|
|
1087
1114
|
___
|
|
1088
1115
|
|
|
@@ -1104,7 +1131,7 @@ ___
|
|
|
1104
1131
|
|
|
1105
1132
|
#### Defined in
|
|
1106
1133
|
|
|
1107
|
-
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/
|
|
1134
|
+
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/filterEmoji.ts#L4)
|
|
1108
1135
|
|
|
1109
1136
|
___
|
|
1110
1137
|
|
|
@@ -1127,7 +1154,7 @@ ___
|
|
|
1127
1154
|
|
|
1128
1155
|
#### Defined in
|
|
1129
1156
|
|
|
1130
|
-
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/
|
|
1157
|
+
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/filterEmptyValue.ts#L12)
|
|
1131
1158
|
|
|
1132
1159
|
___
|
|
1133
1160
|
|
|
@@ -1150,7 +1177,7 @@ ___
|
|
|
1150
1177
|
|
|
1151
1178
|
#### Defined in
|
|
1152
1179
|
|
|
1153
|
-
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/
|
|
1180
|
+
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/filterIdCard.ts#L5)
|
|
1154
1181
|
|
|
1155
1182
|
___
|
|
1156
1183
|
|
|
@@ -1172,7 +1199,7 @@ ___
|
|
|
1172
1199
|
|
|
1173
1200
|
#### Defined in
|
|
1174
1201
|
|
|
1175
|
-
[filterName.ts:4](https://github.com/daysnap/utils/blob/
|
|
1202
|
+
[filterName.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/filterName.ts#L4)
|
|
1176
1203
|
|
|
1177
1204
|
___
|
|
1178
1205
|
|
|
@@ -1197,7 +1224,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
|
|
|
1197
1224
|
|
|
1198
1225
|
#### Defined in
|
|
1199
1226
|
|
|
1200
|
-
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/
|
|
1227
|
+
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/filterPhone.ts#L6)
|
|
1201
1228
|
|
|
1202
1229
|
___
|
|
1203
1230
|
|
|
@@ -1224,7 +1251,7 @@ str = '131****8888'
|
|
|
1224
1251
|
|
|
1225
1252
|
#### Defined in
|
|
1226
1253
|
|
|
1227
|
-
[filterString.ts:6](https://github.com/daysnap/utils/blob/
|
|
1254
|
+
[filterString.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/filterString.ts#L6)
|
|
1228
1255
|
|
|
1229
1256
|
___
|
|
1230
1257
|
|
|
@@ -1247,7 +1274,7 @@ ___
|
|
|
1247
1274
|
|
|
1248
1275
|
#### Defined in
|
|
1249
1276
|
|
|
1250
|
-
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/
|
|
1277
|
+
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/formatAmount.ts#L4)
|
|
1251
1278
|
|
|
1252
1279
|
___
|
|
1253
1280
|
|
|
@@ -1271,7 +1298,7 @@ ___
|
|
|
1271
1298
|
|
|
1272
1299
|
#### Defined in
|
|
1273
1300
|
|
|
1274
|
-
[formatDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1301
|
+
[formatDate.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/formatDate.ts#L7)
|
|
1275
1302
|
|
|
1276
1303
|
___
|
|
1277
1304
|
|
|
@@ -1302,7 +1329,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
|
|
|
1302
1329
|
|
|
1303
1330
|
#### Defined in
|
|
1304
1331
|
|
|
1305
|
-
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/
|
|
1332
|
+
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/formatDateStr.ts#L6)
|
|
1306
1333
|
|
|
1307
1334
|
___
|
|
1308
1335
|
|
|
@@ -1322,7 +1349,7 @@ ___
|
|
|
1322
1349
|
|
|
1323
1350
|
#### Defined in
|
|
1324
1351
|
|
|
1325
|
-
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/
|
|
1352
|
+
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/formartDateToZN.ts#L4)
|
|
1326
1353
|
|
|
1327
1354
|
___
|
|
1328
1355
|
|
|
@@ -1345,7 +1372,7 @@ ___
|
|
|
1345
1372
|
|
|
1346
1373
|
#### Defined in
|
|
1347
1374
|
|
|
1348
|
-
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/
|
|
1375
|
+
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/formatFileSize.ts#L4)
|
|
1349
1376
|
|
|
1350
1377
|
___
|
|
1351
1378
|
|
|
@@ -1368,7 +1395,7 @@ yyyyMMdd -> yyyy-MM-dd
|
|
|
1368
1395
|
|
|
1369
1396
|
#### Defined in
|
|
1370
1397
|
|
|
1371
|
-
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
1398
|
+
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/formatGapDate.ts#L4)
|
|
1372
1399
|
|
|
1373
1400
|
___
|
|
1374
1401
|
|
|
@@ -1393,7 +1420,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
|
|
|
1393
1420
|
|
|
1394
1421
|
#### Defined in
|
|
1395
1422
|
|
|
1396
|
-
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/
|
|
1423
|
+
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/formatMessage.ts#L11)
|
|
1397
1424
|
|
|
1398
1425
|
___
|
|
1399
1426
|
|
|
@@ -1425,7 +1452,7 @@ rest = { xxx: 1 }
|
|
|
1425
1452
|
|
|
1426
1453
|
#### Defined in
|
|
1427
1454
|
|
|
1428
|
-
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/
|
|
1455
|
+
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/formatPathParams.ts#L8)
|
|
1429
1456
|
|
|
1430
1457
|
___
|
|
1431
1458
|
|
|
@@ -1447,7 +1474,7 @@ ___
|
|
|
1447
1474
|
|
|
1448
1475
|
#### Defined in
|
|
1449
1476
|
|
|
1450
|
-
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/
|
|
1477
|
+
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getBlobByUrl.ts#L4)
|
|
1451
1478
|
|
|
1452
1479
|
___
|
|
1453
1480
|
|
|
@@ -1470,7 +1497,7 @@ ___
|
|
|
1470
1497
|
|
|
1471
1498
|
#### Defined in
|
|
1472
1499
|
|
|
1473
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1500
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/e7ac628/src/storage/index.ts#L10)
|
|
1474
1501
|
|
|
1475
1502
|
___
|
|
1476
1503
|
|
|
@@ -1493,7 +1520,7 @@ ___
|
|
|
1493
1520
|
|
|
1494
1521
|
#### Defined in
|
|
1495
1522
|
|
|
1496
|
-
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/
|
|
1523
|
+
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/getDateBoundsByMonths.ts#L8)
|
|
1497
1524
|
|
|
1498
1525
|
▸ **getDateBoundsByMonths**(`monthsCount`, `date`, `fmt`): [`string`, `string`]
|
|
1499
1526
|
|
|
@@ -1511,7 +1538,7 @@ ___
|
|
|
1511
1538
|
|
|
1512
1539
|
#### Defined in
|
|
1513
1540
|
|
|
1514
|
-
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/
|
|
1541
|
+
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/getDateBoundsByMonths.ts#L12)
|
|
1515
1542
|
|
|
1516
1543
|
___
|
|
1517
1544
|
|
|
@@ -1533,7 +1560,7 @@ ___
|
|
|
1533
1560
|
|
|
1534
1561
|
#### Defined in
|
|
1535
1562
|
|
|
1536
|
-
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/
|
|
1563
|
+
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getDayMillisecond.ts#L4)
|
|
1537
1564
|
|
|
1538
1565
|
___
|
|
1539
1566
|
|
|
@@ -1556,7 +1583,7 @@ ___
|
|
|
1556
1583
|
|
|
1557
1584
|
#### Defined in
|
|
1558
1585
|
|
|
1559
|
-
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/
|
|
1586
|
+
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getDaysOfMonth.ts#L4)
|
|
1560
1587
|
|
|
1561
1588
|
___
|
|
1562
1589
|
|
|
@@ -1579,7 +1606,7 @@ ___
|
|
|
1579
1606
|
|
|
1580
1607
|
#### Defined in
|
|
1581
1608
|
|
|
1582
|
-
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1609
|
+
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getImageInfo.ts#L4)
|
|
1583
1610
|
|
|
1584
1611
|
___
|
|
1585
1612
|
|
|
@@ -1602,7 +1629,7 @@ ___
|
|
|
1602
1629
|
|
|
1603
1630
|
#### Defined in
|
|
1604
1631
|
|
|
1605
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1632
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/e7ac628/src/storage/index.ts#L10)
|
|
1606
1633
|
|
|
1607
1634
|
___
|
|
1608
1635
|
|
|
@@ -1624,7 +1651,7 @@ ___
|
|
|
1624
1651
|
|
|
1625
1652
|
#### Defined in
|
|
1626
1653
|
|
|
1627
|
-
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1654
|
+
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getMonthBounds.ts#L7)
|
|
1628
1655
|
|
|
1629
1656
|
▸ **getMonthBounds**(`value`, `fmt`): [`string`, `string`]
|
|
1630
1657
|
|
|
@@ -1641,7 +1668,7 @@ ___
|
|
|
1641
1668
|
|
|
1642
1669
|
#### Defined in
|
|
1643
1670
|
|
|
1644
|
-
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/
|
|
1671
|
+
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/getMonthBounds.ts#L8)
|
|
1645
1672
|
|
|
1646
1673
|
___
|
|
1647
1674
|
|
|
@@ -1664,7 +1691,7 @@ ___
|
|
|
1664
1691
|
|
|
1665
1692
|
#### Defined in
|
|
1666
1693
|
|
|
1667
|
-
[getRandom.ts:7](https://github.com/daysnap/utils/blob/
|
|
1694
|
+
[getRandom.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getRandom.ts#L7)
|
|
1668
1695
|
|
|
1669
1696
|
___
|
|
1670
1697
|
|
|
@@ -1680,7 +1707,7 @@ ___
|
|
|
1680
1707
|
|
|
1681
1708
|
#### Defined in
|
|
1682
1709
|
|
|
1683
|
-
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/
|
|
1710
|
+
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getRandomColor.ts#L4)
|
|
1684
1711
|
|
|
1685
1712
|
___
|
|
1686
1713
|
|
|
@@ -1702,7 +1729,7 @@ ___
|
|
|
1702
1729
|
|
|
1703
1730
|
#### Defined in
|
|
1704
1731
|
|
|
1705
|
-
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/
|
|
1732
|
+
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getRandomNumber.ts#L7)
|
|
1706
1733
|
|
|
1707
1734
|
___
|
|
1708
1735
|
|
|
@@ -1725,7 +1752,7 @@ ___
|
|
|
1725
1752
|
|
|
1726
1753
|
#### Defined in
|
|
1727
1754
|
|
|
1728
|
-
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1755
|
+
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getRangeDate.ts#L7)
|
|
1729
1756
|
|
|
1730
1757
|
▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
|
|
1731
1758
|
|
|
@@ -1743,7 +1770,7 @@ ___
|
|
|
1743
1770
|
|
|
1744
1771
|
#### Defined in
|
|
1745
1772
|
|
|
1746
|
-
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/
|
|
1773
|
+
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/getRangeDate.ts#L11)
|
|
1747
1774
|
|
|
1748
1775
|
___
|
|
1749
1776
|
|
|
@@ -1759,7 +1786,7 @@ ___
|
|
|
1759
1786
|
|
|
1760
1787
|
#### Defined in
|
|
1761
1788
|
|
|
1762
|
-
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
1789
|
+
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getScrollTop.ts#L4)
|
|
1763
1790
|
|
|
1764
1791
|
___
|
|
1765
1792
|
|
|
@@ -1781,7 +1808,7 @@ ___
|
|
|
1781
1808
|
|
|
1782
1809
|
#### Defined in
|
|
1783
1810
|
|
|
1784
|
-
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1811
|
+
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/getVideoInfo.ts#L4)
|
|
1785
1812
|
|
|
1786
1813
|
___
|
|
1787
1814
|
|
|
@@ -1804,7 +1831,7 @@ ___
|
|
|
1804
1831
|
|
|
1805
1832
|
#### Defined in
|
|
1806
1833
|
|
|
1807
|
-
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1834
|
+
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/getWeekBounds.ts#L7)
|
|
1808
1835
|
|
|
1809
1836
|
▸ **getWeekBounds**(`value`, `sundayIsFirstDay`, `fmt`): [`string`, `string`]
|
|
1810
1837
|
|
|
@@ -1822,7 +1849,7 @@ ___
|
|
|
1822
1849
|
|
|
1823
1850
|
#### Defined in
|
|
1824
1851
|
|
|
1825
|
-
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/
|
|
1852
|
+
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/getWeekBounds.ts#L11)
|
|
1826
1853
|
|
|
1827
1854
|
___
|
|
1828
1855
|
|
|
@@ -1845,7 +1872,7 @@ ___
|
|
|
1845
1872
|
|
|
1846
1873
|
#### Defined in
|
|
1847
1874
|
|
|
1848
|
-
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/
|
|
1875
|
+
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/getWeekday.ts#L6)
|
|
1849
1876
|
|
|
1850
1877
|
___
|
|
1851
1878
|
|
|
@@ -1861,7 +1888,7 @@ ___
|
|
|
1861
1888
|
|
|
1862
1889
|
#### Defined in
|
|
1863
1890
|
|
|
1864
|
-
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/
|
|
1891
|
+
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/inBrowser.ts#L4)
|
|
1865
1892
|
|
|
1866
1893
|
___
|
|
1867
1894
|
|
|
@@ -1883,7 +1910,7 @@ ___
|
|
|
1883
1910
|
|
|
1884
1911
|
#### Defined in
|
|
1885
1912
|
|
|
1886
|
-
[insertLink.ts:4](https://github.com/daysnap/utils/blob/
|
|
1913
|
+
[insertLink.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/insertLink.ts#L4)
|
|
1887
1914
|
|
|
1888
1915
|
▸ **insertLink**(`href`, `callback`): `void`
|
|
1889
1916
|
|
|
@@ -1900,7 +1927,7 @@ ___
|
|
|
1900
1927
|
|
|
1901
1928
|
#### Defined in
|
|
1902
1929
|
|
|
1903
|
-
[insertLink.ts:5](https://github.com/daysnap/utils/blob/
|
|
1930
|
+
[insertLink.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/insertLink.ts#L5)
|
|
1904
1931
|
|
|
1905
1932
|
___
|
|
1906
1933
|
|
|
@@ -1922,7 +1949,7 @@ ___
|
|
|
1922
1949
|
|
|
1923
1950
|
#### Defined in
|
|
1924
1951
|
|
|
1925
|
-
[insertScript.ts:4](https://github.com/daysnap/utils/blob/
|
|
1952
|
+
[insertScript.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/insertScript.ts#L4)
|
|
1926
1953
|
|
|
1927
1954
|
▸ **insertScript**(`src`, `callback`): `void`
|
|
1928
1955
|
|
|
@@ -1939,7 +1966,7 @@ ___
|
|
|
1939
1966
|
|
|
1940
1967
|
#### Defined in
|
|
1941
1968
|
|
|
1942
|
-
[insertScript.ts:5](https://github.com/daysnap/utils/blob/
|
|
1969
|
+
[insertScript.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/insertScript.ts#L5)
|
|
1943
1970
|
|
|
1944
1971
|
___
|
|
1945
1972
|
|
|
@@ -1961,7 +1988,7 @@ ___
|
|
|
1961
1988
|
|
|
1962
1989
|
#### Defined in
|
|
1963
1990
|
|
|
1964
|
-
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/
|
|
1991
|
+
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/insertStyle.ts#L4)
|
|
1965
1992
|
|
|
1966
1993
|
___
|
|
1967
1994
|
|
|
@@ -1990,7 +2017,7 @@ isAmount('1.123') => false
|
|
|
1990
2017
|
|
|
1991
2018
|
#### Defined in
|
|
1992
2019
|
|
|
1993
|
-
[isAmount.ts:11](https://github.com/daysnap/utils/blob/
|
|
2020
|
+
[isAmount.ts:11](https://github.com/daysnap/utils/blob/e7ac628/src/isAmount.ts#L11)
|
|
1994
2021
|
|
|
1995
2022
|
___
|
|
1996
2023
|
|
|
@@ -2006,7 +2033,7 @@ ___
|
|
|
2006
2033
|
|
|
2007
2034
|
#### Defined in
|
|
2008
2035
|
|
|
2009
|
-
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/
|
|
2036
|
+
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isAndroid.ts#L4)
|
|
2010
2037
|
|
|
2011
2038
|
___
|
|
2012
2039
|
|
|
@@ -2030,7 +2057,7 @@ val is any[]
|
|
|
2030
2057
|
|
|
2031
2058
|
#### Defined in
|
|
2032
2059
|
|
|
2033
|
-
[isArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2060
|
+
[isArray.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isArray.ts#L6)
|
|
2034
2061
|
|
|
2035
2062
|
___
|
|
2036
2063
|
|
|
@@ -2052,7 +2079,7 @@ val is boolean
|
|
|
2052
2079
|
|
|
2053
2080
|
#### Defined in
|
|
2054
2081
|
|
|
2055
|
-
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/
|
|
2082
|
+
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isBoolean.ts#L5)
|
|
2056
2083
|
|
|
2057
2084
|
___
|
|
2058
2085
|
|
|
@@ -2074,7 +2101,7 @@ ___
|
|
|
2074
2101
|
|
|
2075
2102
|
#### Defined in
|
|
2076
2103
|
|
|
2077
|
-
[isChinese.ts:4](https://github.com/daysnap/utils/blob/
|
|
2104
|
+
[isChinese.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isChinese.ts#L4)
|
|
2078
2105
|
|
|
2079
2106
|
___
|
|
2080
2107
|
|
|
@@ -2096,7 +2123,7 @@ val is Date
|
|
|
2096
2123
|
|
|
2097
2124
|
#### Defined in
|
|
2098
2125
|
|
|
2099
|
-
[isDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
2126
|
+
[isDate.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isDate.ts#L4)
|
|
2100
2127
|
|
|
2101
2128
|
___
|
|
2102
2129
|
|
|
@@ -2118,7 +2145,7 @@ ___
|
|
|
2118
2145
|
|
|
2119
2146
|
#### Defined in
|
|
2120
2147
|
|
|
2121
|
-
[isEmail.ts:4](https://github.com/daysnap/utils/blob/
|
|
2148
|
+
[isEmail.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isEmail.ts#L4)
|
|
2122
2149
|
|
|
2123
2150
|
___
|
|
2124
2151
|
|
|
@@ -2140,7 +2167,7 @@ ___
|
|
|
2140
2167
|
|
|
2141
2168
|
#### Defined in
|
|
2142
2169
|
|
|
2143
|
-
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/
|
|
2170
|
+
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isEmpty.ts#L6)
|
|
2144
2171
|
|
|
2145
2172
|
___
|
|
2146
2173
|
|
|
@@ -2162,7 +2189,7 @@ ___
|
|
|
2162
2189
|
|
|
2163
2190
|
#### Defined in
|
|
2164
2191
|
|
|
2165
|
-
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2192
|
+
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isEmptyArray.ts#L6)
|
|
2166
2193
|
|
|
2167
2194
|
___
|
|
2168
2195
|
|
|
@@ -2184,7 +2211,7 @@ ___
|
|
|
2184
2211
|
|
|
2185
2212
|
#### Defined in
|
|
2186
2213
|
|
|
2187
|
-
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
2214
|
+
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isEmptyObject.ts#L5)
|
|
2188
2215
|
|
|
2189
2216
|
___
|
|
2190
2217
|
|
|
@@ -2206,7 +2233,7 @@ val is Error
|
|
|
2206
2233
|
|
|
2207
2234
|
#### Defined in
|
|
2208
2235
|
|
|
2209
|
-
[isError.ts:4](https://github.com/daysnap/utils/blob/
|
|
2236
|
+
[isError.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isError.ts#L4)
|
|
2210
2237
|
|
|
2211
2238
|
___
|
|
2212
2239
|
|
|
@@ -2228,7 +2255,7 @@ val is Function
|
|
|
2228
2255
|
|
|
2229
2256
|
#### Defined in
|
|
2230
2257
|
|
|
2231
|
-
[isFunction.ts:4](https://github.com/daysnap/utils/blob/
|
|
2258
|
+
[isFunction.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isFunction.ts#L4)
|
|
2232
2259
|
|
|
2233
2260
|
___
|
|
2234
2261
|
|
|
@@ -2246,7 +2273,7 @@ ___
|
|
|
2246
2273
|
|
|
2247
2274
|
#### Defined in
|
|
2248
2275
|
|
|
2249
|
-
[isIE.ts:6](https://github.com/daysnap/utils/blob/
|
|
2276
|
+
[isIE.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isIE.ts#L6)
|
|
2250
2277
|
|
|
2251
2278
|
___
|
|
2252
2279
|
|
|
@@ -2262,7 +2289,7 @@ ___
|
|
|
2262
2289
|
|
|
2263
2290
|
#### Defined in
|
|
2264
2291
|
|
|
2265
|
-
[isIOS.ts:4](https://github.com/daysnap/utils/blob/
|
|
2292
|
+
[isIOS.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isIOS.ts#L4)
|
|
2266
2293
|
|
|
2267
2294
|
___
|
|
2268
2295
|
|
|
@@ -2284,7 +2311,7 @@ ___
|
|
|
2284
2311
|
|
|
2285
2312
|
#### Defined in
|
|
2286
2313
|
|
|
2287
|
-
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/
|
|
2314
|
+
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isIdCard.ts#L4)
|
|
2288
2315
|
|
|
2289
2316
|
___
|
|
2290
2317
|
|
|
@@ -2306,7 +2333,7 @@ ___
|
|
|
2306
2333
|
|
|
2307
2334
|
#### Defined in
|
|
2308
2335
|
|
|
2309
|
-
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/
|
|
2336
|
+
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/isJSONString.ts#L7)
|
|
2310
2337
|
|
|
2311
2338
|
___
|
|
2312
2339
|
|
|
@@ -2328,7 +2355,7 @@ ___
|
|
|
2328
2355
|
|
|
2329
2356
|
#### Defined in
|
|
2330
2357
|
|
|
2331
|
-
[isLan.ts:5](https://github.com/daysnap/utils/blob/
|
|
2358
|
+
[isLan.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isLan.ts#L5)
|
|
2332
2359
|
|
|
2333
2360
|
___
|
|
2334
2361
|
|
|
@@ -2351,7 +2378,7 @@ ___
|
|
|
2351
2378
|
|
|
2352
2379
|
#### Defined in
|
|
2353
2380
|
|
|
2354
|
-
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/
|
|
2381
|
+
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isLeapYear.ts#L5)
|
|
2355
2382
|
|
|
2356
2383
|
___
|
|
2357
2384
|
|
|
@@ -2373,7 +2400,7 @@ ___
|
|
|
2373
2400
|
|
|
2374
2401
|
#### Defined in
|
|
2375
2402
|
|
|
2376
|
-
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/
|
|
2403
|
+
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isLicenseCode.ts#L5)
|
|
2377
2404
|
|
|
2378
2405
|
___
|
|
2379
2406
|
|
|
@@ -2389,7 +2416,7 @@ ___
|
|
|
2389
2416
|
|
|
2390
2417
|
#### Defined in
|
|
2391
2418
|
|
|
2392
|
-
[isMobile.ts:4](https://github.com/daysnap/utils/blob/
|
|
2419
|
+
[isMobile.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isMobile.ts#L4)
|
|
2393
2420
|
|
|
2394
2421
|
___
|
|
2395
2422
|
|
|
@@ -2412,7 +2439,7 @@ ___
|
|
|
2412
2439
|
|
|
2413
2440
|
#### Defined in
|
|
2414
2441
|
|
|
2415
|
-
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/
|
|
2442
|
+
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/isNativeFunction.ts#L7)
|
|
2416
2443
|
|
|
2417
2444
|
___
|
|
2418
2445
|
|
|
@@ -2434,7 +2461,7 @@ val is null
|
|
|
2434
2461
|
|
|
2435
2462
|
#### Defined in
|
|
2436
2463
|
|
|
2437
|
-
[isNull.ts:4](https://github.com/daysnap/utils/blob/
|
|
2464
|
+
[isNull.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isNull.ts#L4)
|
|
2438
2465
|
|
|
2439
2466
|
___
|
|
2440
2467
|
|
|
@@ -2456,7 +2483,7 @@ val is number
|
|
|
2456
2483
|
|
|
2457
2484
|
#### Defined in
|
|
2458
2485
|
|
|
2459
|
-
[isNumber.ts:5](https://github.com/daysnap/utils/blob/
|
|
2486
|
+
[isNumber.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isNumber.ts#L5)
|
|
2460
2487
|
|
|
2461
2488
|
___
|
|
2462
2489
|
|
|
@@ -2478,7 +2505,7 @@ val is Record<string, any\>
|
|
|
2478
2505
|
|
|
2479
2506
|
#### Defined in
|
|
2480
2507
|
|
|
2481
|
-
[isObject.ts:4](https://github.com/daysnap/utils/blob/
|
|
2508
|
+
[isObject.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isObject.ts#L4)
|
|
2482
2509
|
|
|
2483
2510
|
___
|
|
2484
2511
|
|
|
@@ -2500,7 +2527,7 @@ ___
|
|
|
2500
2527
|
|
|
2501
2528
|
#### Defined in
|
|
2502
2529
|
|
|
2503
|
-
[isPhone.ts:4](https://github.com/daysnap/utils/blob/
|
|
2530
|
+
[isPhone.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isPhone.ts#L4)
|
|
2504
2531
|
|
|
2505
2532
|
___
|
|
2506
2533
|
|
|
@@ -2528,7 +2555,7 @@ val is Promise<T\>
|
|
|
2528
2555
|
|
|
2529
2556
|
#### Defined in
|
|
2530
2557
|
|
|
2531
|
-
[isPromise.ts:4](https://github.com/daysnap/utils/blob/
|
|
2558
|
+
[isPromise.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isPromise.ts#L4)
|
|
2532
2559
|
|
|
2533
2560
|
___
|
|
2534
2561
|
|
|
@@ -2550,7 +2577,7 @@ val is RegExp
|
|
|
2550
2577
|
|
|
2551
2578
|
#### Defined in
|
|
2552
2579
|
|
|
2553
|
-
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/
|
|
2580
|
+
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isRegExp.ts#L4)
|
|
2554
2581
|
|
|
2555
2582
|
___
|
|
2556
2583
|
|
|
@@ -2572,7 +2599,7 @@ val is string
|
|
|
2572
2599
|
|
|
2573
2600
|
#### Defined in
|
|
2574
2601
|
|
|
2575
|
-
[isString.ts:4](https://github.com/daysnap/utils/blob/
|
|
2602
|
+
[isString.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isString.ts#L4)
|
|
2576
2603
|
|
|
2577
2604
|
___
|
|
2578
2605
|
|
|
@@ -2601,7 +2628,7 @@ val is T
|
|
|
2601
2628
|
|
|
2602
2629
|
#### Defined in
|
|
2603
2630
|
|
|
2604
|
-
[isType.ts:4](https://github.com/daysnap/utils/blob/
|
|
2631
|
+
[isType.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isType.ts#L4)
|
|
2605
2632
|
|
|
2606
2633
|
___
|
|
2607
2634
|
|
|
@@ -2623,7 +2650,7 @@ val is undefined
|
|
|
2623
2650
|
|
|
2624
2651
|
#### Defined in
|
|
2625
2652
|
|
|
2626
|
-
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/
|
|
2653
|
+
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isUndefined.ts#L4)
|
|
2627
2654
|
|
|
2628
2655
|
___
|
|
2629
2656
|
|
|
@@ -2667,7 +2694,7 @@ ___
|
|
|
2667
2694
|
|
|
2668
2695
|
#### Defined in
|
|
2669
2696
|
|
|
2670
|
-
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/
|
|
2697
|
+
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/isValidDate.ts#L6)
|
|
2671
2698
|
|
|
2672
2699
|
___
|
|
2673
2700
|
|
|
@@ -2683,7 +2710,7 @@ ___
|
|
|
2683
2710
|
|
|
2684
2711
|
#### Defined in
|
|
2685
2712
|
|
|
2686
|
-
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/
|
|
2713
|
+
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/isWeChat.ts#L4)
|
|
2687
2714
|
|
|
2688
2715
|
___
|
|
2689
2716
|
|
|
@@ -2700,7 +2727,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
|
|
|
2700
2727
|
|
|
2701
2728
|
#### Defined in
|
|
2702
2729
|
|
|
2703
|
-
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/
|
|
2730
|
+
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isWeChatMiniProgram.ts#L5)
|
|
2704
2731
|
|
|
2705
2732
|
___
|
|
2706
2733
|
|
|
@@ -2724,7 +2751,7 @@ ___
|
|
|
2724
2751
|
|
|
2725
2752
|
#### Defined in
|
|
2726
2753
|
|
|
2727
|
-
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/
|
|
2754
|
+
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/e7ac628/src/isWeChat.ts#L12)
|
|
2728
2755
|
|
|
2729
2756
|
___
|
|
2730
2757
|
|
|
@@ -2746,7 +2773,7 @@ val is Window
|
|
|
2746
2773
|
|
|
2747
2774
|
#### Defined in
|
|
2748
2775
|
|
|
2749
|
-
[isWindow.ts:5](https://github.com/daysnap/utils/blob/
|
|
2776
|
+
[isWindow.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/isWindow.ts#L5)
|
|
2750
2777
|
|
|
2751
2778
|
___
|
|
2752
2779
|
|
|
@@ -2769,7 +2796,7 @@ kebabCase('helloWorld') => hello-world
|
|
|
2769
2796
|
|
|
2770
2797
|
#### Defined in
|
|
2771
2798
|
|
|
2772
|
-
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
2799
|
+
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/kebabCase.ts#L5)
|
|
2773
2800
|
|
|
2774
2801
|
___
|
|
2775
2802
|
|
|
@@ -2791,7 +2818,7 @@ ___
|
|
|
2791
2818
|
|
|
2792
2819
|
#### Defined in
|
|
2793
2820
|
|
|
2794
|
-
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
2821
|
+
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/lfToBr.ts#L4)
|
|
2795
2822
|
|
|
2796
2823
|
___
|
|
2797
2824
|
|
|
@@ -2813,7 +2840,7 @@ list 生成器,快速生成数据
|
|
|
2813
2840
|
|
|
2814
2841
|
#### Defined in
|
|
2815
2842
|
|
|
2816
|
-
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/
|
|
2843
|
+
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/listGenerator.ts#L5)
|
|
2817
2844
|
|
|
2818
2845
|
▸ **listGenerator**<`T`\>(`length`, `fn`): `T`[]
|
|
2819
2846
|
|
|
@@ -2836,7 +2863,7 @@ list 生成器,快速生成数据
|
|
|
2836
2863
|
|
|
2837
2864
|
#### Defined in
|
|
2838
2865
|
|
|
2839
|
-
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/
|
|
2866
|
+
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/listGenerator.ts#L6)
|
|
2840
2867
|
|
|
2841
2868
|
___
|
|
2842
2869
|
|
|
@@ -2856,7 +2883,7 @@ ___
|
|
|
2856
2883
|
|
|
2857
2884
|
#### Defined in
|
|
2858
2885
|
|
|
2859
|
-
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/
|
|
2886
|
+
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/e7ac628/src/makePhoneCall.ts#L1)
|
|
2860
2887
|
|
|
2861
2888
|
___
|
|
2862
2889
|
|
|
@@ -2881,7 +2908,7 @@ ___
|
|
|
2881
2908
|
|
|
2882
2909
|
#### Defined in
|
|
2883
2910
|
|
|
2884
|
-
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/
|
|
2911
|
+
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/e7ac628/src/mousewheel.ts#L22)
|
|
2885
2912
|
|
|
2886
2913
|
___
|
|
2887
2914
|
|
|
@@ -2897,7 +2924,7 @@ ___
|
|
|
2897
2924
|
|
|
2898
2925
|
#### Defined in
|
|
2899
2926
|
|
|
2900
|
-
[nf.ts:4](https://github.com/daysnap/utils/blob/
|
|
2927
|
+
[nf.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/nf.ts#L4)
|
|
2901
2928
|
|
|
2902
2929
|
___
|
|
2903
2930
|
|
|
@@ -2921,7 +2948,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
|
|
|
2921
2948
|
|
|
2922
2949
|
#### Defined in
|
|
2923
2950
|
|
|
2924
|
-
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/
|
|
2951
|
+
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/normalizeDate.ts#L8)
|
|
2925
2952
|
|
|
2926
2953
|
___
|
|
2927
2954
|
|
|
@@ -2943,7 +2970,7 @@ ___
|
|
|
2943
2970
|
|
|
2944
2971
|
#### Defined in
|
|
2945
2972
|
|
|
2946
|
-
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/
|
|
2973
|
+
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/normalizePath.ts#L4)
|
|
2947
2974
|
|
|
2948
2975
|
___
|
|
2949
2976
|
|
|
@@ -2965,7 +2992,7 @@ ___
|
|
|
2965
2992
|
|
|
2966
2993
|
#### Defined in
|
|
2967
2994
|
|
|
2968
|
-
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/
|
|
2995
|
+
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/numberToLetter.ts#L4)
|
|
2969
2996
|
|
|
2970
2997
|
___
|
|
2971
2998
|
|
|
@@ -2995,7 +3022,7 @@ ___
|
|
|
2995
3022
|
|
|
2996
3023
|
#### Defined in
|
|
2997
3024
|
|
|
2998
|
-
[omit.ts:4](https://github.com/daysnap/utils/blob/
|
|
3025
|
+
[omit.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/omit.ts#L4)
|
|
2999
3026
|
|
|
3000
3027
|
___
|
|
3001
3028
|
|
|
@@ -3026,7 +3053,7 @@ omitBy(object, isNumber);
|
|
|
3026
3053
|
|
|
3027
3054
|
#### Defined in
|
|
3028
3055
|
|
|
3029
|
-
[omitBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3056
|
+
[omitBy.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/omitBy.ts#L6)
|
|
3030
3057
|
|
|
3031
3058
|
___
|
|
3032
3059
|
|
|
@@ -3050,7 +3077,7 @@ ___
|
|
|
3050
3077
|
|
|
3051
3078
|
#### Defined in
|
|
3052
3079
|
|
|
3053
|
-
[padding.ts:7](https://github.com/daysnap/utils/blob/
|
|
3080
|
+
[padding.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/padding.ts#L7)
|
|
3054
3081
|
|
|
3055
3082
|
___
|
|
3056
3083
|
|
|
@@ -3076,7 +3103,7 @@ ___
|
|
|
3076
3103
|
|
|
3077
3104
|
#### Defined in
|
|
3078
3105
|
|
|
3079
|
-
[parseDate.ts:5](https://github.com/daysnap/utils/blob/
|
|
3106
|
+
[parseDate.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/parseDate.ts#L5)
|
|
3080
3107
|
|
|
3081
3108
|
___
|
|
3082
3109
|
|
|
@@ -3102,7 +3129,7 @@ ___
|
|
|
3102
3129
|
|
|
3103
3130
|
#### Defined in
|
|
3104
3131
|
|
|
3105
|
-
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/
|
|
3132
|
+
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/parseDecimalString.ts#L5)
|
|
3106
3133
|
|
|
3107
3134
|
___
|
|
3108
3135
|
|
|
@@ -3125,7 +3152,7 @@ ___
|
|
|
3125
3152
|
|
|
3126
3153
|
#### Defined in
|
|
3127
3154
|
|
|
3128
|
-
[parseError.ts:8](https://github.com/daysnap/utils/blob/
|
|
3155
|
+
[parseError.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/parseError.ts#L8)
|
|
3129
3156
|
|
|
3130
3157
|
___
|
|
3131
3158
|
|
|
@@ -3150,7 +3177,7 @@ x0123 => ''
|
|
|
3150
3177
|
|
|
3151
3178
|
#### Defined in
|
|
3152
3179
|
|
|
3153
|
-
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/
|
|
3180
|
+
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/parseNumberString.ts#L7)
|
|
3154
3181
|
|
|
3155
3182
|
___
|
|
3156
3183
|
|
|
@@ -3180,7 +3207,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
|
|
|
3180
3207
|
|
|
3181
3208
|
#### Defined in
|
|
3182
3209
|
|
|
3183
|
-
[parseObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
3210
|
+
[parseObject.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/parseObject.ts#L5)
|
|
3184
3211
|
|
|
3185
3212
|
___
|
|
3186
3213
|
|
|
@@ -3209,7 +3236,7 @@ ___
|
|
|
3209
3236
|
|
|
3210
3237
|
#### Defined in
|
|
3211
3238
|
|
|
3212
|
-
[parsePath.ts:6](https://github.com/daysnap/utils/blob/
|
|
3239
|
+
[parsePath.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/parsePath.ts#L6)
|
|
3213
3240
|
|
|
3214
3241
|
___
|
|
3215
3242
|
|
|
@@ -3232,7 +3259,7 @@ ___
|
|
|
3232
3259
|
|
|
3233
3260
|
#### Defined in
|
|
3234
3261
|
|
|
3235
|
-
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/
|
|
3262
|
+
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/parseQuery.ts#L8)
|
|
3236
3263
|
|
|
3237
3264
|
___
|
|
3238
3265
|
|
|
@@ -3262,7 +3289,7 @@ ___
|
|
|
3262
3289
|
|
|
3263
3290
|
#### Defined in
|
|
3264
3291
|
|
|
3265
|
-
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3292
|
+
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/parseQueryString.ts#L6)
|
|
3266
3293
|
|
|
3267
3294
|
___
|
|
3268
3295
|
|
|
@@ -3285,7 +3312,7 @@ pascalCase('hello-world') => HelloWorld
|
|
|
3285
3312
|
|
|
3286
3313
|
#### Defined in
|
|
3287
3314
|
|
|
3288
|
-
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/
|
|
3315
|
+
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/pascalCase.ts#L8)
|
|
3289
3316
|
|
|
3290
3317
|
___
|
|
3291
3318
|
|
|
@@ -3315,7 +3342,7 @@ ___
|
|
|
3315
3342
|
|
|
3316
3343
|
#### Defined in
|
|
3317
3344
|
|
|
3318
|
-
[pick.ts:4](https://github.com/daysnap/utils/blob/
|
|
3345
|
+
[pick.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/pick.ts#L4)
|
|
3319
3346
|
|
|
3320
3347
|
___
|
|
3321
3348
|
|
|
@@ -3346,7 +3373,7 @@ pickBy(object, isNumber);
|
|
|
3346
3373
|
|
|
3347
3374
|
#### Defined in
|
|
3348
3375
|
|
|
3349
|
-
[pickBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3376
|
+
[pickBy.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/pickBy.ts#L6)
|
|
3350
3377
|
|
|
3351
3378
|
___
|
|
3352
3379
|
|
|
@@ -3369,7 +3396,7 @@ ___
|
|
|
3369
3396
|
|
|
3370
3397
|
#### Defined in
|
|
3371
3398
|
|
|
3372
|
-
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3399
|
+
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/replaceCrlf.ts#L4)
|
|
3373
3400
|
|
|
3374
3401
|
___
|
|
3375
3402
|
|
|
@@ -3393,7 +3420,7 @@ ___
|
|
|
3393
3420
|
|
|
3394
3421
|
#### Defined in
|
|
3395
3422
|
|
|
3396
|
-
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
3423
|
+
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/requestFullScreen.ts#L6)
|
|
3397
3424
|
|
|
3398
3425
|
___
|
|
3399
3426
|
|
|
@@ -3419,7 +3446,7 @@ reserve(0, '--') => 0
|
|
|
3419
3446
|
|
|
3420
3447
|
#### Defined in
|
|
3421
3448
|
|
|
3422
|
-
[reserve.ts:8](https://github.com/daysnap/utils/blob/
|
|
3449
|
+
[reserve.ts:8](https://github.com/daysnap/utils/blob/e7ac628/src/reserve.ts#L8)
|
|
3423
3450
|
|
|
3424
3451
|
___
|
|
3425
3452
|
|
|
@@ -3443,7 +3470,7 @@ ___
|
|
|
3443
3470
|
|
|
3444
3471
|
#### Defined in
|
|
3445
3472
|
|
|
3446
|
-
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/
|
|
3473
|
+
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/rgbToHex.ts#L4)
|
|
3447
3474
|
|
|
3448
3475
|
___
|
|
3449
3476
|
|
|
@@ -3466,7 +3493,7 @@ ___
|
|
|
3466
3493
|
|
|
3467
3494
|
#### Defined in
|
|
3468
3495
|
|
|
3469
|
-
[round.ts:6](https://github.com/daysnap/utils/blob/
|
|
3496
|
+
[round.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/round.ts#L6)
|
|
3470
3497
|
|
|
3471
3498
|
___
|
|
3472
3499
|
|
|
@@ -3491,7 +3518,7 @@ ___
|
|
|
3491
3518
|
|
|
3492
3519
|
#### Defined in
|
|
3493
3520
|
|
|
3494
|
-
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/
|
|
3521
|
+
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/roundUpToNearestInteger.ts#L7)
|
|
3495
3522
|
|
|
3496
3523
|
___
|
|
3497
3524
|
|
|
@@ -3507,7 +3534,7 @@ ___
|
|
|
3507
3534
|
|
|
3508
3535
|
#### Defined in
|
|
3509
3536
|
|
|
3510
|
-
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3537
|
+
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/scrollToTop.ts#L4)
|
|
3511
3538
|
|
|
3512
3539
|
___
|
|
3513
3540
|
|
|
@@ -3529,7 +3556,7 @@ ___
|
|
|
3529
3556
|
|
|
3530
3557
|
#### Defined in
|
|
3531
3558
|
|
|
3532
|
-
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3559
|
+
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/setScrollTop.ts#L4)
|
|
3533
3560
|
|
|
3534
3561
|
___
|
|
3535
3562
|
|
|
@@ -3553,7 +3580,7 @@ ___
|
|
|
3553
3580
|
|
|
3554
3581
|
#### Defined in
|
|
3555
3582
|
|
|
3556
|
-
[sleep.ts:7](https://github.com/daysnap/utils/blob/
|
|
3583
|
+
[sleep.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/sleep.ts#L7)
|
|
3557
3584
|
|
|
3558
3585
|
___
|
|
3559
3586
|
|
|
@@ -3582,7 +3609,7 @@ ___
|
|
|
3582
3609
|
|
|
3583
3610
|
#### Defined in
|
|
3584
3611
|
|
|
3585
|
-
[splitArray.ts:4](https://github.com/daysnap/utils/blob/
|
|
3612
|
+
[splitArray.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/splitArray.ts#L4)
|
|
3586
3613
|
|
|
3587
3614
|
___
|
|
3588
3615
|
|
|
@@ -3605,7 +3632,7 @@ ___
|
|
|
3605
3632
|
|
|
3606
3633
|
#### Defined in
|
|
3607
3634
|
|
|
3608
|
-
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/
|
|
3635
|
+
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/stringTrim.ts#L6)
|
|
3609
3636
|
|
|
3610
3637
|
___
|
|
3611
3638
|
|
|
@@ -3627,7 +3654,7 @@ ___
|
|
|
3627
3654
|
|
|
3628
3655
|
#### Defined in
|
|
3629
3656
|
|
|
3630
|
-
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/
|
|
3657
|
+
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/e7ac628/src/stringifyQuery.ts#L7)
|
|
3631
3658
|
|
|
3632
3659
|
___
|
|
3633
3660
|
|
|
@@ -3651,7 +3678,7 @@ ___
|
|
|
3651
3678
|
|
|
3652
3679
|
#### Defined in
|
|
3653
3680
|
|
|
3654
|
-
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3681
|
+
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/stringifyQueryString.ts#L6)
|
|
3655
3682
|
|
|
3656
3683
|
___
|
|
3657
3684
|
|
|
@@ -3695,7 +3722,7 @@ ___
|
|
|
3695
3722
|
|
|
3696
3723
|
#### Defined in
|
|
3697
3724
|
|
|
3698
|
-
[throttle.ts:48](https://github.com/daysnap/utils/blob/
|
|
3725
|
+
[throttle.ts:48](https://github.com/daysnap/utils/blob/e7ac628/src/throttle.ts#L48)
|
|
3699
3726
|
|
|
3700
3727
|
___
|
|
3701
3728
|
|
|
@@ -3738,7 +3765,7 @@ ___
|
|
|
3738
3765
|
|
|
3739
3766
|
#### Defined in
|
|
3740
3767
|
|
|
3741
|
-
[throttle.ts:5](https://github.com/daysnap/utils/blob/
|
|
3768
|
+
[throttle.ts:5](https://github.com/daysnap/utils/blob/e7ac628/src/throttle.ts#L5)
|
|
3742
3769
|
|
|
3743
3770
|
___
|
|
3744
3771
|
|
|
@@ -3781,7 +3808,7 @@ ___
|
|
|
3781
3808
|
|
|
3782
3809
|
#### Defined in
|
|
3783
3810
|
|
|
3784
|
-
[throttle.ts:25](https://github.com/daysnap/utils/blob/
|
|
3811
|
+
[throttle.ts:25](https://github.com/daysnap/utils/blob/e7ac628/src/throttle.ts#L25)
|
|
3785
3812
|
|
|
3786
3813
|
___
|
|
3787
3814
|
|
|
@@ -3803,7 +3830,7 @@ ___
|
|
|
3803
3830
|
|
|
3804
3831
|
#### Defined in
|
|
3805
3832
|
|
|
3806
|
-
[toCDB.ts:4](https://github.com/daysnap/utils/blob/
|
|
3833
|
+
[toCDB.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/toCDB.ts#L4)
|
|
3807
3834
|
|
|
3808
3835
|
___
|
|
3809
3836
|
|
|
@@ -3825,7 +3852,7 @@ ___
|
|
|
3825
3852
|
|
|
3826
3853
|
#### Defined in
|
|
3827
3854
|
|
|
3828
|
-
[toDBC.ts:4](https://github.com/daysnap/utils/blob/
|
|
3855
|
+
[toDBC.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/toDBC.ts#L4)
|
|
3829
3856
|
|
|
3830
3857
|
___
|
|
3831
3858
|
|
|
@@ -3847,7 +3874,29 @@ ___
|
|
|
3847
3874
|
|
|
3848
3875
|
#### Defined in
|
|
3849
3876
|
|
|
3850
|
-
[toFormData.ts:4](https://github.com/daysnap/utils/blob/
|
|
3877
|
+
[toFormData.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/toFormData.ts#L4)
|
|
3878
|
+
|
|
3879
|
+
___
|
|
3880
|
+
|
|
3881
|
+
### toPosix
|
|
3882
|
+
|
|
3883
|
+
▸ **toPosix**(`value`): `string`
|
|
3884
|
+
|
|
3885
|
+
转换到 Posix 标准
|
|
3886
|
+
|
|
3887
|
+
#### Parameters
|
|
3888
|
+
|
|
3889
|
+
| Name | Type |
|
|
3890
|
+
| :------ | :------ |
|
|
3891
|
+
| `value` | `string` |
|
|
3892
|
+
|
|
3893
|
+
#### Returns
|
|
3894
|
+
|
|
3895
|
+
`string`
|
|
3896
|
+
|
|
3897
|
+
#### Defined in
|
|
3898
|
+
|
|
3899
|
+
toPosix.ts:4
|
|
3851
3900
|
|
|
3852
3901
|
___
|
|
3853
3902
|
|
|
@@ -3871,7 +3920,7 @@ ___
|
|
|
3871
3920
|
|
|
3872
3921
|
#### Defined in
|
|
3873
3922
|
|
|
3874
|
-
[typeOf.ts:6](https://github.com/daysnap/utils/blob/
|
|
3923
|
+
[typeOf.ts:6](https://github.com/daysnap/utils/blob/e7ac628/src/typeOf.ts#L6)
|
|
3875
3924
|
|
|
3876
3925
|
___
|
|
3877
3926
|
|
|
@@ -3899,7 +3948,7 @@ ___
|
|
|
3899
3948
|
|
|
3900
3949
|
#### Defined in
|
|
3901
3950
|
|
|
3902
|
-
[withCache.ts:4](https://github.com/daysnap/utils/blob/
|
|
3951
|
+
[withCache.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/withCache.ts#L4)
|
|
3903
3952
|
|
|
3904
3953
|
___
|
|
3905
3954
|
|
|
@@ -3928,4 +3977,4 @@ ___
|
|
|
3928
3977
|
|
|
3929
3978
|
#### Defined in
|
|
3930
3979
|
|
|
3931
|
-
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/
|
|
3980
|
+
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/e7ac628/src/withPreventConsecutiveClicks.ts#L4)
|