@daysnap/utils 0.1.32 → 0.1.33
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 +199 -159
- 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 +1 -0
- package/es/index.js +43 -39
- package/es/storage/index.js +3 -3
- package/lib/chunk-6TPHE34J.cjs +29 -0
- package/lib/createWithToast.cjs +7 -0
- package/lib/createWithToast.d.cts +10 -0
- package/lib/index.cjs +32 -28
- package/lib/index.d.cts +1 -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)
|
|
@@ -198,7 +200,7 @@
|
|
|
198
200
|
|
|
199
201
|
#### Defined in
|
|
200
202
|
|
|
201
|
-
[poller.ts:7](https://github.com/daysnap/utils/blob/
|
|
203
|
+
[poller.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/poller.ts#L7)
|
|
202
204
|
|
|
203
205
|
## Variables
|
|
204
206
|
|
|
@@ -217,7 +219,7 @@
|
|
|
217
219
|
|
|
218
220
|
#### Defined in
|
|
219
221
|
|
|
220
|
-
[eventBus.ts:38](https://github.com/daysnap/utils/blob/
|
|
222
|
+
[eventBus.ts:38](https://github.com/daysnap/utils/blob/551cd93/src/eventBus.ts#L38)
|
|
221
223
|
|
|
222
224
|
___
|
|
223
225
|
|
|
@@ -242,7 +244,7 @@ ___
|
|
|
242
244
|
|
|
243
245
|
#### Defined in
|
|
244
246
|
|
|
245
|
-
[sounds.ts:13](https://github.com/daysnap/utils/blob/
|
|
247
|
+
[sounds.ts:13](https://github.com/daysnap/utils/blob/551cd93/src/sounds.ts#L13)
|
|
246
248
|
|
|
247
249
|
___
|
|
248
250
|
|
|
@@ -252,7 +254,7 @@ ___
|
|
|
252
254
|
|
|
253
255
|
#### Defined in
|
|
254
256
|
|
|
255
|
-
[trap.ts:15](https://github.com/daysnap/utils/blob/
|
|
257
|
+
[trap.ts:15](https://github.com/daysnap/utils/blob/551cd93/src/trap.ts#L15)
|
|
256
258
|
|
|
257
259
|
## Functions
|
|
258
260
|
|
|
@@ -290,7 +292,7 @@ res = { '1': '男', '2': '女' }
|
|
|
290
292
|
|
|
291
293
|
#### Defined in
|
|
292
294
|
|
|
293
|
-
[ato.ts:12](https://github.com/daysnap/utils/blob/
|
|
295
|
+
[ato.ts:12](https://github.com/daysnap/utils/blob/551cd93/src/ato.ts#L12)
|
|
294
296
|
|
|
295
297
|
▸ **ato**<`T`, `K`, `V`\>(`options`, `labelKey`, `valueKey`): `Record`<`T`[`K`], `T`[`V`]\>
|
|
296
298
|
|
|
@@ -316,7 +318,7 @@ res = { '1': '男', '2': '女' }
|
|
|
316
318
|
|
|
317
319
|
#### Defined in
|
|
318
320
|
|
|
319
|
-
[ato.ts:16](https://github.com/daysnap/utils/blob/
|
|
321
|
+
[ato.ts:16](https://github.com/daysnap/utils/blob/551cd93/src/ato.ts#L16)
|
|
320
322
|
|
|
321
323
|
___
|
|
322
324
|
|
|
@@ -336,7 +338,7 @@ ___
|
|
|
336
338
|
|
|
337
339
|
#### Defined in
|
|
338
340
|
|
|
339
|
-
[decode.ts:41](https://github.com/daysnap/utils/blob/
|
|
341
|
+
[decode.ts:41](https://github.com/daysnap/utils/blob/551cd93/src/decode.ts#L41)
|
|
340
342
|
|
|
341
343
|
___
|
|
342
344
|
|
|
@@ -359,7 +361,7 @@ base64 转 blob
|
|
|
359
361
|
|
|
360
362
|
#### Defined in
|
|
361
363
|
|
|
362
|
-
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/
|
|
364
|
+
[base64ToBlob.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/base64ToBlob.ts#L6)
|
|
363
365
|
|
|
364
366
|
___
|
|
365
367
|
|
|
@@ -381,7 +383,7 @@ blob 转 base64
|
|
|
381
383
|
|
|
382
384
|
#### Defined in
|
|
383
385
|
|
|
384
|
-
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/
|
|
386
|
+
[blobToBase64.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/blobToBase64.ts#L4)
|
|
385
387
|
|
|
386
388
|
___
|
|
387
389
|
|
|
@@ -401,7 +403,7 @@ ___
|
|
|
401
403
|
|
|
402
404
|
#### Defined in
|
|
403
405
|
|
|
404
|
-
[decode.ts:8](https://github.com/daysnap/utils/blob/
|
|
406
|
+
[decode.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/decode.ts#L8)
|
|
405
407
|
|
|
406
408
|
___
|
|
407
409
|
|
|
@@ -442,7 +444,7 @@ ___
|
|
|
442
444
|
|
|
443
445
|
#### Defined in
|
|
444
446
|
|
|
445
|
-
[cached.ts:5](https://github.com/daysnap/utils/blob/
|
|
447
|
+
[cached.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/cached.ts#L5)
|
|
446
448
|
|
|
447
449
|
___
|
|
448
450
|
|
|
@@ -465,7 +467,7 @@ camelCase('hello-world') => helloWorld
|
|
|
465
467
|
|
|
466
468
|
#### Defined in
|
|
467
469
|
|
|
468
|
-
[camelCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
470
|
+
[camelCase.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/camelCase.ts#L5)
|
|
469
471
|
|
|
470
472
|
___
|
|
471
473
|
|
|
@@ -489,7 +491,7 @@ canvas 转 blob 文件
|
|
|
489
491
|
|
|
490
492
|
#### Defined in
|
|
491
493
|
|
|
492
|
-
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/
|
|
494
|
+
[canvasToBlob.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/canvasToBlob.ts#L4)
|
|
493
495
|
|
|
494
496
|
___
|
|
495
497
|
|
|
@@ -512,7 +514,7 @@ capitalize('hello world') => Hello world
|
|
|
512
514
|
|
|
513
515
|
#### Defined in
|
|
514
516
|
|
|
515
|
-
[capitalize.ts:5](https://github.com/daysnap/utils/blob/
|
|
517
|
+
[capitalize.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/capitalize.ts#L5)
|
|
516
518
|
|
|
517
519
|
___
|
|
518
520
|
|
|
@@ -537,7 +539,7 @@ ___
|
|
|
537
539
|
|
|
538
540
|
#### Defined in
|
|
539
541
|
|
|
540
|
-
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/
|
|
542
|
+
[chooseMedia.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/chooseMedia.ts#L5)
|
|
541
543
|
|
|
542
544
|
___
|
|
543
545
|
|
|
@@ -561,7 +563,7 @@ ___
|
|
|
561
563
|
|
|
562
564
|
#### Defined in
|
|
563
565
|
|
|
564
|
-
[clamp.ts:7](https://github.com/daysnap/utils/blob/
|
|
566
|
+
[clamp.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/clamp.ts#L7)
|
|
565
567
|
|
|
566
568
|
___
|
|
567
569
|
|
|
@@ -589,7 +591,7 @@ ___
|
|
|
589
591
|
|
|
590
592
|
#### Defined in
|
|
591
593
|
|
|
592
|
-
[clone.ts:8](https://github.com/daysnap/utils/blob/
|
|
594
|
+
[clone.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/clone.ts#L8)
|
|
593
595
|
|
|
594
596
|
___
|
|
595
597
|
|
|
@@ -617,7 +619,7 @@ ___
|
|
|
617
619
|
|
|
618
620
|
#### Defined in
|
|
619
621
|
|
|
620
|
-
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/
|
|
622
|
+
[cloneSimple.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/cloneSimple.ts#L7)
|
|
621
623
|
|
|
622
624
|
___
|
|
623
625
|
|
|
@@ -639,7 +641,7 @@ ___
|
|
|
639
641
|
|
|
640
642
|
#### Defined in
|
|
641
643
|
|
|
642
|
-
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/
|
|
644
|
+
[createHexColorByHash.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/createHexColorByHash.ts#L4)
|
|
643
645
|
|
|
644
646
|
___
|
|
645
647
|
|
|
@@ -665,7 +667,7 @@ ___
|
|
|
665
667
|
|
|
666
668
|
#### Defined in
|
|
667
669
|
|
|
668
|
-
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/
|
|
670
|
+
[compareVersion.ts:9](https://github.com/daysnap/utils/blob/551cd93/src/compareVersion.ts#L9)
|
|
669
671
|
|
|
670
672
|
___
|
|
671
673
|
|
|
@@ -688,7 +690,7 @@ ___
|
|
|
688
690
|
|
|
689
691
|
#### Defined in
|
|
690
692
|
|
|
691
|
-
[compressImage.ts:4](https://github.com/daysnap/utils/blob/
|
|
693
|
+
[compressImage.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/compressImage.ts#L4)
|
|
692
694
|
|
|
693
695
|
___
|
|
694
696
|
|
|
@@ -710,7 +712,7 @@ ___
|
|
|
710
712
|
|
|
711
713
|
#### Defined in
|
|
712
714
|
|
|
713
|
-
[crToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
715
|
+
[crToBr.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/crToBr.ts#L4)
|
|
714
716
|
|
|
715
717
|
___
|
|
716
718
|
|
|
@@ -738,7 +740,7 @@ readonly [(`value`: `T`) => `T`, () => `T`]
|
|
|
738
740
|
|
|
739
741
|
#### Defined in
|
|
740
742
|
|
|
741
|
-
[createFactory.ts:4](https://github.com/daysnap/utils/blob/
|
|
743
|
+
[createFactory.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/createFactory.ts#L4)
|
|
742
744
|
|
|
743
745
|
___
|
|
744
746
|
|
|
@@ -776,7 +778,7 @@ ___
|
|
|
776
778
|
|
|
777
779
|
#### Defined in
|
|
778
780
|
|
|
779
|
-
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/
|
|
781
|
+
[createLinearFunction.ts:9](https://github.com/daysnap/utils/blob/551cd93/src/createLinearFunction.ts#L9)
|
|
780
782
|
|
|
781
783
|
___
|
|
782
784
|
|
|
@@ -808,7 +810,7 @@ ___
|
|
|
808
810
|
|
|
809
811
|
#### Defined in
|
|
810
812
|
|
|
811
|
-
[trap.ts:49](https://github.com/daysnap/utils/blob/
|
|
813
|
+
[trap.ts:49](https://github.com/daysnap/utils/blob/551cd93/src/trap.ts#L49)
|
|
812
814
|
|
|
813
815
|
___
|
|
814
816
|
|
|
@@ -871,7 +873,45 @@ fn() 执行的时候就会执行showLoading
|
|
|
871
873
|
|
|
872
874
|
#### Defined in
|
|
873
875
|
|
|
874
|
-
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/
|
|
876
|
+
[createWithLoading.ts:11](https://github.com/daysnap/utils/blob/551cd93/src/createWithLoading.ts#L11)
|
|
877
|
+
|
|
878
|
+
___
|
|
879
|
+
|
|
880
|
+
### createWithToast
|
|
881
|
+
|
|
882
|
+
▸ **createWithToast**(`options?`): <T\>(`fn`: `T`) => `T`
|
|
883
|
+
|
|
884
|
+
#### Parameters
|
|
885
|
+
|
|
886
|
+
| Name | Type |
|
|
887
|
+
| :------ | :------ |
|
|
888
|
+
| `options` | [`CreateWithToastOptions`](interfaces/CreateWithToastOptions.md) |
|
|
889
|
+
|
|
890
|
+
#### Returns
|
|
891
|
+
|
|
892
|
+
`fn`
|
|
893
|
+
|
|
894
|
+
▸ <`T`\>(`fn`): `T`
|
|
895
|
+
|
|
896
|
+
##### Type parameters
|
|
897
|
+
|
|
898
|
+
| Name | Type |
|
|
899
|
+
| :------ | :------ |
|
|
900
|
+
| `T` | extends (...`args`: `any`) => `any` |
|
|
901
|
+
|
|
902
|
+
##### Parameters
|
|
903
|
+
|
|
904
|
+
| Name | Type |
|
|
905
|
+
| :------ | :------ |
|
|
906
|
+
| `fn` | `T` |
|
|
907
|
+
|
|
908
|
+
##### Returns
|
|
909
|
+
|
|
910
|
+
`T`
|
|
911
|
+
|
|
912
|
+
#### Defined in
|
|
913
|
+
|
|
914
|
+
createWithToast.ts:11
|
|
875
915
|
|
|
876
916
|
___
|
|
877
917
|
|
|
@@ -893,7 +933,7 @@ ___
|
|
|
893
933
|
|
|
894
934
|
#### Defined in
|
|
895
935
|
|
|
896
|
-
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
936
|
+
[crlfToBr.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/crlfToBr.ts#L4)
|
|
897
937
|
|
|
898
938
|
___
|
|
899
939
|
|
|
@@ -936,7 +976,7 @@ ___
|
|
|
936
976
|
|
|
937
977
|
#### Defined in
|
|
938
978
|
|
|
939
|
-
[debounce.ts:5](https://github.com/daysnap/utils/blob/
|
|
979
|
+
[debounce.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/debounce.ts#L5)
|
|
940
980
|
|
|
941
981
|
___
|
|
942
982
|
|
|
@@ -960,7 +1000,7 @@ ___
|
|
|
960
1000
|
|
|
961
1001
|
#### Defined in
|
|
962
1002
|
|
|
963
|
-
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/
|
|
1003
|
+
[downloadFile.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/downloadFile.ts#L4)
|
|
964
1004
|
|
|
965
1005
|
___
|
|
966
1006
|
|
|
@@ -989,7 +1029,7 @@ ___
|
|
|
989
1029
|
|
|
990
1030
|
#### Defined in
|
|
991
1031
|
|
|
992
|
-
[each.ts:4](https://github.com/daysnap/utils/blob/
|
|
1032
|
+
[each.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/each.ts#L4)
|
|
993
1033
|
|
|
994
1034
|
▸ **each**<`T`\>(`data`, `callback`): `void`
|
|
995
1035
|
|
|
@@ -1012,7 +1052,7 @@ ___
|
|
|
1012
1052
|
|
|
1013
1053
|
#### Defined in
|
|
1014
1054
|
|
|
1015
|
-
[each.ts:8](https://github.com/daysnap/utils/blob/
|
|
1055
|
+
[each.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/each.ts#L8)
|
|
1016
1056
|
|
|
1017
1057
|
___
|
|
1018
1058
|
|
|
@@ -1030,7 +1070,7 @@ ___
|
|
|
1030
1070
|
|
|
1031
1071
|
#### Defined in
|
|
1032
1072
|
|
|
1033
|
-
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
1073
|
+
[exitFullscreen.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/exitFullscreen.ts#L6)
|
|
1034
1074
|
|
|
1035
1075
|
___
|
|
1036
1076
|
|
|
@@ -1059,7 +1099,7 @@ ___
|
|
|
1059
1099
|
|
|
1060
1100
|
#### Defined in
|
|
1061
1101
|
|
|
1062
|
-
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/
|
|
1102
|
+
[storage/factory.ts:11](https://github.com/daysnap/utils/blob/551cd93/src/storage/factory.ts#L11)
|
|
1063
1103
|
|
|
1064
1104
|
___
|
|
1065
1105
|
|
|
@@ -1081,7 +1121,7 @@ ___
|
|
|
1081
1121
|
|
|
1082
1122
|
#### Defined in
|
|
1083
1123
|
|
|
1084
|
-
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1124
|
+
[filterBankCardNo.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/filterBankCardNo.ts#L4)
|
|
1085
1125
|
|
|
1086
1126
|
___
|
|
1087
1127
|
|
|
@@ -1111,7 +1151,7 @@ ___
|
|
|
1111
1151
|
|
|
1112
1152
|
#### Defined in
|
|
1113
1153
|
|
|
1114
|
-
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/
|
|
1154
|
+
[crlfToBr.ts:12](https://github.com/daysnap/utils/blob/551cd93/src/crlfToBr.ts#L12)
|
|
1115
1155
|
|
|
1116
1156
|
___
|
|
1117
1157
|
|
|
@@ -1133,7 +1173,7 @@ ___
|
|
|
1133
1173
|
|
|
1134
1174
|
#### Defined in
|
|
1135
1175
|
|
|
1136
|
-
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/
|
|
1176
|
+
[filterEmoji.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/filterEmoji.ts#L4)
|
|
1137
1177
|
|
|
1138
1178
|
___
|
|
1139
1179
|
|
|
@@ -1156,7 +1196,7 @@ ___
|
|
|
1156
1196
|
|
|
1157
1197
|
#### Defined in
|
|
1158
1198
|
|
|
1159
|
-
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/
|
|
1199
|
+
[filterEmptyValue.ts:12](https://github.com/daysnap/utils/blob/551cd93/src/filterEmptyValue.ts#L12)
|
|
1160
1200
|
|
|
1161
1201
|
___
|
|
1162
1202
|
|
|
@@ -1179,7 +1219,7 @@ ___
|
|
|
1179
1219
|
|
|
1180
1220
|
#### Defined in
|
|
1181
1221
|
|
|
1182
|
-
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/
|
|
1222
|
+
[filterIdCard.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/filterIdCard.ts#L5)
|
|
1183
1223
|
|
|
1184
1224
|
___
|
|
1185
1225
|
|
|
@@ -1201,7 +1241,7 @@ ___
|
|
|
1201
1241
|
|
|
1202
1242
|
#### Defined in
|
|
1203
1243
|
|
|
1204
|
-
[filterName.ts:4](https://github.com/daysnap/utils/blob/
|
|
1244
|
+
[filterName.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/filterName.ts#L4)
|
|
1205
1245
|
|
|
1206
1246
|
___
|
|
1207
1247
|
|
|
@@ -1226,7 +1266,7 @@ filterPhone('13177778888', ' ') => 131 **** 8888
|
|
|
1226
1266
|
|
|
1227
1267
|
#### Defined in
|
|
1228
1268
|
|
|
1229
|
-
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/
|
|
1269
|
+
[filterPhone.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/filterPhone.ts#L6)
|
|
1230
1270
|
|
|
1231
1271
|
___
|
|
1232
1272
|
|
|
@@ -1253,7 +1293,7 @@ str = '131****8888'
|
|
|
1253
1293
|
|
|
1254
1294
|
#### Defined in
|
|
1255
1295
|
|
|
1256
|
-
[filterString.ts:6](https://github.com/daysnap/utils/blob/
|
|
1296
|
+
[filterString.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/filterString.ts#L6)
|
|
1257
1297
|
|
|
1258
1298
|
___
|
|
1259
1299
|
|
|
@@ -1276,7 +1316,7 @@ ___
|
|
|
1276
1316
|
|
|
1277
1317
|
#### Defined in
|
|
1278
1318
|
|
|
1279
|
-
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/
|
|
1319
|
+
[formatAmount.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/formatAmount.ts#L4)
|
|
1280
1320
|
|
|
1281
1321
|
___
|
|
1282
1322
|
|
|
@@ -1300,7 +1340,7 @@ ___
|
|
|
1300
1340
|
|
|
1301
1341
|
#### Defined in
|
|
1302
1342
|
|
|
1303
|
-
[formatDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1343
|
+
[formatDate.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/formatDate.ts#L7)
|
|
1304
1344
|
|
|
1305
1345
|
___
|
|
1306
1346
|
|
|
@@ -1331,7 +1371,7 @@ fix iOS 日期时间格式如果是 - 就会报错的问题
|
|
|
1331
1371
|
|
|
1332
1372
|
#### Defined in
|
|
1333
1373
|
|
|
1334
|
-
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/
|
|
1374
|
+
[formatDateStr.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/formatDateStr.ts#L6)
|
|
1335
1375
|
|
|
1336
1376
|
___
|
|
1337
1377
|
|
|
@@ -1351,7 +1391,7 @@ ___
|
|
|
1351
1391
|
|
|
1352
1392
|
#### Defined in
|
|
1353
1393
|
|
|
1354
|
-
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/
|
|
1394
|
+
[formartDateToZN.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/formartDateToZN.ts#L4)
|
|
1355
1395
|
|
|
1356
1396
|
___
|
|
1357
1397
|
|
|
@@ -1374,7 +1414,7 @@ ___
|
|
|
1374
1414
|
|
|
1375
1415
|
#### Defined in
|
|
1376
1416
|
|
|
1377
|
-
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/
|
|
1417
|
+
[formatFileSize.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/formatFileSize.ts#L4)
|
|
1378
1418
|
|
|
1379
1419
|
___
|
|
1380
1420
|
|
|
@@ -1397,7 +1437,7 @@ yyyyMMdd -> yyyy-MM-dd
|
|
|
1397
1437
|
|
|
1398
1438
|
#### Defined in
|
|
1399
1439
|
|
|
1400
|
-
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
1440
|
+
[formatGapDate.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/formatGapDate.ts#L4)
|
|
1401
1441
|
|
|
1402
1442
|
___
|
|
1403
1443
|
|
|
@@ -1422,7 +1462,7 @@ formatMessage({ a: '123', b: { ba: '456' } }, ['b.ba']) => '456'
|
|
|
1422
1462
|
|
|
1423
1463
|
#### Defined in
|
|
1424
1464
|
|
|
1425
|
-
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/
|
|
1465
|
+
[formatMessage.ts:11](https://github.com/daysnap/utils/blob/551cd93/src/formatMessage.ts#L11)
|
|
1426
1466
|
|
|
1427
1467
|
___
|
|
1428
1468
|
|
|
@@ -1454,7 +1494,7 @@ rest = { xxx: 1 }
|
|
|
1454
1494
|
|
|
1455
1495
|
#### Defined in
|
|
1456
1496
|
|
|
1457
|
-
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/
|
|
1497
|
+
[formatPathParams.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/formatPathParams.ts#L8)
|
|
1458
1498
|
|
|
1459
1499
|
___
|
|
1460
1500
|
|
|
@@ -1476,7 +1516,7 @@ ___
|
|
|
1476
1516
|
|
|
1477
1517
|
#### Defined in
|
|
1478
1518
|
|
|
1479
|
-
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/
|
|
1519
|
+
[getBlobByUrl.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/getBlobByUrl.ts#L4)
|
|
1480
1520
|
|
|
1481
1521
|
___
|
|
1482
1522
|
|
|
@@ -1499,7 +1539,7 @@ ___
|
|
|
1499
1539
|
|
|
1500
1540
|
#### Defined in
|
|
1501
1541
|
|
|
1502
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1542
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/551cd93/src/storage/index.ts#L10)
|
|
1503
1543
|
|
|
1504
1544
|
___
|
|
1505
1545
|
|
|
@@ -1522,7 +1562,7 @@ ___
|
|
|
1522
1562
|
|
|
1523
1563
|
#### Defined in
|
|
1524
1564
|
|
|
1525
|
-
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/
|
|
1565
|
+
[getDateBoundsByMonths.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/getDateBoundsByMonths.ts#L8)
|
|
1526
1566
|
|
|
1527
1567
|
▸ **getDateBoundsByMonths**(`monthsCount`, `date`, `fmt`): [`string`, `string`]
|
|
1528
1568
|
|
|
@@ -1540,7 +1580,7 @@ ___
|
|
|
1540
1580
|
|
|
1541
1581
|
#### Defined in
|
|
1542
1582
|
|
|
1543
|
-
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/
|
|
1583
|
+
[getDateBoundsByMonths.ts:12](https://github.com/daysnap/utils/blob/551cd93/src/getDateBoundsByMonths.ts#L12)
|
|
1544
1584
|
|
|
1545
1585
|
___
|
|
1546
1586
|
|
|
@@ -1562,7 +1602,7 @@ ___
|
|
|
1562
1602
|
|
|
1563
1603
|
#### Defined in
|
|
1564
1604
|
|
|
1565
|
-
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/
|
|
1605
|
+
[getDayMillisecond.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/getDayMillisecond.ts#L4)
|
|
1566
1606
|
|
|
1567
1607
|
___
|
|
1568
1608
|
|
|
@@ -1585,7 +1625,7 @@ ___
|
|
|
1585
1625
|
|
|
1586
1626
|
#### Defined in
|
|
1587
1627
|
|
|
1588
|
-
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/
|
|
1628
|
+
[getDaysOfMonth.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/getDaysOfMonth.ts#L4)
|
|
1589
1629
|
|
|
1590
1630
|
___
|
|
1591
1631
|
|
|
@@ -1608,7 +1648,7 @@ ___
|
|
|
1608
1648
|
|
|
1609
1649
|
#### Defined in
|
|
1610
1650
|
|
|
1611
|
-
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1651
|
+
[getImageInfo.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/getImageInfo.ts#L4)
|
|
1612
1652
|
|
|
1613
1653
|
___
|
|
1614
1654
|
|
|
@@ -1631,7 +1671,7 @@ ___
|
|
|
1631
1671
|
|
|
1632
1672
|
#### Defined in
|
|
1633
1673
|
|
|
1634
|
-
[storage/index.ts:10](https://github.com/daysnap/utils/blob/
|
|
1674
|
+
[storage/index.ts:10](https://github.com/daysnap/utils/blob/551cd93/src/storage/index.ts#L10)
|
|
1635
1675
|
|
|
1636
1676
|
___
|
|
1637
1677
|
|
|
@@ -1653,7 +1693,7 @@ ___
|
|
|
1653
1693
|
|
|
1654
1694
|
#### Defined in
|
|
1655
1695
|
|
|
1656
|
-
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1696
|
+
[getMonthBounds.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/getMonthBounds.ts#L7)
|
|
1657
1697
|
|
|
1658
1698
|
▸ **getMonthBounds**(`value`, `fmt`): [`string`, `string`]
|
|
1659
1699
|
|
|
@@ -1670,7 +1710,7 @@ ___
|
|
|
1670
1710
|
|
|
1671
1711
|
#### Defined in
|
|
1672
1712
|
|
|
1673
|
-
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/
|
|
1713
|
+
[getMonthBounds.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/getMonthBounds.ts#L8)
|
|
1674
1714
|
|
|
1675
1715
|
___
|
|
1676
1716
|
|
|
@@ -1693,7 +1733,7 @@ ___
|
|
|
1693
1733
|
|
|
1694
1734
|
#### Defined in
|
|
1695
1735
|
|
|
1696
|
-
[getRandom.ts:7](https://github.com/daysnap/utils/blob/
|
|
1736
|
+
[getRandom.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/getRandom.ts#L7)
|
|
1697
1737
|
|
|
1698
1738
|
___
|
|
1699
1739
|
|
|
@@ -1709,7 +1749,7 @@ ___
|
|
|
1709
1749
|
|
|
1710
1750
|
#### Defined in
|
|
1711
1751
|
|
|
1712
|
-
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/
|
|
1752
|
+
[getRandomColor.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/getRandomColor.ts#L4)
|
|
1713
1753
|
|
|
1714
1754
|
___
|
|
1715
1755
|
|
|
@@ -1731,7 +1771,7 @@ ___
|
|
|
1731
1771
|
|
|
1732
1772
|
#### Defined in
|
|
1733
1773
|
|
|
1734
|
-
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/
|
|
1774
|
+
[getRandomNumber.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/getRandomNumber.ts#L7)
|
|
1735
1775
|
|
|
1736
1776
|
___
|
|
1737
1777
|
|
|
@@ -1754,7 +1794,7 @@ ___
|
|
|
1754
1794
|
|
|
1755
1795
|
#### Defined in
|
|
1756
1796
|
|
|
1757
|
-
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/
|
|
1797
|
+
[getRangeDate.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/getRangeDate.ts#L7)
|
|
1758
1798
|
|
|
1759
1799
|
▸ **getRangeDate**(`sv`, `ev`, `fmt`): `string`[]
|
|
1760
1800
|
|
|
@@ -1772,7 +1812,7 @@ ___
|
|
|
1772
1812
|
|
|
1773
1813
|
#### Defined in
|
|
1774
1814
|
|
|
1775
|
-
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/
|
|
1815
|
+
[getRangeDate.ts:11](https://github.com/daysnap/utils/blob/551cd93/src/getRangeDate.ts#L11)
|
|
1776
1816
|
|
|
1777
1817
|
___
|
|
1778
1818
|
|
|
@@ -1788,7 +1828,7 @@ ___
|
|
|
1788
1828
|
|
|
1789
1829
|
#### Defined in
|
|
1790
1830
|
|
|
1791
|
-
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
1831
|
+
[getScrollTop.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/getScrollTop.ts#L4)
|
|
1792
1832
|
|
|
1793
1833
|
___
|
|
1794
1834
|
|
|
@@ -1810,7 +1850,7 @@ ___
|
|
|
1810
1850
|
|
|
1811
1851
|
#### Defined in
|
|
1812
1852
|
|
|
1813
|
-
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/
|
|
1853
|
+
[getVideoInfo.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/getVideoInfo.ts#L4)
|
|
1814
1854
|
|
|
1815
1855
|
___
|
|
1816
1856
|
|
|
@@ -1833,7 +1873,7 @@ ___
|
|
|
1833
1873
|
|
|
1834
1874
|
#### Defined in
|
|
1835
1875
|
|
|
1836
|
-
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/
|
|
1876
|
+
[getWeekBounds.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/getWeekBounds.ts#L7)
|
|
1837
1877
|
|
|
1838
1878
|
▸ **getWeekBounds**(`value`, `sundayIsFirstDay`, `fmt`): [`string`, `string`]
|
|
1839
1879
|
|
|
@@ -1851,7 +1891,7 @@ ___
|
|
|
1851
1891
|
|
|
1852
1892
|
#### Defined in
|
|
1853
1893
|
|
|
1854
|
-
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/
|
|
1894
|
+
[getWeekBounds.ts:11](https://github.com/daysnap/utils/blob/551cd93/src/getWeekBounds.ts#L11)
|
|
1855
1895
|
|
|
1856
1896
|
___
|
|
1857
1897
|
|
|
@@ -1874,7 +1914,7 @@ ___
|
|
|
1874
1914
|
|
|
1875
1915
|
#### Defined in
|
|
1876
1916
|
|
|
1877
|
-
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/
|
|
1917
|
+
[getWeekday.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/getWeekday.ts#L6)
|
|
1878
1918
|
|
|
1879
1919
|
___
|
|
1880
1920
|
|
|
@@ -1890,7 +1930,7 @@ ___
|
|
|
1890
1930
|
|
|
1891
1931
|
#### Defined in
|
|
1892
1932
|
|
|
1893
|
-
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/
|
|
1933
|
+
[inBrowser.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/inBrowser.ts#L4)
|
|
1894
1934
|
|
|
1895
1935
|
___
|
|
1896
1936
|
|
|
@@ -1912,7 +1952,7 @@ ___
|
|
|
1912
1952
|
|
|
1913
1953
|
#### Defined in
|
|
1914
1954
|
|
|
1915
|
-
[insertLink.ts:4](https://github.com/daysnap/utils/blob/
|
|
1955
|
+
[insertLink.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/insertLink.ts#L4)
|
|
1916
1956
|
|
|
1917
1957
|
▸ **insertLink**(`href`, `callback`): `void`
|
|
1918
1958
|
|
|
@@ -1929,7 +1969,7 @@ ___
|
|
|
1929
1969
|
|
|
1930
1970
|
#### Defined in
|
|
1931
1971
|
|
|
1932
|
-
[insertLink.ts:5](https://github.com/daysnap/utils/blob/
|
|
1972
|
+
[insertLink.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/insertLink.ts#L5)
|
|
1933
1973
|
|
|
1934
1974
|
___
|
|
1935
1975
|
|
|
@@ -1951,7 +1991,7 @@ ___
|
|
|
1951
1991
|
|
|
1952
1992
|
#### Defined in
|
|
1953
1993
|
|
|
1954
|
-
[insertScript.ts:4](https://github.com/daysnap/utils/blob/
|
|
1994
|
+
[insertScript.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/insertScript.ts#L4)
|
|
1955
1995
|
|
|
1956
1996
|
▸ **insertScript**(`src`, `callback`): `void`
|
|
1957
1997
|
|
|
@@ -1968,7 +2008,7 @@ ___
|
|
|
1968
2008
|
|
|
1969
2009
|
#### Defined in
|
|
1970
2010
|
|
|
1971
|
-
[insertScript.ts:5](https://github.com/daysnap/utils/blob/
|
|
2011
|
+
[insertScript.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/insertScript.ts#L5)
|
|
1972
2012
|
|
|
1973
2013
|
___
|
|
1974
2014
|
|
|
@@ -1990,7 +2030,7 @@ ___
|
|
|
1990
2030
|
|
|
1991
2031
|
#### Defined in
|
|
1992
2032
|
|
|
1993
|
-
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/
|
|
2033
|
+
[insertStyle.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/insertStyle.ts#L4)
|
|
1994
2034
|
|
|
1995
2035
|
___
|
|
1996
2036
|
|
|
@@ -2019,7 +2059,7 @@ isAmount('1.123') => false
|
|
|
2019
2059
|
|
|
2020
2060
|
#### Defined in
|
|
2021
2061
|
|
|
2022
|
-
[isAmount.ts:11](https://github.com/daysnap/utils/blob/
|
|
2062
|
+
[isAmount.ts:11](https://github.com/daysnap/utils/blob/551cd93/src/isAmount.ts#L11)
|
|
2023
2063
|
|
|
2024
2064
|
___
|
|
2025
2065
|
|
|
@@ -2035,7 +2075,7 @@ ___
|
|
|
2035
2075
|
|
|
2036
2076
|
#### Defined in
|
|
2037
2077
|
|
|
2038
|
-
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/
|
|
2078
|
+
[isAndroid.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isAndroid.ts#L4)
|
|
2039
2079
|
|
|
2040
2080
|
___
|
|
2041
2081
|
|
|
@@ -2065,7 +2105,7 @@ val is T[]
|
|
|
2065
2105
|
|
|
2066
2106
|
#### Defined in
|
|
2067
2107
|
|
|
2068
|
-
[isArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2108
|
+
[isArray.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/isArray.ts#L6)
|
|
2069
2109
|
|
|
2070
2110
|
___
|
|
2071
2111
|
|
|
@@ -2087,7 +2127,7 @@ val is boolean
|
|
|
2087
2127
|
|
|
2088
2128
|
#### Defined in
|
|
2089
2129
|
|
|
2090
|
-
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/
|
|
2130
|
+
[isBoolean.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/isBoolean.ts#L5)
|
|
2091
2131
|
|
|
2092
2132
|
___
|
|
2093
2133
|
|
|
@@ -2109,7 +2149,7 @@ ___
|
|
|
2109
2149
|
|
|
2110
2150
|
#### Defined in
|
|
2111
2151
|
|
|
2112
|
-
[isChinese.ts:4](https://github.com/daysnap/utils/blob/
|
|
2152
|
+
[isChinese.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isChinese.ts#L4)
|
|
2113
2153
|
|
|
2114
2154
|
___
|
|
2115
2155
|
|
|
@@ -2131,7 +2171,7 @@ val is Date
|
|
|
2131
2171
|
|
|
2132
2172
|
#### Defined in
|
|
2133
2173
|
|
|
2134
|
-
[isDate.ts:4](https://github.com/daysnap/utils/blob/
|
|
2174
|
+
[isDate.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isDate.ts#L4)
|
|
2135
2175
|
|
|
2136
2176
|
___
|
|
2137
2177
|
|
|
@@ -2153,7 +2193,7 @@ ___
|
|
|
2153
2193
|
|
|
2154
2194
|
#### Defined in
|
|
2155
2195
|
|
|
2156
|
-
[isEmail.ts:4](https://github.com/daysnap/utils/blob/
|
|
2196
|
+
[isEmail.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isEmail.ts#L4)
|
|
2157
2197
|
|
|
2158
2198
|
___
|
|
2159
2199
|
|
|
@@ -2175,7 +2215,7 @@ ___
|
|
|
2175
2215
|
|
|
2176
2216
|
#### Defined in
|
|
2177
2217
|
|
|
2178
|
-
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/
|
|
2218
|
+
[isEmpty.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/isEmpty.ts#L6)
|
|
2179
2219
|
|
|
2180
2220
|
___
|
|
2181
2221
|
|
|
@@ -2197,7 +2237,7 @@ ___
|
|
|
2197
2237
|
|
|
2198
2238
|
#### Defined in
|
|
2199
2239
|
|
|
2200
|
-
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/
|
|
2240
|
+
[isEmptyArray.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/isEmptyArray.ts#L6)
|
|
2201
2241
|
|
|
2202
2242
|
___
|
|
2203
2243
|
|
|
@@ -2219,7 +2259,7 @@ ___
|
|
|
2219
2259
|
|
|
2220
2260
|
#### Defined in
|
|
2221
2261
|
|
|
2222
|
-
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
2262
|
+
[isEmptyObject.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/isEmptyObject.ts#L5)
|
|
2223
2263
|
|
|
2224
2264
|
___
|
|
2225
2265
|
|
|
@@ -2241,7 +2281,7 @@ val is Error
|
|
|
2241
2281
|
|
|
2242
2282
|
#### Defined in
|
|
2243
2283
|
|
|
2244
|
-
[isError.ts:4](https://github.com/daysnap/utils/blob/
|
|
2284
|
+
[isError.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isError.ts#L4)
|
|
2245
2285
|
|
|
2246
2286
|
___
|
|
2247
2287
|
|
|
@@ -2269,7 +2309,7 @@ val is T
|
|
|
2269
2309
|
|
|
2270
2310
|
#### Defined in
|
|
2271
2311
|
|
|
2272
|
-
[isFunction.ts:4](https://github.com/daysnap/utils/blob/
|
|
2312
|
+
[isFunction.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isFunction.ts#L4)
|
|
2273
2313
|
|
|
2274
2314
|
___
|
|
2275
2315
|
|
|
@@ -2287,7 +2327,7 @@ ___
|
|
|
2287
2327
|
|
|
2288
2328
|
#### Defined in
|
|
2289
2329
|
|
|
2290
|
-
[isIE.ts:6](https://github.com/daysnap/utils/blob/
|
|
2330
|
+
[isIE.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/isIE.ts#L6)
|
|
2291
2331
|
|
|
2292
2332
|
___
|
|
2293
2333
|
|
|
@@ -2303,7 +2343,7 @@ ___
|
|
|
2303
2343
|
|
|
2304
2344
|
#### Defined in
|
|
2305
2345
|
|
|
2306
|
-
[isIOS.ts:4](https://github.com/daysnap/utils/blob/
|
|
2346
|
+
[isIOS.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isIOS.ts#L4)
|
|
2307
2347
|
|
|
2308
2348
|
___
|
|
2309
2349
|
|
|
@@ -2325,7 +2365,7 @@ ___
|
|
|
2325
2365
|
|
|
2326
2366
|
#### Defined in
|
|
2327
2367
|
|
|
2328
|
-
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/
|
|
2368
|
+
[isIdCard.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isIdCard.ts#L4)
|
|
2329
2369
|
|
|
2330
2370
|
___
|
|
2331
2371
|
|
|
@@ -2347,7 +2387,7 @@ ___
|
|
|
2347
2387
|
|
|
2348
2388
|
#### Defined in
|
|
2349
2389
|
|
|
2350
|
-
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/
|
|
2390
|
+
[isJSONString.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/isJSONString.ts#L7)
|
|
2351
2391
|
|
|
2352
2392
|
___
|
|
2353
2393
|
|
|
@@ -2369,7 +2409,7 @@ ___
|
|
|
2369
2409
|
|
|
2370
2410
|
#### Defined in
|
|
2371
2411
|
|
|
2372
|
-
[isLan.ts:5](https://github.com/daysnap/utils/blob/
|
|
2412
|
+
[isLan.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/isLan.ts#L5)
|
|
2373
2413
|
|
|
2374
2414
|
___
|
|
2375
2415
|
|
|
@@ -2392,7 +2432,7 @@ ___
|
|
|
2392
2432
|
|
|
2393
2433
|
#### Defined in
|
|
2394
2434
|
|
|
2395
|
-
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/
|
|
2435
|
+
[isLeapYear.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/isLeapYear.ts#L5)
|
|
2396
2436
|
|
|
2397
2437
|
___
|
|
2398
2438
|
|
|
@@ -2414,7 +2454,7 @@ ___
|
|
|
2414
2454
|
|
|
2415
2455
|
#### Defined in
|
|
2416
2456
|
|
|
2417
|
-
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/
|
|
2457
|
+
[isLicenseCode.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/isLicenseCode.ts#L5)
|
|
2418
2458
|
|
|
2419
2459
|
___
|
|
2420
2460
|
|
|
@@ -2430,7 +2470,7 @@ ___
|
|
|
2430
2470
|
|
|
2431
2471
|
#### Defined in
|
|
2432
2472
|
|
|
2433
|
-
[isMobile.ts:4](https://github.com/daysnap/utils/blob/
|
|
2473
|
+
[isMobile.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isMobile.ts#L4)
|
|
2434
2474
|
|
|
2435
2475
|
___
|
|
2436
2476
|
|
|
@@ -2453,7 +2493,7 @@ ___
|
|
|
2453
2493
|
|
|
2454
2494
|
#### Defined in
|
|
2455
2495
|
|
|
2456
|
-
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/
|
|
2496
|
+
[isNativeFunction.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/isNativeFunction.ts#L7)
|
|
2457
2497
|
|
|
2458
2498
|
___
|
|
2459
2499
|
|
|
@@ -2475,7 +2515,7 @@ ___
|
|
|
2475
2515
|
|
|
2476
2516
|
#### Defined in
|
|
2477
2517
|
|
|
2478
|
-
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/
|
|
2518
|
+
[isNotEmpty.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/isNotEmpty.ts#L5)
|
|
2479
2519
|
|
|
2480
2520
|
___
|
|
2481
2521
|
|
|
@@ -2497,7 +2537,7 @@ val is null
|
|
|
2497
2537
|
|
|
2498
2538
|
#### Defined in
|
|
2499
2539
|
|
|
2500
|
-
[isNull.ts:4](https://github.com/daysnap/utils/blob/
|
|
2540
|
+
[isNull.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isNull.ts#L4)
|
|
2501
2541
|
|
|
2502
2542
|
___
|
|
2503
2543
|
|
|
@@ -2519,7 +2559,7 @@ val is number
|
|
|
2519
2559
|
|
|
2520
2560
|
#### Defined in
|
|
2521
2561
|
|
|
2522
|
-
[isNumber.ts:5](https://github.com/daysnap/utils/blob/
|
|
2562
|
+
[isNumber.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/isNumber.ts#L5)
|
|
2523
2563
|
|
|
2524
2564
|
___
|
|
2525
2565
|
|
|
@@ -2547,7 +2587,7 @@ val is T
|
|
|
2547
2587
|
|
|
2548
2588
|
#### Defined in
|
|
2549
2589
|
|
|
2550
|
-
[isObject.ts:4](https://github.com/daysnap/utils/blob/
|
|
2590
|
+
[isObject.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isObject.ts#L4)
|
|
2551
2591
|
|
|
2552
2592
|
___
|
|
2553
2593
|
|
|
@@ -2569,7 +2609,7 @@ ___
|
|
|
2569
2609
|
|
|
2570
2610
|
#### Defined in
|
|
2571
2611
|
|
|
2572
|
-
[isPhone.ts:4](https://github.com/daysnap/utils/blob/
|
|
2612
|
+
[isPhone.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isPhone.ts#L4)
|
|
2573
2613
|
|
|
2574
2614
|
___
|
|
2575
2615
|
|
|
@@ -2597,7 +2637,7 @@ val is Promise<T\>
|
|
|
2597
2637
|
|
|
2598
2638
|
#### Defined in
|
|
2599
2639
|
|
|
2600
|
-
[isPromise.ts:4](https://github.com/daysnap/utils/blob/
|
|
2640
|
+
[isPromise.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isPromise.ts#L4)
|
|
2601
2641
|
|
|
2602
2642
|
___
|
|
2603
2643
|
|
|
@@ -2625,7 +2665,7 @@ value is PromiseLike<T\>
|
|
|
2625
2665
|
|
|
2626
2666
|
#### Defined in
|
|
2627
2667
|
|
|
2628
|
-
isPromiseLike.ts:4
|
|
2668
|
+
[isPromiseLike.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isPromiseLike.ts#L4)
|
|
2629
2669
|
|
|
2630
2670
|
___
|
|
2631
2671
|
|
|
@@ -2647,7 +2687,7 @@ val is RegExp
|
|
|
2647
2687
|
|
|
2648
2688
|
#### Defined in
|
|
2649
2689
|
|
|
2650
|
-
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/
|
|
2690
|
+
[isRegExp.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isRegExp.ts#L4)
|
|
2651
2691
|
|
|
2652
2692
|
___
|
|
2653
2693
|
|
|
@@ -2669,7 +2709,7 @@ val is string
|
|
|
2669
2709
|
|
|
2670
2710
|
#### Defined in
|
|
2671
2711
|
|
|
2672
|
-
[isString.ts:4](https://github.com/daysnap/utils/blob/
|
|
2712
|
+
[isString.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isString.ts#L4)
|
|
2673
2713
|
|
|
2674
2714
|
___
|
|
2675
2715
|
|
|
@@ -2698,7 +2738,7 @@ val is T
|
|
|
2698
2738
|
|
|
2699
2739
|
#### Defined in
|
|
2700
2740
|
|
|
2701
|
-
[isType.ts:4](https://github.com/daysnap/utils/blob/
|
|
2741
|
+
[isType.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isType.ts#L4)
|
|
2702
2742
|
|
|
2703
2743
|
___
|
|
2704
2744
|
|
|
@@ -2720,7 +2760,7 @@ val is undefined
|
|
|
2720
2760
|
|
|
2721
2761
|
#### Defined in
|
|
2722
2762
|
|
|
2723
|
-
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/
|
|
2763
|
+
[isUndefined.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isUndefined.ts#L4)
|
|
2724
2764
|
|
|
2725
2765
|
___
|
|
2726
2766
|
|
|
@@ -2764,7 +2804,7 @@ ___
|
|
|
2764
2804
|
|
|
2765
2805
|
#### Defined in
|
|
2766
2806
|
|
|
2767
|
-
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/
|
|
2807
|
+
[isValidDate.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/isValidDate.ts#L6)
|
|
2768
2808
|
|
|
2769
2809
|
___
|
|
2770
2810
|
|
|
@@ -2780,7 +2820,7 @@ ___
|
|
|
2780
2820
|
|
|
2781
2821
|
#### Defined in
|
|
2782
2822
|
|
|
2783
|
-
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/
|
|
2823
|
+
[isWeChat.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/isWeChat.ts#L4)
|
|
2784
2824
|
|
|
2785
2825
|
___
|
|
2786
2826
|
|
|
@@ -2797,7 +2837,7 @@ https://developers.weixin.qq.com/miniprogram/dev/component/web-view.html
|
|
|
2797
2837
|
|
|
2798
2838
|
#### Defined in
|
|
2799
2839
|
|
|
2800
|
-
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/
|
|
2840
|
+
[isWeChatMiniProgram.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/isWeChatMiniProgram.ts#L5)
|
|
2801
2841
|
|
|
2802
2842
|
___
|
|
2803
2843
|
|
|
@@ -2821,7 +2861,7 @@ ___
|
|
|
2821
2861
|
|
|
2822
2862
|
#### Defined in
|
|
2823
2863
|
|
|
2824
|
-
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/
|
|
2864
|
+
[isWeChat.ts:12](https://github.com/daysnap/utils/blob/551cd93/src/isWeChat.ts#L12)
|
|
2825
2865
|
|
|
2826
2866
|
___
|
|
2827
2867
|
|
|
@@ -2843,7 +2883,7 @@ val is Window
|
|
|
2843
2883
|
|
|
2844
2884
|
#### Defined in
|
|
2845
2885
|
|
|
2846
|
-
[isWindow.ts:5](https://github.com/daysnap/utils/blob/
|
|
2886
|
+
[isWindow.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/isWindow.ts#L5)
|
|
2847
2887
|
|
|
2848
2888
|
___
|
|
2849
2889
|
|
|
@@ -2866,7 +2906,7 @@ kebabCase('helloWorld') => hello-world
|
|
|
2866
2906
|
|
|
2867
2907
|
#### Defined in
|
|
2868
2908
|
|
|
2869
|
-
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/
|
|
2909
|
+
[kebabCase.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/kebabCase.ts#L5)
|
|
2870
2910
|
|
|
2871
2911
|
___
|
|
2872
2912
|
|
|
@@ -2888,7 +2928,7 @@ ___
|
|
|
2888
2928
|
|
|
2889
2929
|
#### Defined in
|
|
2890
2930
|
|
|
2891
|
-
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/
|
|
2931
|
+
[lfToBr.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/lfToBr.ts#L4)
|
|
2892
2932
|
|
|
2893
2933
|
___
|
|
2894
2934
|
|
|
@@ -2910,7 +2950,7 @@ list 生成器,快速生成数据
|
|
|
2910
2950
|
|
|
2911
2951
|
#### Defined in
|
|
2912
2952
|
|
|
2913
|
-
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/
|
|
2953
|
+
[listGenerator.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/listGenerator.ts#L5)
|
|
2914
2954
|
|
|
2915
2955
|
▸ **listGenerator**<`T`\>(`length`, `fn`): `T`[]
|
|
2916
2956
|
|
|
@@ -2933,7 +2973,7 @@ list 生成器,快速生成数据
|
|
|
2933
2973
|
|
|
2934
2974
|
#### Defined in
|
|
2935
2975
|
|
|
2936
|
-
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/
|
|
2976
|
+
[listGenerator.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/listGenerator.ts#L6)
|
|
2937
2977
|
|
|
2938
2978
|
___
|
|
2939
2979
|
|
|
@@ -2953,7 +2993,7 @@ ___
|
|
|
2953
2993
|
|
|
2954
2994
|
#### Defined in
|
|
2955
2995
|
|
|
2956
|
-
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/
|
|
2996
|
+
[makePhoneCall.ts:1](https://github.com/daysnap/utils/blob/551cd93/src/makePhoneCall.ts#L1)
|
|
2957
2997
|
|
|
2958
2998
|
___
|
|
2959
2999
|
|
|
@@ -2978,7 +3018,7 @@ ___
|
|
|
2978
3018
|
|
|
2979
3019
|
#### Defined in
|
|
2980
3020
|
|
|
2981
|
-
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/
|
|
3021
|
+
[mousewheel.ts:22](https://github.com/daysnap/utils/blob/551cd93/src/mousewheel.ts#L22)
|
|
2982
3022
|
|
|
2983
3023
|
___
|
|
2984
3024
|
|
|
@@ -2994,7 +3034,7 @@ ___
|
|
|
2994
3034
|
|
|
2995
3035
|
#### Defined in
|
|
2996
3036
|
|
|
2997
|
-
[nf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3037
|
+
[nf.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/nf.ts#L4)
|
|
2998
3038
|
|
|
2999
3039
|
___
|
|
3000
3040
|
|
|
@@ -3018,7 +3058,7 @@ fix iOS 日期时间格式如果类似是 2020-12-12 12:12:12 就会报错的问
|
|
|
3018
3058
|
|
|
3019
3059
|
#### Defined in
|
|
3020
3060
|
|
|
3021
|
-
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/
|
|
3061
|
+
[normalizeDate.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/normalizeDate.ts#L8)
|
|
3022
3062
|
|
|
3023
3063
|
___
|
|
3024
3064
|
|
|
@@ -3040,7 +3080,7 @@ ___
|
|
|
3040
3080
|
|
|
3041
3081
|
#### Defined in
|
|
3042
3082
|
|
|
3043
|
-
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/
|
|
3083
|
+
[normalizePath.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/normalizePath.ts#L4)
|
|
3044
3084
|
|
|
3045
3085
|
___
|
|
3046
3086
|
|
|
@@ -3062,7 +3102,7 @@ ___
|
|
|
3062
3102
|
|
|
3063
3103
|
#### Defined in
|
|
3064
3104
|
|
|
3065
|
-
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/
|
|
3105
|
+
[numberToLetter.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/numberToLetter.ts#L4)
|
|
3066
3106
|
|
|
3067
3107
|
___
|
|
3068
3108
|
|
|
@@ -3092,7 +3132,7 @@ ___
|
|
|
3092
3132
|
|
|
3093
3133
|
#### Defined in
|
|
3094
3134
|
|
|
3095
|
-
[omit.ts:4](https://github.com/daysnap/utils/blob/
|
|
3135
|
+
[omit.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/omit.ts#L4)
|
|
3096
3136
|
|
|
3097
3137
|
___
|
|
3098
3138
|
|
|
@@ -3123,7 +3163,7 @@ omitBy(object, isNumber);
|
|
|
3123
3163
|
|
|
3124
3164
|
#### Defined in
|
|
3125
3165
|
|
|
3126
|
-
[omitBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3166
|
+
[omitBy.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/omitBy.ts#L6)
|
|
3127
3167
|
|
|
3128
3168
|
___
|
|
3129
3169
|
|
|
@@ -3147,7 +3187,7 @@ ___
|
|
|
3147
3187
|
|
|
3148
3188
|
#### Defined in
|
|
3149
3189
|
|
|
3150
|
-
[padding.ts:7](https://github.com/daysnap/utils/blob/
|
|
3190
|
+
[padding.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/padding.ts#L7)
|
|
3151
3191
|
|
|
3152
3192
|
___
|
|
3153
3193
|
|
|
@@ -3173,7 +3213,7 @@ ___
|
|
|
3173
3213
|
|
|
3174
3214
|
#### Defined in
|
|
3175
3215
|
|
|
3176
|
-
[parseDate.ts:5](https://github.com/daysnap/utils/blob/
|
|
3216
|
+
[parseDate.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/parseDate.ts#L5)
|
|
3177
3217
|
|
|
3178
3218
|
___
|
|
3179
3219
|
|
|
@@ -3199,7 +3239,7 @@ ___
|
|
|
3199
3239
|
|
|
3200
3240
|
#### Defined in
|
|
3201
3241
|
|
|
3202
|
-
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/
|
|
3242
|
+
[parseDecimalString.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/parseDecimalString.ts#L5)
|
|
3203
3243
|
|
|
3204
3244
|
___
|
|
3205
3245
|
|
|
@@ -3222,7 +3262,7 @@ ___
|
|
|
3222
3262
|
|
|
3223
3263
|
#### Defined in
|
|
3224
3264
|
|
|
3225
|
-
[parseError.ts:8](https://github.com/daysnap/utils/blob/
|
|
3265
|
+
[parseError.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/parseError.ts#L8)
|
|
3226
3266
|
|
|
3227
3267
|
___
|
|
3228
3268
|
|
|
@@ -3247,7 +3287,7 @@ x0123 => ''
|
|
|
3247
3287
|
|
|
3248
3288
|
#### Defined in
|
|
3249
3289
|
|
|
3250
|
-
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/
|
|
3290
|
+
[parseNumberString.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/parseNumberString.ts#L7)
|
|
3251
3291
|
|
|
3252
3292
|
___
|
|
3253
3293
|
|
|
@@ -3277,7 +3317,7 @@ parseObject('a.b.c', 1) => { a: { b: { c: 1 } } }
|
|
|
3277
3317
|
|
|
3278
3318
|
#### Defined in
|
|
3279
3319
|
|
|
3280
|
-
[parseObject.ts:5](https://github.com/daysnap/utils/blob/
|
|
3320
|
+
[parseObject.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/parseObject.ts#L5)
|
|
3281
3321
|
|
|
3282
3322
|
___
|
|
3283
3323
|
|
|
@@ -3306,7 +3346,7 @@ ___
|
|
|
3306
3346
|
|
|
3307
3347
|
#### Defined in
|
|
3308
3348
|
|
|
3309
|
-
[parsePath.ts:6](https://github.com/daysnap/utils/blob/
|
|
3349
|
+
[parsePath.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/parsePath.ts#L6)
|
|
3310
3350
|
|
|
3311
3351
|
___
|
|
3312
3352
|
|
|
@@ -3329,7 +3369,7 @@ ___
|
|
|
3329
3369
|
|
|
3330
3370
|
#### Defined in
|
|
3331
3371
|
|
|
3332
|
-
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/
|
|
3372
|
+
[parseQuery.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/parseQuery.ts#L8)
|
|
3333
3373
|
|
|
3334
3374
|
___
|
|
3335
3375
|
|
|
@@ -3359,7 +3399,7 @@ ___
|
|
|
3359
3399
|
|
|
3360
3400
|
#### Defined in
|
|
3361
3401
|
|
|
3362
|
-
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3402
|
+
[parseQueryString.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/parseQueryString.ts#L6)
|
|
3363
3403
|
|
|
3364
3404
|
___
|
|
3365
3405
|
|
|
@@ -3382,7 +3422,7 @@ pascalCase('hello-world') => HelloWorld
|
|
|
3382
3422
|
|
|
3383
3423
|
#### Defined in
|
|
3384
3424
|
|
|
3385
|
-
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/
|
|
3425
|
+
[pascalCase.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/pascalCase.ts#L8)
|
|
3386
3426
|
|
|
3387
3427
|
___
|
|
3388
3428
|
|
|
@@ -3412,7 +3452,7 @@ ___
|
|
|
3412
3452
|
|
|
3413
3453
|
#### Defined in
|
|
3414
3454
|
|
|
3415
|
-
[pick.ts:4](https://github.com/daysnap/utils/blob/
|
|
3455
|
+
[pick.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/pick.ts#L4)
|
|
3416
3456
|
|
|
3417
3457
|
___
|
|
3418
3458
|
|
|
@@ -3443,7 +3483,7 @@ pickBy(object, isNumber);
|
|
|
3443
3483
|
|
|
3444
3484
|
#### Defined in
|
|
3445
3485
|
|
|
3446
|
-
[pickBy.ts:6](https://github.com/daysnap/utils/blob/
|
|
3486
|
+
[pickBy.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/pickBy.ts#L6)
|
|
3447
3487
|
|
|
3448
3488
|
___
|
|
3449
3489
|
|
|
@@ -3466,7 +3506,7 @@ ___
|
|
|
3466
3506
|
|
|
3467
3507
|
#### Defined in
|
|
3468
3508
|
|
|
3469
|
-
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/
|
|
3509
|
+
[replaceCrlf.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/replaceCrlf.ts#L4)
|
|
3470
3510
|
|
|
3471
3511
|
___
|
|
3472
3512
|
|
|
@@ -3490,7 +3530,7 @@ ___
|
|
|
3490
3530
|
|
|
3491
3531
|
#### Defined in
|
|
3492
3532
|
|
|
3493
|
-
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/
|
|
3533
|
+
[requestFullScreen.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/requestFullScreen.ts#L6)
|
|
3494
3534
|
|
|
3495
3535
|
___
|
|
3496
3536
|
|
|
@@ -3516,7 +3556,7 @@ reserve(0, '--') => 0
|
|
|
3516
3556
|
|
|
3517
3557
|
#### Defined in
|
|
3518
3558
|
|
|
3519
|
-
[reserve.ts:8](https://github.com/daysnap/utils/blob/
|
|
3559
|
+
[reserve.ts:8](https://github.com/daysnap/utils/blob/551cd93/src/reserve.ts#L8)
|
|
3520
3560
|
|
|
3521
3561
|
___
|
|
3522
3562
|
|
|
@@ -3540,7 +3580,7 @@ ___
|
|
|
3540
3580
|
|
|
3541
3581
|
#### Defined in
|
|
3542
3582
|
|
|
3543
|
-
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/
|
|
3583
|
+
[rgbToHex.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/rgbToHex.ts#L4)
|
|
3544
3584
|
|
|
3545
3585
|
___
|
|
3546
3586
|
|
|
@@ -3563,7 +3603,7 @@ ___
|
|
|
3563
3603
|
|
|
3564
3604
|
#### Defined in
|
|
3565
3605
|
|
|
3566
|
-
[round.ts:6](https://github.com/daysnap/utils/blob/
|
|
3606
|
+
[round.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/round.ts#L6)
|
|
3567
3607
|
|
|
3568
3608
|
___
|
|
3569
3609
|
|
|
@@ -3588,7 +3628,7 @@ ___
|
|
|
3588
3628
|
|
|
3589
3629
|
#### Defined in
|
|
3590
3630
|
|
|
3591
|
-
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/
|
|
3631
|
+
[roundUpToNearestInteger.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/roundUpToNearestInteger.ts#L7)
|
|
3592
3632
|
|
|
3593
3633
|
___
|
|
3594
3634
|
|
|
@@ -3604,7 +3644,7 @@ ___
|
|
|
3604
3644
|
|
|
3605
3645
|
#### Defined in
|
|
3606
3646
|
|
|
3607
|
-
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3647
|
+
[scrollToTop.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/scrollToTop.ts#L4)
|
|
3608
3648
|
|
|
3609
3649
|
___
|
|
3610
3650
|
|
|
@@ -3626,7 +3666,7 @@ ___
|
|
|
3626
3666
|
|
|
3627
3667
|
#### Defined in
|
|
3628
3668
|
|
|
3629
|
-
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/
|
|
3669
|
+
[setScrollTop.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/setScrollTop.ts#L4)
|
|
3630
3670
|
|
|
3631
3671
|
___
|
|
3632
3672
|
|
|
@@ -3650,7 +3690,7 @@ ___
|
|
|
3650
3690
|
|
|
3651
3691
|
#### Defined in
|
|
3652
3692
|
|
|
3653
|
-
[sleep.ts:7](https://github.com/daysnap/utils/blob/
|
|
3693
|
+
[sleep.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/sleep.ts#L7)
|
|
3654
3694
|
|
|
3655
3695
|
___
|
|
3656
3696
|
|
|
@@ -3679,7 +3719,7 @@ ___
|
|
|
3679
3719
|
|
|
3680
3720
|
#### Defined in
|
|
3681
3721
|
|
|
3682
|
-
[splitArray.ts:4](https://github.com/daysnap/utils/blob/
|
|
3722
|
+
[splitArray.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/splitArray.ts#L4)
|
|
3683
3723
|
|
|
3684
3724
|
___
|
|
3685
3725
|
|
|
@@ -3702,7 +3742,7 @@ ___
|
|
|
3702
3742
|
|
|
3703
3743
|
#### Defined in
|
|
3704
3744
|
|
|
3705
|
-
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/
|
|
3745
|
+
[stringTrim.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/stringTrim.ts#L6)
|
|
3706
3746
|
|
|
3707
3747
|
___
|
|
3708
3748
|
|
|
@@ -3724,7 +3764,7 @@ ___
|
|
|
3724
3764
|
|
|
3725
3765
|
#### Defined in
|
|
3726
3766
|
|
|
3727
|
-
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/
|
|
3767
|
+
[stringifyQuery.ts:7](https://github.com/daysnap/utils/blob/551cd93/src/stringifyQuery.ts#L7)
|
|
3728
3768
|
|
|
3729
3769
|
___
|
|
3730
3770
|
|
|
@@ -3748,7 +3788,7 @@ ___
|
|
|
3748
3788
|
|
|
3749
3789
|
#### Defined in
|
|
3750
3790
|
|
|
3751
|
-
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/
|
|
3791
|
+
[stringifyQueryString.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/stringifyQueryString.ts#L6)
|
|
3752
3792
|
|
|
3753
3793
|
___
|
|
3754
3794
|
|
|
@@ -3792,7 +3832,7 @@ ___
|
|
|
3792
3832
|
|
|
3793
3833
|
#### Defined in
|
|
3794
3834
|
|
|
3795
|
-
[throttle.ts:48](https://github.com/daysnap/utils/blob/
|
|
3835
|
+
[throttle.ts:48](https://github.com/daysnap/utils/blob/551cd93/src/throttle.ts#L48)
|
|
3796
3836
|
|
|
3797
3837
|
___
|
|
3798
3838
|
|
|
@@ -3835,7 +3875,7 @@ ___
|
|
|
3835
3875
|
|
|
3836
3876
|
#### Defined in
|
|
3837
3877
|
|
|
3838
|
-
[throttle.ts:5](https://github.com/daysnap/utils/blob/
|
|
3878
|
+
[throttle.ts:5](https://github.com/daysnap/utils/blob/551cd93/src/throttle.ts#L5)
|
|
3839
3879
|
|
|
3840
3880
|
___
|
|
3841
3881
|
|
|
@@ -3878,7 +3918,7 @@ ___
|
|
|
3878
3918
|
|
|
3879
3919
|
#### Defined in
|
|
3880
3920
|
|
|
3881
|
-
[throttle.ts:25](https://github.com/daysnap/utils/blob/
|
|
3921
|
+
[throttle.ts:25](https://github.com/daysnap/utils/blob/551cd93/src/throttle.ts#L25)
|
|
3882
3922
|
|
|
3883
3923
|
___
|
|
3884
3924
|
|
|
@@ -3900,7 +3940,7 @@ ___
|
|
|
3900
3940
|
|
|
3901
3941
|
#### Defined in
|
|
3902
3942
|
|
|
3903
|
-
[toCDB.ts:4](https://github.com/daysnap/utils/blob/
|
|
3943
|
+
[toCDB.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/toCDB.ts#L4)
|
|
3904
3944
|
|
|
3905
3945
|
___
|
|
3906
3946
|
|
|
@@ -3922,7 +3962,7 @@ ___
|
|
|
3922
3962
|
|
|
3923
3963
|
#### Defined in
|
|
3924
3964
|
|
|
3925
|
-
[toDBC.ts:4](https://github.com/daysnap/utils/blob/
|
|
3965
|
+
[toDBC.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/toDBC.ts#L4)
|
|
3926
3966
|
|
|
3927
3967
|
___
|
|
3928
3968
|
|
|
@@ -3944,7 +3984,7 @@ ___
|
|
|
3944
3984
|
|
|
3945
3985
|
#### Defined in
|
|
3946
3986
|
|
|
3947
|
-
[toFormData.ts:4](https://github.com/daysnap/utils/blob/
|
|
3987
|
+
[toFormData.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/toFormData.ts#L4)
|
|
3948
3988
|
|
|
3949
3989
|
___
|
|
3950
3990
|
|
|
@@ -3966,7 +4006,7 @@ ___
|
|
|
3966
4006
|
|
|
3967
4007
|
#### Defined in
|
|
3968
4008
|
|
|
3969
|
-
[toPosix.ts:4](https://github.com/daysnap/utils/blob/
|
|
4009
|
+
[toPosix.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/toPosix.ts#L4)
|
|
3970
4010
|
|
|
3971
4011
|
___
|
|
3972
4012
|
|
|
@@ -3990,7 +4030,7 @@ ___
|
|
|
3990
4030
|
|
|
3991
4031
|
#### Defined in
|
|
3992
4032
|
|
|
3993
|
-
[typeOf.ts:6](https://github.com/daysnap/utils/blob/
|
|
4033
|
+
[typeOf.ts:6](https://github.com/daysnap/utils/blob/551cd93/src/typeOf.ts#L6)
|
|
3994
4034
|
|
|
3995
4035
|
___
|
|
3996
4036
|
|
|
@@ -4018,7 +4058,7 @@ ___
|
|
|
4018
4058
|
|
|
4019
4059
|
#### Defined in
|
|
4020
4060
|
|
|
4021
|
-
[withCache.ts:4](https://github.com/daysnap/utils/blob/
|
|
4061
|
+
[withCache.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/withCache.ts#L4)
|
|
4022
4062
|
|
|
4023
4063
|
___
|
|
4024
4064
|
|
|
@@ -4047,4 +4087,4 @@ ___
|
|
|
4047
4087
|
|
|
4048
4088
|
#### Defined in
|
|
4049
4089
|
|
|
4050
|
-
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/
|
|
4090
|
+
[withPreventConsecutiveClicks.ts:4](https://github.com/daysnap/utils/blob/551cd93/src/withPreventConsecutiveClicks.ts#L4)
|