@daysnap/utils 0.1.32 → 0.1.34
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 +16 -16
- package/docs/interfaces/CreateWithToastOptions.md +37 -0
- 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 +229 -159
- package/es/chunk-B6HL3YHK.js +26 -0
- package/es/chunk-YUYAN2IU.js +29 -0
- package/es/createWithToast.d.ts +10 -0
- package/es/createWithToast.js +7 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +61 -53
- package/es/merge.d.ts +6 -0
- package/es/merge.js +7 -0
- package/es/storage/index.js +3 -3
- package/lib/chunk-45ZFYMTN.cjs +26 -0
- package/lib/chunk-6TPHE34J.cjs +29 -0
- package/lib/createWithToast.cjs +7 -0
- package/lib/createWithToast.d.cts +10 -0
- package/lib/index.cjs +45 -37
- package/lib/index.d.cts +2 -0
- package/lib/merge.cjs +7 -0
- package/lib/merge.d.cts +6 -0
- package/lib/storage/index.cjs +2 -2
- package/package.json +1 -1
package/docs/modules.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
### Interfaces
|
|
13
13
|
|
|
14
|
+
- [CreateWithToastOptions](interfaces/CreateWithToastOptions.md)
|
|
14
15
|
- [EventBusCallback](interfaces/EventBusCallback.md)
|
|
15
16
|
- [PollerOptions](interfaces/PollerOptions.md)
|
|
16
17
|
- [StorageManager](interfaces/StorageManager.md)
|
|
@@ -49,6 +50,7 @@
|
|
|
49
50
|
- [createLinearFunction](modules.md#createlinearfunction)
|
|
50
51
|
- [createTrapInstance](modules.md#createtrapinstance)
|
|
51
52
|
- [createWithLoading](modules.md#createwithloading)
|
|
53
|
+
- [createWithToast](modules.md#createwithtoast)
|
|
52
54
|
- [crlfToBr](modules.md#crlftobr)
|
|
53
55
|
- [debounce](modules.md#debounce)
|
|
54
56
|
- [downloadFile](modules.md#downloadfile)
|
|
@@ -133,6 +135,7 @@
|
|
|
133
135
|
- [lfToBr](modules.md#lftobr)
|
|
134
136
|
- [listGenerator](modules.md#listgenerator)
|
|
135
137
|
- [makePhoneCall](modules.md#makephonecall)
|
|
138
|
+
- [merge](modules.md#merge)
|
|
136
139
|
- [mousewheel](modules.md#mousewheel)
|
|
137
140
|
- [nf](modules.md#nf)
|
|
138
141
|
- [normalizeDate](modules.md#normalizedate)
|
|
@@ -198,7 +201,7 @@
|
|
|
198
201
|
|
|
199
202
|
#### Defined in
|
|
200
203
|
|
|
201
|
-
[poller.ts:7](https://github.com/daysnap/utils/blob/
|
|
204
|
+
[poller.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/poller.ts#L7)
|
|
202
205
|
|
|
203
206
|
## Variables
|
|
204
207
|
|
|
@@ -217,7 +220,7 @@
|
|
|
217
220
|
|
|
218
221
|
#### Defined in
|
|
219
222
|
|
|
220
|
-
[eventBus.ts:38](https://github.com/daysnap/utils/blob/
|
|
223
|
+
[eventBus.ts:38](https://github.com/daysnap/utils/blob/eebc05a/src/eventBus.ts#L38)
|
|
221
224
|
|
|
222
225
|
___
|
|
223
226
|
|
|
@@ -242,7 +245,7 @@ ___
|
|
|
242
245
|
|
|
243
246
|
#### Defined in
|
|
244
247
|
|
|
245
|
-
[sounds.ts:13](https://github.com/daysnap/utils/blob/
|
|
248
|
+
[sounds.ts:13](https://github.com/daysnap/utils/blob/eebc05a/src/sounds.ts#L13)
|
|
246
249
|
|
|
247
250
|
___
|
|
248
251
|
|
|
@@ -252,7 +255,7 @@ ___
|
|
|
252
255
|
|
|
253
256
|
#### Defined in
|
|
254
257
|
|
|
255
|
-
[trap.ts:15](https://github.com/daysnap/utils/blob/
|
|
258
|
+
[trap.ts:15](https://github.com/daysnap/utils/blob/eebc05a/src/trap.ts#L15)
|
|
256
259
|
|
|
257
260
|
## Functions
|
|
258
261
|
|
|
@@ -290,7 +293,7 @@ res = { '1': '男', '2': '女' }
|
|
|
290
293
|
|
|
291
294
|
#### Defined in
|
|
292
295
|
|
|
293
|
-
[ato.ts:12](https://github.com/daysnap/utils/blob/
|
|
296
|
+
[ato.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/ato.ts#L12)
|
|
294
297
|
|
|
295
298
|
▸ **ato**<`T`, `K`, `V`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `T`[`V`]\>
|
|
296
299
|
|
|
@@ -316,7 +319,7 @@ res = { '1': '男', '2': '女' }
|
|
|
316
319
|
|
|
317
320
|
#### Defined in
|
|
318
321
|
|
|
319
|
-
[ato.ts:16](https://github.com/daysnap/utils/blob/
|
|
322
|
+
[ato.ts:16](https://github.com/daysnap/utils/blob/eebc05a/src/ato.ts#L16)
|
|
320
323
|
|
|
321
324
|
___
|
|
322
325
|
|
|
@@ -336,7 +339,7 @@ ___
|
|
|
336
339
|
|
|
337
340
|
#### Defined in
|
|
338
341
|
|
|
339
|
-
[decode.ts:41](https://github.com/daysnap/utils/blob/
|
|
342
|
+
[decode.ts:41](https://github.com/daysnap/utils/blob/eebc05a/src/decode.ts#L41)
|
|
340
343
|
|
|
341
344
|
___
|
|
342
345
|
|
|
@@ -359,7 +362,7 @@ base64 转 blob
|
|
|
359
362
|
|
|
360
363
|
#### Defined in
|
|
361
364
|
|
|
362
|
-
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/
|
|
365
|
+
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/base64ToBlob.ts#L6)
|
|
363
366
|
|
|
364
367
|
___
|
|
365
368
|
|
|
@@ -381,7 +384,7 @@ blob 转 base64
|
|
|
381
384
|
|
|
382
385
|
#### Defined in
|
|
383
386
|
|
|
384
|
-
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/
|
|
387
|
+
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/blobToBase64.ts#L4)
|
|
385
388
|
|
|
386
389
|
___
|
|
387
390
|
|
|
@@ -401,7 +404,7 @@ ___
|
|
|
401
404
|
|
|
402
405
|
#### Defined in
|
|
403
406
|
|
|
404
|
-
[decode.ts:8](https://github.com/daysnap/utils/blob/
|
|
407
|
+
[decode.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/decode.ts#L8)
|
|
405
408
|
|
|
406
409
|
___
|
|
407
410
|
|
|
@@ -442,7 +445,7 @@ ___
|
|
|
442
445
|
|
|
443
446
|
#### Defined in
|
|
444
447
|
|
|
445
|
-
[cached.ts:5](https://github.com/daysnap/utils/blob/
|
|
448
|
+
[cached.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/cached.ts#L5)
|
|
446
449
|
|
|
447
450
|
___
|
|
448
451
|
|
|
@@ -465,7 +468,7 @@ camelCase('hello-world') => helloWorld
|
|
|
465
468
|
|
|
466
469
|
#### Defined in
|
|
467
470
|
|
|
468
|
-
[camelCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
471
|
+
[camelCase.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/camelCase.ts#L5)
|
|
469
472
|
|
|
470
473
|
___
|
|
471
474
|
|
|
@@ -489,7 +492,7 @@ canvas 转 blob 文件
|
|
|
489
492
|
|
|
490
493
|
#### Defined in
|
|
491
494
|
|
|
492
|
-
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/
|
|
495
|
+
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/canvasToBlob.ts#L4)
|
|
493
496
|
|
|
494
497
|
___
|
|
495
498
|
|
|
@@ -512,7 +515,7 @@ capitalize('hello world') => Hello world
|
|
|
512
515
|
|
|
513
516
|
#### Defined in
|
|
514
517
|
|
|
515
|
-
[capitalize.ts:5](https://github.com/daysnap/utils/blob/
|
|
518
|
+
[capitalize.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/capitalize.ts#L5)
|
|
516
519
|
|
|
517
520
|
___
|
|
518
521
|
|
|
@@ -537,7 +540,7 @@ ___
|
|
|
537
540
|
|
|
538
541
|
#### Defined in
|
|
539
542
|
|
|
540
|
-
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/
|
|
543
|
+
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/chooseMedia.ts#L5)
|
|
541
544
|
|
|
542
545
|
___
|
|
543
546
|
|
|
@@ -561,7 +564,7 @@ ___
|
|
|
561
564
|
|
|
562
565
|
#### Defined in
|
|
563
566
|
|
|
564
|
-
[clamp.ts:7](https://github.com/daysnap/utils/blob/
|
|
567
|
+
[clamp.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/clamp.ts#L7)
|
|
565
568
|
|
|
566
569
|
___
|
|
567
570
|
|
|
@@ -589,7 +592,7 @@ ___
|
|
|
589
592
|
|
|
590
593
|
#### Defined in
|
|
591
594
|
|
|
592
|
-
[clone.ts:8](https://github.com/daysnap/utils/blob/
|
|
595
|
+
[clone.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/clone.ts#L8)
|
|
593
596
|
|
|
594
597
|
___
|
|
595
598
|
|
|
@@ -617,7 +620,7 @@ ___
|
|
|
617
620
|
|
|
618
621
|
#### Defined in
|
|
619
622
|
|
|
620
|
-
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/
|
|
623
|
+
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/cloneSimple.ts#L7)
|
|
621
624
|
|
|
622
625
|
___
|
|
623
626
|
|
|
@@ -639,7 +642,7 @@ ___
|
|
|
639
642
|
|
|
640
643
|
#### Defined in
|
|
641
644
|
|
|
642
|
-
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/
|
|
645
|
+
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/createHexColorByHash.ts#L4)
|
|
643
646
|
|
|
644
647
|
___
|
|
645
648
|
|
|
@@ -665,7 +668,7 @@ ___
|
|
|
665
668
|
|
|
666
669
|
#### Defined in
|
|
667
670
|
|
|
668
|
-
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/
|
|
671
|
+
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/eebc05a/src/compareVersion.ts#L9)
|
|
669
672
|
|
|
670
673
|
___
|
|
671
674
|
|
|
@@ -688,7 +691,7 @@ ___
|
|
|
688
691
|
|
|
689
692
|
#### Defined in
|
|
690
693
|
|
|
691
|
-
[compressImage.ts:4](https://github.com/daysnap/utils/blob/
|
|
694
|
+
[compressImage.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/compressImage.ts#L4)
|
|
692
695
|
|
|
693
696
|
___
|
|
694
697
|
|
|
@@ -710,7 +713,7 @@ ___
|
|
|
710
713
|
|
|
711
714
|
#### Defined in
|
|
712
715
|
|
|
713
|
-
[crToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
716
|
+
[crToBr.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/crToBr.ts#L4)
|
|
714
717
|
|
|
715
718
|
___
|
|
716
719
|
|
|
@@ -738,7 +741,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
|
|
|
738
741
|
|
|
739
742
|
#### Defined in
|
|
740
743
|
|
|
741
|
-
[createFactory.ts:4](https://github.com/daysnap/utils/blob/
|
|
744
|
+
[createFactory.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/createFactory.ts#L4)
|
|
742
745
|
|
|
743
746
|
___
|
|
744
747
|
|
|
@@ -776,7 +779,7 @@ ___
|
|
|
776
779
|
|
|
777
780
|
#### Defined in
|
|
778
781
|
|
|
779
|
-
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/
|
|
782
|
+
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/eebc05a/src/createLinearFunction.ts#L9)
|
|
780
783
|
|
|
781
784
|
___
|
|
782
785
|
|
|
@@ -808,7 +811,7 @@ ___
|
|
|
808
811
|
|
|
809
812
|
#### Defined in
|
|
810
813
|
|
|
811
|
-
[trap.ts:49](https://github.com/daysnap/utils/blob/
|
|
814
|
+
[trap.ts:49](https://github.com/daysnap/utils/blob/eebc05a/src/trap.ts#L49)
|
|
812
815
|
|
|
813
816
|
___
|
|
814
817
|
|
|
@@ -871,7 +874,45 @@ fn() 执行的时候就会执行showLoading
|
|
|
871
874
|
|
|
872
875
|
#### Defined in
|
|
873
876
|
|
|
874
|
-
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/
|
|
877
|
+
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/createWithLoading.ts#L11)
|
|
878
|
+
|
|
879
|
+
___
|
|
880
|
+
|
|
881
|
+
### createWithToast
|
|
882
|
+
|
|
883
|
+
▸ **createWithToast**(`options?`): <T\>(`fn`: `T`) => `T`
|
|
884
|
+
|
|
885
|
+
#### Parameters
|
|
886
|
+
|
|
887
|
+
| Name | Type |
|
|
888
|
+
| :------ | :------ |
|
|
889
|
+
| `options` | [`CreateWithToastOptions`](interfaces/CreateWithToastOptions.md) |
|
|
890
|
+
|
|
891
|
+
#### Returns
|
|
892
|
+
|
|
893
|
+
`fn`
|
|
894
|
+
|
|
895
|
+
▸ <`T`\>(`fn`): `T`
|
|
896
|
+
|
|
897
|
+
##### Type parameters
|
|
898
|
+
|
|
899
|
+
| Name | Type |
|
|
900
|
+
| :------ | :------ |
|
|
901
|
+
| `T` | extends (...`args`: `any`) => `any` |
|
|
902
|
+
|
|
903
|
+
##### Parameters
|
|
904
|
+
|
|
905
|
+
| Name | Type |
|
|
906
|
+
| :------ | :------ |
|
|
907
|
+
| `fn` | `T` |
|
|
908
|
+
|
|
909
|
+
##### Returns
|
|
910
|
+
|
|
911
|
+
`T`
|
|
912
|
+
|
|
913
|
+
#### Defined in
|
|
914
|
+
|
|
915
|
+
[createWithToast.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/createWithToast.ts#L11)
|
|
875
916
|
|
|
876
917
|
___
|
|
877
918
|
|
|
@@ -893,7 +934,7 @@ ___
|
|
|
893
934
|
|
|
894
935
|
#### Defined in
|
|
895
936
|
|
|
896
|
-
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
937
|
+
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/crlfToBr.ts#L4)
|
|
897
938
|
|
|
898
939
|
___
|
|
899
940
|
|
|
@@ -936,7 +977,7 @@ ___
|
|
|
936
977
|
|
|
937
978
|
#### Defined in
|
|
938
979
|
|
|
939
|
-
[debounce.ts:5](https://github.com/daysnap/utils/blob/
|
|
980
|
+
[debounce.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/debounce.ts#L5)
|
|
940
981
|
|
|
941
982
|
___
|
|
942
983
|
|
|
@@ -960,7 +1001,7 @@ ___
|
|
|
960
1001
|
|
|
961
1002
|
#### Defined in
|
|
962
1003
|
|
|
963
|
-
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/
|
|
1004
|
+
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/downloadFile.ts#L4)
|
|
964
1005
|
|
|
965
1006
|
___
|
|
966
1007
|
|
|
@@ -989,7 +1030,7 @@ ___
|
|
|
989
1030
|
|
|
990
1031
|
#### Defined in
|
|
991
1032
|
|
|
992
|
-
[each.ts:4](https://github.com/daysnap/utils/blob/
|
|
1033
|
+
[each.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/each.ts#L4)
|
|
993
1034
|
|
|
994
1035
|
▸ **each**<`T`\>(`data`, `callback`): `void`
|
|
995
1036
|
|
|
@@ -1012,7 +1053,7 @@ ___
|
|
|
1012
1053
|
|
|
1013
1054
|
#### Defined in
|
|
1014
1055
|
|
|
1015
|
-
[each.ts:8](https://github.com/daysnap/utils/blob/
|
|
1056
|
+
[each.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/each.ts#L8)
|
|
1016
1057
|
|
|
1017
1058
|
___
|
|
1018
1059
|
|
|
@@ -1030,7 +1071,7 @@ ___
|
|
|
1030
1071
|
|
|
1031
1072
|
#### Defined in
|
|
1032
1073
|
|
|
1033
|
-
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
1074
|
+
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/exitFullscreen.ts#L6)
|
|
1034
1075
|
|
|
1035
1076
|
___
|
|
1036
1077
|
|
|
@@ -1059,7 +1100,7 @@ ___
|
|
|
1059
1100
|
|
|
1060
1101
|
#### Defined in
|
|
1061
1102
|
|
|
1062
|
-
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/
|
|
1103
|
+
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/storage/factory.ts#L11)
|
|
1063
1104
|
|
|
1064
1105
|
___
|
|
1065
1106
|
|
|
@@ -1081,7 +1122,7 @@ ___
|
|
|
1081
1122
|
|
|
1082
1123
|
#### Defined in
|
|
1083
1124
|
|
|
1084
|
-
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1125
|
+
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/filterBankCardNo.ts#L4)
|
|
1085
1126
|
|
|
1086
1127
|
___
|
|
1087
1128
|
|
|
@@ -1111,7 +1152,7 @@ ___
|
|
|
1111
1152
|
|
|
1112
1153
|
#### Defined in
|
|
1113
1154
|
|
|
1114
|
-
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/
|
|
1155
|
+
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/crlfToBr.ts#L12)
|
|
1115
1156
|
|
|
1116
1157
|
___
|
|
1117
1158
|
|
|
@@ -1133,7 +1174,7 @@ ___
|
|
|
1133
1174
|
|
|
1134
1175
|
#### Defined in
|
|
1135
1176
|
|
|
1136
|
-
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/
|
|
1177
|
+
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/filterEmoji.ts#L4)
|
|
1137
1178
|
|
|
1138
1179
|
___
|
|
1139
1180
|
|
|
@@ -1156,7 +1197,7 @@ ___
|
|
|
1156
1197
|
|
|
1157
1198
|
#### Defined in
|
|
1158
1199
|
|
|
1159
|
-
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/
|
|
1200
|
+
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/filterEmptyValue.ts#L12)
|
|
1160
1201
|
|
|
1161
1202
|
___
|
|
1162
1203
|
|
|
@@ -1179,7 +1220,7 @@ ___
|
|
|
1179
1220
|
|
|
1180
1221
|
#### Defined in
|
|
1181
1222
|
|
|
1182
|
-
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/
|
|
1223
|
+
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/filterIdCard.ts#L5)
|
|
1183
1224
|
|
|
1184
1225
|
___
|
|
1185
1226
|
|
|
@@ -1201,7 +1242,7 @@ ___
|
|
|
1201
1242
|
|
|
1202
1243
|
#### Defined in
|
|
1203
1244
|
|
|
1204
|
-
[filterName.ts:4](https://github.com/daysnap/utils/blob/
|
|
1245
|
+
[filterName.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/filterName.ts#L4)
|
|
1205
1246
|
|
|
1206
1247
|
___
|
|
1207
1248
|
|
|
@@ -1226,7 +1267,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
|
|
|
1226
1267
|
|
|
1227
1268
|
#### Defined in
|
|
1228
1269
|
|
|
1229
|
-
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/
|
|
1270
|
+
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/filterPhone.ts#L6)
|
|
1230
1271
|
|
|
1231
1272
|
___
|
|
1232
1273
|
|
|
@@ -1253,7 +1294,7 @@ str = '131****8888'
|
|
|
1253
1294
|
|
|
1254
1295
|
#### Defined in
|
|
1255
1296
|
|
|
1256
|
-
[filterString.ts:6](https://github.com/daysnap/utils/blob/
|
|
1297
|
+
[filterString.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/filterString.ts#L6)
|
|
1257
1298
|
|
|
1258
1299
|
___
|
|
1259
1300
|
|
|
@@ -1276,7 +1317,7 @@ ___
|
|
|
1276
1317
|
|
|
1277
1318
|
#### Defined in
|
|
1278
1319
|
|
|
1279
|
-
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/
|
|
1320
|
+
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/formatAmount.ts#L4)
|
|
1280
1321
|
|
|
1281
1322
|
___
|
|
1282
1323
|
|
|
@@ -1300,7 +1341,7 @@ ___
|
|
|
1300
1341
|
|
|
1301
1342
|
#### Defined in
|
|
1302
1343
|
|
|
1303
|
-
[formatDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1344
|
+
[formatDate.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/formatDate.ts#L7)
|
|
1304
1345
|
|
|
1305
1346
|
___
|
|
1306
1347
|
|
|
@@ -1331,7 +1372,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
|
|
|
1331
1372
|
|
|
1332
1373
|
#### Defined in
|
|
1333
1374
|
|
|
1334
|
-
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/
|
|
1375
|
+
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/formatDateStr.ts#L6)
|
|
1335
1376
|
|
|
1336
1377
|
___
|
|
1337
1378
|
|
|
@@ -1351,7 +1392,7 @@ ___
|
|
|
1351
1392
|
|
|
1352
1393
|
#### Defined in
|
|
1353
1394
|
|
|
1354
|
-
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/
|
|
1395
|
+
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/formartDateToZN.ts#L4)
|
|
1355
1396
|
|
|
1356
1397
|
___
|
|
1357
1398
|
|
|
@@ -1374,7 +1415,7 @@ ___
|
|
|
1374
1415
|
|
|
1375
1416
|
#### Defined in
|
|
1376
1417
|
|
|
1377
|
-
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/
|
|
1418
|
+
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/formatFileSize.ts#L4)
|
|
1378
1419
|
|
|
1379
1420
|
___
|
|
1380
1421
|
|
|
@@ -1397,7 +1438,7 @@ yyyyMMdd -> yyyy-MM-dd
|
|
|
1397
1438
|
|
|
1398
1439
|
#### Defined in
|
|
1399
1440
|
|
|
1400
|
-
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
1441
|
+
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/formatGapDate.ts#L4)
|
|
1401
1442
|
|
|
1402
1443
|
___
|
|
1403
1444
|
|
|
@@ -1422,7 +1463,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
|
|
|
1422
1463
|
|
|
1423
1464
|
#### Defined in
|
|
1424
1465
|
|
|
1425
|
-
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/
|
|
1466
|
+
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/formatMessage.ts#L11)
|
|
1426
1467
|
|
|
1427
1468
|
___
|
|
1428
1469
|
|
|
@@ -1454,7 +1495,7 @@ rest = { xxx: 1 }
|
|
|
1454
1495
|
|
|
1455
1496
|
#### Defined in
|
|
1456
1497
|
|
|
1457
|
-
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/
|
|
1498
|
+
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/formatPathParams.ts#L8)
|
|
1458
1499
|
|
|
1459
1500
|
___
|
|
1460
1501
|
|
|
@@ -1476,7 +1517,7 @@ ___
|
|
|
1476
1517
|
|
|
1477
1518
|
#### Defined in
|
|
1478
1519
|
|
|
1479
|
-
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/
|
|
1520
|
+
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getBlobByUrl.ts#L4)
|
|
1480
1521
|
|
|
1481
1522
|
___
|
|
1482
1523
|
|
|
@@ -1499,7 +1540,7 @@ ___
|
|
|
1499
1540
|
|
|
1500
1541
|
#### Defined in
|
|
1501
1542
|
|
|
1502
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1543
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/eebc05a/src/storage/index.ts#L10)
|
|
1503
1544
|
|
|
1504
1545
|
___
|
|
1505
1546
|
|
|
@@ -1522,7 +1563,7 @@ ___
|
|
|
1522
1563
|
|
|
1523
1564
|
#### Defined in
|
|
1524
1565
|
|
|
1525
|
-
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/
|
|
1566
|
+
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/getDateBoundsByMonths.ts#L8)
|
|
1526
1567
|
|
|
1527
1568
|
▸ **getDateBoundsByMonths**(`monthsCount`, `date`, `fmt`): [`string`, `string`]
|
|
1528
1569
|
|
|
@@ -1540,7 +1581,7 @@ ___
|
|
|
1540
1581
|
|
|
1541
1582
|
#### Defined in
|
|
1542
1583
|
|
|
1543
|
-
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/
|
|
1584
|
+
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/getDateBoundsByMonths.ts#L12)
|
|
1544
1585
|
|
|
1545
1586
|
___
|
|
1546
1587
|
|
|
@@ -1562,7 +1603,7 @@ ___
|
|
|
1562
1603
|
|
|
1563
1604
|
#### Defined in
|
|
1564
1605
|
|
|
1565
|
-
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/
|
|
1606
|
+
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getDayMillisecond.ts#L4)
|
|
1566
1607
|
|
|
1567
1608
|
___
|
|
1568
1609
|
|
|
@@ -1585,7 +1626,7 @@ ___
|
|
|
1585
1626
|
|
|
1586
1627
|
#### Defined in
|
|
1587
1628
|
|
|
1588
|
-
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/
|
|
1629
|
+
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getDaysOfMonth.ts#L4)
|
|
1589
1630
|
|
|
1590
1631
|
___
|
|
1591
1632
|
|
|
@@ -1608,7 +1649,7 @@ ___
|
|
|
1608
1649
|
|
|
1609
1650
|
#### Defined in
|
|
1610
1651
|
|
|
1611
|
-
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1652
|
+
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getImageInfo.ts#L4)
|
|
1612
1653
|
|
|
1613
1654
|
___
|
|
1614
1655
|
|
|
@@ -1631,7 +1672,7 @@ ___
|
|
|
1631
1672
|
|
|
1632
1673
|
#### Defined in
|
|
1633
1674
|
|
|
1634
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1675
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/eebc05a/src/storage/index.ts#L10)
|
|
1635
1676
|
|
|
1636
1677
|
___
|
|
1637
1678
|
|
|
@@ -1653,7 +1694,7 @@ ___
|
|
|
1653
1694
|
|
|
1654
1695
|
#### Defined in
|
|
1655
1696
|
|
|
1656
|
-
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1697
|
+
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getMonthBounds.ts#L7)
|
|
1657
1698
|
|
|
1658
1699
|
▸ **getMonthBounds**(`value`, `fmt`): [`string`, `string`]
|
|
1659
1700
|
|
|
@@ -1670,7 +1711,7 @@ ___
|
|
|
1670
1711
|
|
|
1671
1712
|
#### Defined in
|
|
1672
1713
|
|
|
1673
|
-
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/
|
|
1714
|
+
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/getMonthBounds.ts#L8)
|
|
1674
1715
|
|
|
1675
1716
|
___
|
|
1676
1717
|
|
|
@@ -1693,7 +1734,7 @@ ___
|
|
|
1693
1734
|
|
|
1694
1735
|
#### Defined in
|
|
1695
1736
|
|
|
1696
|
-
[getRandom.ts:7](https://github.com/daysnap/utils/blob/
|
|
1737
|
+
[getRandom.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getRandom.ts#L7)
|
|
1697
1738
|
|
|
1698
1739
|
___
|
|
1699
1740
|
|
|
@@ -1709,7 +1750,7 @@ ___
|
|
|
1709
1750
|
|
|
1710
1751
|
#### Defined in
|
|
1711
1752
|
|
|
1712
|
-
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/
|
|
1753
|
+
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getRandomColor.ts#L4)
|
|
1713
1754
|
|
|
1714
1755
|
___
|
|
1715
1756
|
|
|
@@ -1731,7 +1772,7 @@ ___
|
|
|
1731
1772
|
|
|
1732
1773
|
#### Defined in
|
|
1733
1774
|
|
|
1734
|
-
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/
|
|
1775
|
+
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getRandomNumber.ts#L7)
|
|
1735
1776
|
|
|
1736
1777
|
___
|
|
1737
1778
|
|
|
@@ -1754,7 +1795,7 @@ ___
|
|
|
1754
1795
|
|
|
1755
1796
|
#### Defined in
|
|
1756
1797
|
|
|
1757
|
-
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1798
|
+
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getRangeDate.ts#L7)
|
|
1758
1799
|
|
|
1759
1800
|
▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
|
|
1760
1801
|
|
|
@@ -1772,7 +1813,7 @@ ___
|
|
|
1772
1813
|
|
|
1773
1814
|
#### Defined in
|
|
1774
1815
|
|
|
1775
|
-
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/
|
|
1816
|
+
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/getRangeDate.ts#L11)
|
|
1776
1817
|
|
|
1777
1818
|
___
|
|
1778
1819
|
|
|
@@ -1788,7 +1829,7 @@ ___
|
|
|
1788
1829
|
|
|
1789
1830
|
#### Defined in
|
|
1790
1831
|
|
|
1791
|
-
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
1832
|
+
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getScrollTop.ts#L4)
|
|
1792
1833
|
|
|
1793
1834
|
___
|
|
1794
1835
|
|
|
@@ -1810,7 +1851,7 @@ ___
|
|
|
1810
1851
|
|
|
1811
1852
|
#### Defined in
|
|
1812
1853
|
|
|
1813
|
-
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1854
|
+
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/getVideoInfo.ts#L4)
|
|
1814
1855
|
|
|
1815
1856
|
___
|
|
1816
1857
|
|
|
@@ -1833,7 +1874,7 @@ ___
|
|
|
1833
1874
|
|
|
1834
1875
|
#### Defined in
|
|
1835
1876
|
|
|
1836
|
-
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1877
|
+
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/getWeekBounds.ts#L7)
|
|
1837
1878
|
|
|
1838
1879
|
▸ **getWeekBounds**(`value`, `sundayIsFirstDay`, `fmt`): [`string`, `string`]
|
|
1839
1880
|
|
|
@@ -1851,7 +1892,7 @@ ___
|
|
|
1851
1892
|
|
|
1852
1893
|
#### Defined in
|
|
1853
1894
|
|
|
1854
|
-
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/
|
|
1895
|
+
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/getWeekBounds.ts#L11)
|
|
1855
1896
|
|
|
1856
1897
|
___
|
|
1857
1898
|
|
|
@@ -1874,7 +1915,7 @@ ___
|
|
|
1874
1915
|
|
|
1875
1916
|
#### Defined in
|
|
1876
1917
|
|
|
1877
|
-
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/
|
|
1918
|
+
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/getWeekday.ts#L6)
|
|
1878
1919
|
|
|
1879
1920
|
___
|
|
1880
1921
|
|
|
@@ -1890,7 +1931,7 @@ ___
|
|
|
1890
1931
|
|
|
1891
1932
|
#### Defined in
|
|
1892
1933
|
|
|
1893
|
-
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/
|
|
1934
|
+
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/inBrowser.ts#L4)
|
|
1894
1935
|
|
|
1895
1936
|
___
|
|
1896
1937
|
|
|
@@ -1912,7 +1953,7 @@ ___
|
|
|
1912
1953
|
|
|
1913
1954
|
#### Defined in
|
|
1914
1955
|
|
|
1915
|
-
[insertLink.ts:4](https://github.com/daysnap/utils/blob/
|
|
1956
|
+
[insertLink.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/insertLink.ts#L4)
|
|
1916
1957
|
|
|
1917
1958
|
▸ **insertLink**(`href`, `callback`): `void`
|
|
1918
1959
|
|
|
@@ -1929,7 +1970,7 @@ ___
|
|
|
1929
1970
|
|
|
1930
1971
|
#### Defined in
|
|
1931
1972
|
|
|
1932
|
-
[insertLink.ts:5](https://github.com/daysnap/utils/blob/
|
|
1973
|
+
[insertLink.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/insertLink.ts#L5)
|
|
1933
1974
|
|
|
1934
1975
|
___
|
|
1935
1976
|
|
|
@@ -1951,7 +1992,7 @@ ___
|
|
|
1951
1992
|
|
|
1952
1993
|
#### Defined in
|
|
1953
1994
|
|
|
1954
|
-
[insertScript.ts:4](https://github.com/daysnap/utils/blob/
|
|
1995
|
+
[insertScript.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/insertScript.ts#L4)
|
|
1955
1996
|
|
|
1956
1997
|
▸ **insertScript**(`src`, `callback`): `void`
|
|
1957
1998
|
|
|
@@ -1968,7 +2009,7 @@ ___
|
|
|
1968
2009
|
|
|
1969
2010
|
#### Defined in
|
|
1970
2011
|
|
|
1971
|
-
[insertScript.ts:5](https://github.com/daysnap/utils/blob/
|
|
2012
|
+
[insertScript.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/insertScript.ts#L5)
|
|
1972
2013
|
|
|
1973
2014
|
___
|
|
1974
2015
|
|
|
@@ -1990,7 +2031,7 @@ ___
|
|
|
1990
2031
|
|
|
1991
2032
|
#### Defined in
|
|
1992
2033
|
|
|
1993
|
-
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/
|
|
2034
|
+
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/insertStyle.ts#L4)
|
|
1994
2035
|
|
|
1995
2036
|
___
|
|
1996
2037
|
|
|
@@ -2019,7 +2060,7 @@ isAmount('1.123') => false
|
|
|
2019
2060
|
|
|
2020
2061
|
#### Defined in
|
|
2021
2062
|
|
|
2022
|
-
[isAmount.ts:11](https://github.com/daysnap/utils/blob/
|
|
2063
|
+
[isAmount.ts:11](https://github.com/daysnap/utils/blob/eebc05a/src/isAmount.ts#L11)
|
|
2023
2064
|
|
|
2024
2065
|
___
|
|
2025
2066
|
|
|
@@ -2035,7 +2076,7 @@ ___
|
|
|
2035
2076
|
|
|
2036
2077
|
#### Defined in
|
|
2037
2078
|
|
|
2038
|
-
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/
|
|
2079
|
+
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isAndroid.ts#L4)
|
|
2039
2080
|
|
|
2040
2081
|
___
|
|
2041
2082
|
|
|
@@ -2065,7 +2106,7 @@ val is T[]
|
|
|
2065
2106
|
|
|
2066
2107
|
#### Defined in
|
|
2067
2108
|
|
|
2068
|
-
[isArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2109
|
+
[isArray.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isArray.ts#L6)
|
|
2069
2110
|
|
|
2070
2111
|
___
|
|
2071
2112
|
|
|
@@ -2087,7 +2128,7 @@ val is boolean
|
|
|
2087
2128
|
|
|
2088
2129
|
#### Defined in
|
|
2089
2130
|
|
|
2090
|
-
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/
|
|
2131
|
+
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isBoolean.ts#L5)
|
|
2091
2132
|
|
|
2092
2133
|
___
|
|
2093
2134
|
|
|
@@ -2109,7 +2150,7 @@ ___
|
|
|
2109
2150
|
|
|
2110
2151
|
#### Defined in
|
|
2111
2152
|
|
|
2112
|
-
[isChinese.ts:4](https://github.com/daysnap/utils/blob/
|
|
2153
|
+
[isChinese.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isChinese.ts#L4)
|
|
2113
2154
|
|
|
2114
2155
|
___
|
|
2115
2156
|
|
|
@@ -2131,7 +2172,7 @@ val is Date
|
|
|
2131
2172
|
|
|
2132
2173
|
#### Defined in
|
|
2133
2174
|
|
|
2134
|
-
[isDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
2175
|
+
[isDate.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isDate.ts#L4)
|
|
2135
2176
|
|
|
2136
2177
|
___
|
|
2137
2178
|
|
|
@@ -2153,7 +2194,7 @@ ___
|
|
|
2153
2194
|
|
|
2154
2195
|
#### Defined in
|
|
2155
2196
|
|
|
2156
|
-
[isEmail.ts:4](https://github.com/daysnap/utils/blob/
|
|
2197
|
+
[isEmail.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isEmail.ts#L4)
|
|
2157
2198
|
|
|
2158
2199
|
___
|
|
2159
2200
|
|
|
@@ -2175,7 +2216,7 @@ ___
|
|
|
2175
2216
|
|
|
2176
2217
|
#### Defined in
|
|
2177
2218
|
|
|
2178
|
-
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/
|
|
2219
|
+
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isEmpty.ts#L6)
|
|
2179
2220
|
|
|
2180
2221
|
___
|
|
2181
2222
|
|
|
@@ -2197,7 +2238,7 @@ ___
|
|
|
2197
2238
|
|
|
2198
2239
|
#### Defined in
|
|
2199
2240
|
|
|
2200
|
-
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2241
|
+
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isEmptyArray.ts#L6)
|
|
2201
2242
|
|
|
2202
2243
|
___
|
|
2203
2244
|
|
|
@@ -2219,7 +2260,7 @@ ___
|
|
|
2219
2260
|
|
|
2220
2261
|
#### Defined in
|
|
2221
2262
|
|
|
2222
|
-
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
2263
|
+
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isEmptyObject.ts#L5)
|
|
2223
2264
|
|
|
2224
2265
|
___
|
|
2225
2266
|
|
|
@@ -2241,7 +2282,7 @@ val is Error
|
|
|
2241
2282
|
|
|
2242
2283
|
#### Defined in
|
|
2243
2284
|
|
|
2244
|
-
[isError.ts:4](https://github.com/daysnap/utils/blob/
|
|
2285
|
+
[isError.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isError.ts#L4)
|
|
2245
2286
|
|
|
2246
2287
|
___
|
|
2247
2288
|
|
|
@@ -2269,7 +2310,7 @@ val is T
|
|
|
2269
2310
|
|
|
2270
2311
|
#### Defined in
|
|
2271
2312
|
|
|
2272
|
-
[isFunction.ts:4](https://github.com/daysnap/utils/blob/
|
|
2313
|
+
[isFunction.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isFunction.ts#L4)
|
|
2273
2314
|
|
|
2274
2315
|
___
|
|
2275
2316
|
|
|
@@ -2287,7 +2328,7 @@ ___
|
|
|
2287
2328
|
|
|
2288
2329
|
#### Defined in
|
|
2289
2330
|
|
|
2290
|
-
[isIE.ts:6](https://github.com/daysnap/utils/blob/
|
|
2331
|
+
[isIE.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isIE.ts#L6)
|
|
2291
2332
|
|
|
2292
2333
|
___
|
|
2293
2334
|
|
|
@@ -2303,7 +2344,7 @@ ___
|
|
|
2303
2344
|
|
|
2304
2345
|
#### Defined in
|
|
2305
2346
|
|
|
2306
|
-
[isIOS.ts:4](https://github.com/daysnap/utils/blob/
|
|
2347
|
+
[isIOS.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isIOS.ts#L4)
|
|
2307
2348
|
|
|
2308
2349
|
___
|
|
2309
2350
|
|
|
@@ -2325,7 +2366,7 @@ ___
|
|
|
2325
2366
|
|
|
2326
2367
|
#### Defined in
|
|
2327
2368
|
|
|
2328
|
-
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/
|
|
2369
|
+
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isIdCard.ts#L4)
|
|
2329
2370
|
|
|
2330
2371
|
___
|
|
2331
2372
|
|
|
@@ -2347,7 +2388,7 @@ ___
|
|
|
2347
2388
|
|
|
2348
2389
|
#### Defined in
|
|
2349
2390
|
|
|
2350
|
-
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/
|
|
2391
|
+
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/isJSONString.ts#L7)
|
|
2351
2392
|
|
|
2352
2393
|
___
|
|
2353
2394
|
|
|
@@ -2369,7 +2410,7 @@ ___
|
|
|
2369
2410
|
|
|
2370
2411
|
#### Defined in
|
|
2371
2412
|
|
|
2372
|
-
[isLan.ts:5](https://github.com/daysnap/utils/blob/
|
|
2413
|
+
[isLan.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isLan.ts#L5)
|
|
2373
2414
|
|
|
2374
2415
|
___
|
|
2375
2416
|
|
|
@@ -2392,7 +2433,7 @@ ___
|
|
|
2392
2433
|
|
|
2393
2434
|
#### Defined in
|
|
2394
2435
|
|
|
2395
|
-
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/
|
|
2436
|
+
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isLeapYear.ts#L5)
|
|
2396
2437
|
|
|
2397
2438
|
___
|
|
2398
2439
|
|
|
@@ -2414,7 +2455,7 @@ ___
|
|
|
2414
2455
|
|
|
2415
2456
|
#### Defined in
|
|
2416
2457
|
|
|
2417
|
-
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/
|
|
2458
|
+
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isLicenseCode.ts#L5)
|
|
2418
2459
|
|
|
2419
2460
|
___
|
|
2420
2461
|
|
|
@@ -2430,7 +2471,7 @@ ___
|
|
|
2430
2471
|
|
|
2431
2472
|
#### Defined in
|
|
2432
2473
|
|
|
2433
|
-
[isMobile.ts:4](https://github.com/daysnap/utils/blob/
|
|
2474
|
+
[isMobile.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isMobile.ts#L4)
|
|
2434
2475
|
|
|
2435
2476
|
___
|
|
2436
2477
|
|
|
@@ -2453,7 +2494,7 @@ ___
|
|
|
2453
2494
|
|
|
2454
2495
|
#### Defined in
|
|
2455
2496
|
|
|
2456
|
-
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/
|
|
2497
|
+
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/isNativeFunction.ts#L7)
|
|
2457
2498
|
|
|
2458
2499
|
___
|
|
2459
2500
|
|
|
@@ -2475,7 +2516,7 @@ ___
|
|
|
2475
2516
|
|
|
2476
2517
|
#### Defined in
|
|
2477
2518
|
|
|
2478
|
-
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/
|
|
2519
|
+
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isNotEmpty.ts#L5)
|
|
2479
2520
|
|
|
2480
2521
|
___
|
|
2481
2522
|
|
|
@@ -2497,7 +2538,7 @@ val is null
|
|
|
2497
2538
|
|
|
2498
2539
|
#### Defined in
|
|
2499
2540
|
|
|
2500
|
-
[isNull.ts:4](https://github.com/daysnap/utils/blob/
|
|
2541
|
+
[isNull.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isNull.ts#L4)
|
|
2501
2542
|
|
|
2502
2543
|
___
|
|
2503
2544
|
|
|
@@ -2519,7 +2560,7 @@ val is number
|
|
|
2519
2560
|
|
|
2520
2561
|
#### Defined in
|
|
2521
2562
|
|
|
2522
|
-
[isNumber.ts:5](https://github.com/daysnap/utils/blob/
|
|
2563
|
+
[isNumber.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isNumber.ts#L5)
|
|
2523
2564
|
|
|
2524
2565
|
___
|
|
2525
2566
|
|
|
@@ -2547,7 +2588,7 @@ val is T
|
|
|
2547
2588
|
|
|
2548
2589
|
#### Defined in
|
|
2549
2590
|
|
|
2550
|
-
[isObject.ts:4](https://github.com/daysnap/utils/blob/
|
|
2591
|
+
[isObject.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isObject.ts#L4)
|
|
2551
2592
|
|
|
2552
2593
|
___
|
|
2553
2594
|
|
|
@@ -2569,7 +2610,7 @@ ___
|
|
|
2569
2610
|
|
|
2570
2611
|
#### Defined in
|
|
2571
2612
|
|
|
2572
|
-
[isPhone.ts:4](https://github.com/daysnap/utils/blob/
|
|
2613
|
+
[isPhone.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isPhone.ts#L4)
|
|
2573
2614
|
|
|
2574
2615
|
___
|
|
2575
2616
|
|
|
@@ -2597,7 +2638,7 @@ val is Promise<T\>
|
|
|
2597
2638
|
|
|
2598
2639
|
#### Defined in
|
|
2599
2640
|
|
|
2600
|
-
[isPromise.ts:4](https://github.com/daysnap/utils/blob/
|
|
2641
|
+
[isPromise.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isPromise.ts#L4)
|
|
2601
2642
|
|
|
2602
2643
|
___
|
|
2603
2644
|
|
|
@@ -2625,7 +2666,7 @@ value is PromiseLike<T\>
|
|
|
2625
2666
|
|
|
2626
2667
|
#### Defined in
|
|
2627
2668
|
|
|
2628
|
-
isPromiseLike.ts:4
|
|
2669
|
+
[isPromiseLike.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isPromiseLike.ts#L4)
|
|
2629
2670
|
|
|
2630
2671
|
___
|
|
2631
2672
|
|
|
@@ -2647,7 +2688,7 @@ val is RegExp
|
|
|
2647
2688
|
|
|
2648
2689
|
#### Defined in
|
|
2649
2690
|
|
|
2650
|
-
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/
|
|
2691
|
+
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isRegExp.ts#L4)
|
|
2651
2692
|
|
|
2652
2693
|
___
|
|
2653
2694
|
|
|
@@ -2669,7 +2710,7 @@ val is string
|
|
|
2669
2710
|
|
|
2670
2711
|
#### Defined in
|
|
2671
2712
|
|
|
2672
|
-
[isString.ts:4](https://github.com/daysnap/utils/blob/
|
|
2713
|
+
[isString.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isString.ts#L4)
|
|
2673
2714
|
|
|
2674
2715
|
___
|
|
2675
2716
|
|
|
@@ -2698,7 +2739,7 @@ val is T
|
|
|
2698
2739
|
|
|
2699
2740
|
#### Defined in
|
|
2700
2741
|
|
|
2701
|
-
[isType.ts:4](https://github.com/daysnap/utils/blob/
|
|
2742
|
+
[isType.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isType.ts#L4)
|
|
2702
2743
|
|
|
2703
2744
|
___
|
|
2704
2745
|
|
|
@@ -2720,7 +2761,7 @@ val is undefined
|
|
|
2720
2761
|
|
|
2721
2762
|
#### Defined in
|
|
2722
2763
|
|
|
2723
|
-
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/
|
|
2764
|
+
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isUndefined.ts#L4)
|
|
2724
2765
|
|
|
2725
2766
|
___
|
|
2726
2767
|
|
|
@@ -2764,7 +2805,7 @@ ___
|
|
|
2764
2805
|
|
|
2765
2806
|
#### Defined in
|
|
2766
2807
|
|
|
2767
|
-
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/
|
|
2808
|
+
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/isValidDate.ts#L6)
|
|
2768
2809
|
|
|
2769
2810
|
___
|
|
2770
2811
|
|
|
@@ -2780,7 +2821,7 @@ ___
|
|
|
2780
2821
|
|
|
2781
2822
|
#### Defined in
|
|
2782
2823
|
|
|
2783
|
-
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/
|
|
2824
|
+
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/isWeChat.ts#L4)
|
|
2784
2825
|
|
|
2785
2826
|
___
|
|
2786
2827
|
|
|
@@ -2797,7 +2838,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
|
|
|
2797
2838
|
|
|
2798
2839
|
#### Defined in
|
|
2799
2840
|
|
|
2800
|
-
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/
|
|
2841
|
+
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isWeChatMiniProgram.ts#L5)
|
|
2801
2842
|
|
|
2802
2843
|
___
|
|
2803
2844
|
|
|
@@ -2821,7 +2862,7 @@ ___
|
|
|
2821
2862
|
|
|
2822
2863
|
#### Defined in
|
|
2823
2864
|
|
|
2824
|
-
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/
|
|
2865
|
+
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/eebc05a/src/isWeChat.ts#L12)
|
|
2825
2866
|
|
|
2826
2867
|
___
|
|
2827
2868
|
|
|
@@ -2843,7 +2884,7 @@ val is Window
|
|
|
2843
2884
|
|
|
2844
2885
|
#### Defined in
|
|
2845
2886
|
|
|
2846
|
-
[isWindow.ts:5](https://github.com/daysnap/utils/blob/
|
|
2887
|
+
[isWindow.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/isWindow.ts#L5)
|
|
2847
2888
|
|
|
2848
2889
|
___
|
|
2849
2890
|
|
|
@@ -2866,7 +2907,7 @@ kebabCase('helloWorld') => hello-world
|
|
|
2866
2907
|
|
|
2867
2908
|
#### Defined in
|
|
2868
2909
|
|
|
2869
|
-
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
2910
|
+
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/kebabCase.ts#L5)
|
|
2870
2911
|
|
|
2871
2912
|
___
|
|
2872
2913
|
|
|
@@ -2888,7 +2929,7 @@ ___
|
|
|
2888
2929
|
|
|
2889
2930
|
#### Defined in
|
|
2890
2931
|
|
|
2891
|
-
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
2932
|
+
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/lfToBr.ts#L4)
|
|
2892
2933
|
|
|
2893
2934
|
___
|
|
2894
2935
|
|
|
@@ -2910,7 +2951,7 @@ list 生成器,快速生成数据
|
|
|
2910
2951
|
|
|
2911
2952
|
#### Defined in
|
|
2912
2953
|
|
|
2913
|
-
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/
|
|
2954
|
+
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/listGenerator.ts#L5)
|
|
2914
2955
|
|
|
2915
2956
|
▸ **listGenerator**<`T`\>(`length`, `fn`): `T`[]
|
|
2916
2957
|
|
|
@@ -2933,7 +2974,7 @@ list 生成器,快速生成数据
|
|
|
2933
2974
|
|
|
2934
2975
|
#### Defined in
|
|
2935
2976
|
|
|
2936
|
-
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/
|
|
2977
|
+
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/listGenerator.ts#L6)
|
|
2937
2978
|
|
|
2938
2979
|
___
|
|
2939
2980
|
|
|
@@ -2953,7 +2994,36 @@ ___
|
|
|
2953
2994
|
|
|
2954
2995
|
#### Defined in
|
|
2955
2996
|
|
|
2956
|
-
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/
|
|
2997
|
+
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/eebc05a/src/makePhoneCall.ts#L1)
|
|
2998
|
+
|
|
2999
|
+
___
|
|
3000
|
+
|
|
3001
|
+
### merge
|
|
3002
|
+
|
|
3003
|
+
▸ **merge**<`R`\>(`target`, `...sources`): `R`
|
|
3004
|
+
|
|
3005
|
+
深度合并对象,返回新对象
|
|
3006
|
+
|
|
3007
|
+
#### Type parameters
|
|
3008
|
+
|
|
3009
|
+
| Name | Type |
|
|
3010
|
+
| :------ | :------ |
|
|
3011
|
+
| `R` | extends `Record`<`string`, `any`\> = `any` |
|
|
3012
|
+
|
|
3013
|
+
#### Parameters
|
|
3014
|
+
|
|
3015
|
+
| Name | Type |
|
|
3016
|
+
| :------ | :------ |
|
|
3017
|
+
| `target` | `Record`<`string`, `any`\> |
|
|
3018
|
+
| `...sources` | `Record`<`string`, `any`\>[] |
|
|
3019
|
+
|
|
3020
|
+
#### Returns
|
|
3021
|
+
|
|
3022
|
+
`R`
|
|
3023
|
+
|
|
3024
|
+
#### Defined in
|
|
3025
|
+
|
|
3026
|
+
merge.ts:6
|
|
2957
3027
|
|
|
2958
3028
|
___
|
|
2959
3029
|
|
|
@@ -2978,7 +3048,7 @@ ___
|
|
|
2978
3048
|
|
|
2979
3049
|
#### Defined in
|
|
2980
3050
|
|
|
2981
|
-
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/
|
|
3051
|
+
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/eebc05a/src/mousewheel.ts#L22)
|
|
2982
3052
|
|
|
2983
3053
|
___
|
|
2984
3054
|
|
|
@@ -2994,7 +3064,7 @@ ___
|
|
|
2994
3064
|
|
|
2995
3065
|
#### Defined in
|
|
2996
3066
|
|
|
2997
|
-
[nf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3067
|
+
[nf.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/nf.ts#L4)
|
|
2998
3068
|
|
|
2999
3069
|
___
|
|
3000
3070
|
|
|
@@ -3018,7 +3088,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
|
|
|
3018
3088
|
|
|
3019
3089
|
#### Defined in
|
|
3020
3090
|
|
|
3021
|
-
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/
|
|
3091
|
+
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/normalizeDate.ts#L8)
|
|
3022
3092
|
|
|
3023
3093
|
___
|
|
3024
3094
|
|
|
@@ -3040,7 +3110,7 @@ ___
|
|
|
3040
3110
|
|
|
3041
3111
|
#### Defined in
|
|
3042
3112
|
|
|
3043
|
-
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/
|
|
3113
|
+
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/normalizePath.ts#L4)
|
|
3044
3114
|
|
|
3045
3115
|
___
|
|
3046
3116
|
|
|
@@ -3062,7 +3132,7 @@ ___
|
|
|
3062
3132
|
|
|
3063
3133
|
#### Defined in
|
|
3064
3134
|
|
|
3065
|
-
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/
|
|
3135
|
+
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/numberToLetter.ts#L4)
|
|
3066
3136
|
|
|
3067
3137
|
___
|
|
3068
3138
|
|
|
@@ -3092,7 +3162,7 @@ ___
|
|
|
3092
3162
|
|
|
3093
3163
|
#### Defined in
|
|
3094
3164
|
|
|
3095
|
-
[omit.ts:4](https://github.com/daysnap/utils/blob/
|
|
3165
|
+
[omit.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/omit.ts#L4)
|
|
3096
3166
|
|
|
3097
3167
|
___
|
|
3098
3168
|
|
|
@@ -3123,7 +3193,7 @@ omitBy(object, isNumber);
|
|
|
3123
3193
|
|
|
3124
3194
|
#### Defined in
|
|
3125
3195
|
|
|
3126
|
-
[omitBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3196
|
+
[omitBy.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/omitBy.ts#L6)
|
|
3127
3197
|
|
|
3128
3198
|
___
|
|
3129
3199
|
|
|
@@ -3147,7 +3217,7 @@ ___
|
|
|
3147
3217
|
|
|
3148
3218
|
#### Defined in
|
|
3149
3219
|
|
|
3150
|
-
[padding.ts:7](https://github.com/daysnap/utils/blob/
|
|
3220
|
+
[padding.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/padding.ts#L7)
|
|
3151
3221
|
|
|
3152
3222
|
___
|
|
3153
3223
|
|
|
@@ -3173,7 +3243,7 @@ ___
|
|
|
3173
3243
|
|
|
3174
3244
|
#### Defined in
|
|
3175
3245
|
|
|
3176
|
-
[parseDate.ts:5](https://github.com/daysnap/utils/blob/
|
|
3246
|
+
[parseDate.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/parseDate.ts#L5)
|
|
3177
3247
|
|
|
3178
3248
|
___
|
|
3179
3249
|
|
|
@@ -3199,7 +3269,7 @@ ___
|
|
|
3199
3269
|
|
|
3200
3270
|
#### Defined in
|
|
3201
3271
|
|
|
3202
|
-
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/
|
|
3272
|
+
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/parseDecimalString.ts#L5)
|
|
3203
3273
|
|
|
3204
3274
|
___
|
|
3205
3275
|
|
|
@@ -3222,7 +3292,7 @@ ___
|
|
|
3222
3292
|
|
|
3223
3293
|
#### Defined in
|
|
3224
3294
|
|
|
3225
|
-
[parseError.ts:8](https://github.com/daysnap/utils/blob/
|
|
3295
|
+
[parseError.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/parseError.ts#L8)
|
|
3226
3296
|
|
|
3227
3297
|
___
|
|
3228
3298
|
|
|
@@ -3247,7 +3317,7 @@ x0123 => ''
|
|
|
3247
3317
|
|
|
3248
3318
|
#### Defined in
|
|
3249
3319
|
|
|
3250
|
-
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/
|
|
3320
|
+
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/parseNumberString.ts#L7)
|
|
3251
3321
|
|
|
3252
3322
|
___
|
|
3253
3323
|
|
|
@@ -3277,7 +3347,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
|
|
|
3277
3347
|
|
|
3278
3348
|
#### Defined in
|
|
3279
3349
|
|
|
3280
|
-
[parseObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
3350
|
+
[parseObject.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/parseObject.ts#L5)
|
|
3281
3351
|
|
|
3282
3352
|
___
|
|
3283
3353
|
|
|
@@ -3306,7 +3376,7 @@ ___
|
|
|
3306
3376
|
|
|
3307
3377
|
#### Defined in
|
|
3308
3378
|
|
|
3309
|
-
[parsePath.ts:6](https://github.com/daysnap/utils/blob/
|
|
3379
|
+
[parsePath.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/parsePath.ts#L6)
|
|
3310
3380
|
|
|
3311
3381
|
___
|
|
3312
3382
|
|
|
@@ -3329,7 +3399,7 @@ ___
|
|
|
3329
3399
|
|
|
3330
3400
|
#### Defined in
|
|
3331
3401
|
|
|
3332
|
-
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/
|
|
3402
|
+
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/parseQuery.ts#L8)
|
|
3333
3403
|
|
|
3334
3404
|
___
|
|
3335
3405
|
|
|
@@ -3359,7 +3429,7 @@ ___
|
|
|
3359
3429
|
|
|
3360
3430
|
#### Defined in
|
|
3361
3431
|
|
|
3362
|
-
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3432
|
+
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/parseQueryString.ts#L6)
|
|
3363
3433
|
|
|
3364
3434
|
___
|
|
3365
3435
|
|
|
@@ -3382,7 +3452,7 @@ pascalCase('hello-world') => HelloWorld
|
|
|
3382
3452
|
|
|
3383
3453
|
#### Defined in
|
|
3384
3454
|
|
|
3385
|
-
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/
|
|
3455
|
+
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/pascalCase.ts#L8)
|
|
3386
3456
|
|
|
3387
3457
|
___
|
|
3388
3458
|
|
|
@@ -3412,7 +3482,7 @@ ___
|
|
|
3412
3482
|
|
|
3413
3483
|
#### Defined in
|
|
3414
3484
|
|
|
3415
|
-
[pick.ts:4](https://github.com/daysnap/utils/blob/
|
|
3485
|
+
[pick.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/pick.ts#L4)
|
|
3416
3486
|
|
|
3417
3487
|
___
|
|
3418
3488
|
|
|
@@ -3443,7 +3513,7 @@ pickBy(object, isNumber);
|
|
|
3443
3513
|
|
|
3444
3514
|
#### Defined in
|
|
3445
3515
|
|
|
3446
|
-
[pickBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3516
|
+
[pickBy.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/pickBy.ts#L6)
|
|
3447
3517
|
|
|
3448
3518
|
___
|
|
3449
3519
|
|
|
@@ -3466,7 +3536,7 @@ ___
|
|
|
3466
3536
|
|
|
3467
3537
|
#### Defined in
|
|
3468
3538
|
|
|
3469
|
-
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3539
|
+
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/replaceCrlf.ts#L4)
|
|
3470
3540
|
|
|
3471
3541
|
___
|
|
3472
3542
|
|
|
@@ -3490,7 +3560,7 @@ ___
|
|
|
3490
3560
|
|
|
3491
3561
|
#### Defined in
|
|
3492
3562
|
|
|
3493
|
-
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
3563
|
+
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/requestFullScreen.ts#L6)
|
|
3494
3564
|
|
|
3495
3565
|
___
|
|
3496
3566
|
|
|
@@ -3516,7 +3586,7 @@ reserve(0, '--') => 0
|
|
|
3516
3586
|
|
|
3517
3587
|
#### Defined in
|
|
3518
3588
|
|
|
3519
|
-
[reserve.ts:8](https://github.com/daysnap/utils/blob/
|
|
3589
|
+
[reserve.ts:8](https://github.com/daysnap/utils/blob/eebc05a/src/reserve.ts#L8)
|
|
3520
3590
|
|
|
3521
3591
|
___
|
|
3522
3592
|
|
|
@@ -3540,7 +3610,7 @@ ___
|
|
|
3540
3610
|
|
|
3541
3611
|
#### Defined in
|
|
3542
3612
|
|
|
3543
|
-
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/
|
|
3613
|
+
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/rgbToHex.ts#L4)
|
|
3544
3614
|
|
|
3545
3615
|
___
|
|
3546
3616
|
|
|
@@ -3563,7 +3633,7 @@ ___
|
|
|
3563
3633
|
|
|
3564
3634
|
#### Defined in
|
|
3565
3635
|
|
|
3566
|
-
[round.ts:6](https://github.com/daysnap/utils/blob/
|
|
3636
|
+
[round.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/round.ts#L6)
|
|
3567
3637
|
|
|
3568
3638
|
___
|
|
3569
3639
|
|
|
@@ -3588,7 +3658,7 @@ ___
|
|
|
3588
3658
|
|
|
3589
3659
|
#### Defined in
|
|
3590
3660
|
|
|
3591
|
-
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/
|
|
3661
|
+
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/roundUpToNearestInteger.ts#L7)
|
|
3592
3662
|
|
|
3593
3663
|
___
|
|
3594
3664
|
|
|
@@ -3604,7 +3674,7 @@ ___
|
|
|
3604
3674
|
|
|
3605
3675
|
#### Defined in
|
|
3606
3676
|
|
|
3607
|
-
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3677
|
+
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/scrollToTop.ts#L4)
|
|
3608
3678
|
|
|
3609
3679
|
___
|
|
3610
3680
|
|
|
@@ -3626,7 +3696,7 @@ ___
|
|
|
3626
3696
|
|
|
3627
3697
|
#### Defined in
|
|
3628
3698
|
|
|
3629
|
-
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3699
|
+
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/setScrollTop.ts#L4)
|
|
3630
3700
|
|
|
3631
3701
|
___
|
|
3632
3702
|
|
|
@@ -3650,7 +3720,7 @@ ___
|
|
|
3650
3720
|
|
|
3651
3721
|
#### Defined in
|
|
3652
3722
|
|
|
3653
|
-
[sleep.ts:7](https://github.com/daysnap/utils/blob/
|
|
3723
|
+
[sleep.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/sleep.ts#L7)
|
|
3654
3724
|
|
|
3655
3725
|
___
|
|
3656
3726
|
|
|
@@ -3679,7 +3749,7 @@ ___
|
|
|
3679
3749
|
|
|
3680
3750
|
#### Defined in
|
|
3681
3751
|
|
|
3682
|
-
[splitArray.ts:4](https://github.com/daysnap/utils/blob/
|
|
3752
|
+
[splitArray.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/splitArray.ts#L4)
|
|
3683
3753
|
|
|
3684
3754
|
___
|
|
3685
3755
|
|
|
@@ -3702,7 +3772,7 @@ ___
|
|
|
3702
3772
|
|
|
3703
3773
|
#### Defined in
|
|
3704
3774
|
|
|
3705
|
-
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/
|
|
3775
|
+
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/stringTrim.ts#L6)
|
|
3706
3776
|
|
|
3707
3777
|
___
|
|
3708
3778
|
|
|
@@ -3724,7 +3794,7 @@ ___
|
|
|
3724
3794
|
|
|
3725
3795
|
#### Defined in
|
|
3726
3796
|
|
|
3727
|
-
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/
|
|
3797
|
+
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/eebc05a/src/stringifyQuery.ts#L7)
|
|
3728
3798
|
|
|
3729
3799
|
___
|
|
3730
3800
|
|
|
@@ -3748,7 +3818,7 @@ ___
|
|
|
3748
3818
|
|
|
3749
3819
|
#### Defined in
|
|
3750
3820
|
|
|
3751
|
-
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3821
|
+
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/stringifyQueryString.ts#L6)
|
|
3752
3822
|
|
|
3753
3823
|
___
|
|
3754
3824
|
|
|
@@ -3792,7 +3862,7 @@ ___
|
|
|
3792
3862
|
|
|
3793
3863
|
#### Defined in
|
|
3794
3864
|
|
|
3795
|
-
[throttle.ts:48](https://github.com/daysnap/utils/blob/
|
|
3865
|
+
[throttle.ts:48](https://github.com/daysnap/utils/blob/eebc05a/src/throttle.ts#L48)
|
|
3796
3866
|
|
|
3797
3867
|
___
|
|
3798
3868
|
|
|
@@ -3835,7 +3905,7 @@ ___
|
|
|
3835
3905
|
|
|
3836
3906
|
#### Defined in
|
|
3837
3907
|
|
|
3838
|
-
[throttle.ts:5](https://github.com/daysnap/utils/blob/
|
|
3908
|
+
[throttle.ts:5](https://github.com/daysnap/utils/blob/eebc05a/src/throttle.ts#L5)
|
|
3839
3909
|
|
|
3840
3910
|
___
|
|
3841
3911
|
|
|
@@ -3878,7 +3948,7 @@ ___
|
|
|
3878
3948
|
|
|
3879
3949
|
#### Defined in
|
|
3880
3950
|
|
|
3881
|
-
[throttle.ts:25](https://github.com/daysnap/utils/blob/
|
|
3951
|
+
[throttle.ts:25](https://github.com/daysnap/utils/blob/eebc05a/src/throttle.ts#L25)
|
|
3882
3952
|
|
|
3883
3953
|
___
|
|
3884
3954
|
|
|
@@ -3900,7 +3970,7 @@ ___
|
|
|
3900
3970
|
|
|
3901
3971
|
#### Defined in
|
|
3902
3972
|
|
|
3903
|
-
[toCDB.ts:4](https://github.com/daysnap/utils/blob/
|
|
3973
|
+
[toCDB.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/toCDB.ts#L4)
|
|
3904
3974
|
|
|
3905
3975
|
___
|
|
3906
3976
|
|
|
@@ -3922,7 +3992,7 @@ ___
|
|
|
3922
3992
|
|
|
3923
3993
|
#### Defined in
|
|
3924
3994
|
|
|
3925
|
-
[toDBC.ts:4](https://github.com/daysnap/utils/blob/
|
|
3995
|
+
[toDBC.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/toDBC.ts#L4)
|
|
3926
3996
|
|
|
3927
3997
|
___
|
|
3928
3998
|
|
|
@@ -3944,7 +4014,7 @@ ___
|
|
|
3944
4014
|
|
|
3945
4015
|
#### Defined in
|
|
3946
4016
|
|
|
3947
|
-
[toFormData.ts:4](https://github.com/daysnap/utils/blob/
|
|
4017
|
+
[toFormData.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/toFormData.ts#L4)
|
|
3948
4018
|
|
|
3949
4019
|
___
|
|
3950
4020
|
|
|
@@ -3966,7 +4036,7 @@ ___
|
|
|
3966
4036
|
|
|
3967
4037
|
#### Defined in
|
|
3968
4038
|
|
|
3969
|
-
[toPosix.ts:4](https://github.com/daysnap/utils/blob/
|
|
4039
|
+
[toPosix.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/toPosix.ts#L4)
|
|
3970
4040
|
|
|
3971
4041
|
___
|
|
3972
4042
|
|
|
@@ -3990,7 +4060,7 @@ ___
|
|
|
3990
4060
|
|
|
3991
4061
|
#### Defined in
|
|
3992
4062
|
|
|
3993
|
-
[typeOf.ts:6](https://github.com/daysnap/utils/blob/
|
|
4063
|
+
[typeOf.ts:6](https://github.com/daysnap/utils/blob/eebc05a/src/typeOf.ts#L6)
|
|
3994
4064
|
|
|
3995
4065
|
___
|
|
3996
4066
|
|
|
@@ -4018,7 +4088,7 @@ ___
|
|
|
4018
4088
|
|
|
4019
4089
|
#### Defined in
|
|
4020
4090
|
|
|
4021
|
-
[withCache.ts:4](https://github.com/daysnap/utils/blob/
|
|
4091
|
+
[withCache.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/withCache.ts#L4)
|
|
4022
4092
|
|
|
4023
4093
|
___
|
|
4024
4094
|
|
|
@@ -4047,4 +4117,4 @@ ___
|
|
|
4047
4117
|
|
|
4048
4118
|
#### Defined in
|
|
4049
4119
|
|
|
4050
|
-
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/
|
|
4120
|
+
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/eebc05a/src/withPreventConsecutiveClicks.ts#L4)
|