@koine/utils 2.0.0-beta.2 → 2.0.0-beta.4
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/Defer.js +23 -18
- package/Defer.mjs +6 -5
- package/Emitter.js +31 -20
- package/Emitter.mjs +13 -16
- package/README.md +5 -1
- package/accentSets.js +129 -37
- package/accentSets.mjs +113 -29
- package/addOrReplaceAtIdx.js +27 -10
- package/addOrReplaceAtIdx.mjs +9 -6
- package/areEqual.js +35 -41
- package/areEqual.mjs +16 -22
- package/arrayOfAll.js +20 -11
- package/arrayOfAll.mjs +1 -6
- package/arraySum.js +20 -9
- package/arraySum.mjs +1 -4
- package/arrayToLookup.js +21 -9
- package/arrayToLookup.mjs +2 -4
- package/buildUrlQueryString.js +32 -29
- package/buildUrlQueryString.mjs +11 -14
- package/capitalize.js +21 -9
- package/capitalize.mjs +3 -5
- package/changeUrlPath.js +23 -17
- package/changeUrlPath.mjs +2 -3
- package/chunkByChunks.js +35 -24
- package/chunkByChunks.mjs +17 -20
- package/chunkBySize.js +21 -8
- package/chunkBySize.mjs +3 -4
- package/clamp.js +19 -6
- package/clamp.mjs +1 -2
- package/clsx.js +29 -23
- package/clsx.mjs +11 -14
- package/convertRange.js +20 -7
- package/convertRange.mjs +2 -3
- package/cookie.js +13 -5
- package/cookie.mjs +3 -2
- package/createPalette.js +27 -19
- package/createPalette.mjs +9 -6
- package/debounce.js +27 -21
- package/debounce.mjs +9 -17
- package/debouncePromise.js +20 -11
- package/debouncePromise.mjs +1 -2
- package/debounceRaf.js +23 -14
- package/debounceRaf.mjs +5 -10
- package/decode.js +20 -7
- package/decode.mjs +2 -3
- package/encode.js +20 -7
- package/encode.mjs +2 -3
- package/ensureInt.js +20 -9
- package/ensureInt.mjs +1 -4
- package/env.js +1 -1
- package/env.mjs +0 -1
- package/errorToString.js +21 -14
- package/errorToString.mjs +1 -4
- package/findDuplicatedIndexes.js +22 -9
- package/findDuplicatedIndexes.mjs +4 -5
- package/forin.js +20 -7
- package/forin.mjs +2 -3
- package/gbToBytes.js +20 -7
- package/gbToBytes.mjs +1 -2
- package/getEmptyArray.js +25 -16
- package/getEmptyArray.mjs +4 -3
- package/getKeys.js +20 -6
- package/getKeys.mjs +1 -2
- package/getMediaQueryWidthResolvers.js +62 -53
- package/getMediaQueryWidthResolvers.mjs +44 -49
- package/getMediaQueryWidthTailwindScreens.js +36 -18
- package/getMediaQueryWidthTailwindScreens.mjs +18 -14
- package/getNonce.js +20 -10
- package/getNonce.mjs +1 -2
- package/getParamAmong.js +22 -19
- package/getParamAmong.mjs +2 -4
- package/getParamAsInt.js +22 -19
- package/getParamAsInt.mjs +2 -4
- package/getParamAsString.js +21 -16
- package/getParamAsString.mjs +1 -2
- package/getType.js +19 -12
- package/getType.mjs +2 -4
- package/getUrlHashParams.js +20 -13
- package/getUrlHashParams.mjs +2 -4
- package/getUrlHashPathname.js +20 -8
- package/getUrlHashPathname.mjs +1 -3
- package/getUrlPathnameParts.js +23 -23
- package/getUrlPathnameParts.mjs +2 -7
- package/getUrlQueryParams.js +26 -33
- package/getUrlQueryParams.mjs +7 -18
- package/imgEmptyPixel.js +20 -6
- package/imgEmptyPixel.mjs +1 -2
- package/index.js +531 -266
- package/index.mjs +2 -2
- package/invariant.js +24 -12
- package/invariant.mjs +6 -8
- package/isAnyObject.js +21 -12
- package/isAnyObject.mjs +1 -2
- package/isArray.js +21 -12
- package/isArray.mjs +1 -2
- package/isBlob.js +21 -12
- package/isBlob.mjs +1 -2
- package/isBoolean.js +21 -12
- package/isBoolean.mjs +1 -2
- package/isBrowser.js +20 -6
- package/isBrowser.mjs +1 -2
- package/isBrowserNow.js +21 -11
- package/isBrowserNow.mjs +1 -2
- package/isDate.js +21 -12
- package/isDate.mjs +1 -2
- package/isEmptyArray.js +21 -12
- package/isEmptyArray.mjs +1 -2
- package/isEmptyObject.js +21 -12
- package/isEmptyObject.mjs +1 -2
- package/isEmptyString.js +19 -6
- package/isEmptyString.mjs +1 -2
- package/isError.js +21 -12
- package/isError.mjs +1 -2
- package/isExternalUrl.js +24 -18
- package/isExternalUrl.mjs +4 -6
- package/isFile.js +21 -12
- package/isFile.mjs +1 -2
- package/isFloat.js +21 -12
- package/isFloat.mjs +1 -2
- package/isFormData.js +21 -12
- package/isFormData.mjs +1 -2
- package/isFullArray.js +21 -12
- package/isFullArray.mjs +1 -2
- package/isFullObject.js +21 -12
- package/isFullObject.mjs +1 -2
- package/isFullString.js +21 -12
- package/isFullString.mjs +1 -2
- package/isFunction.js +18 -9
- package/isFunction.mjs +1 -2
- package/isInt.js +21 -12
- package/isInt.mjs +1 -2
- package/isMap.js +21 -12
- package/isMap.mjs +1 -2
- package/isNaNValue.js +21 -12
- package/isNaNValue.mjs +1 -2
- package/isNegativeNumber.js +21 -12
- package/isNegativeNumber.mjs +1 -2
- package/isNull.js +21 -12
- package/isNull.mjs +1 -2
- package/isNullOrUndefined.js +23 -13
- package/isNullOrUndefined.mjs +1 -2
- package/isNumber.js +21 -14
- package/isNumber.mjs +1 -2
- package/isObject.js +21 -12
- package/isObject.mjs +1 -2
- package/isObjectLike.js +21 -14
- package/isObjectLike.mjs +1 -2
- package/isOneOf.js +19 -11
- package/isOneOf.mjs +1 -7
- package/isPlainObject.js +22 -15
- package/isPlainObject.mjs +3 -6
- package/isPositiveNumber.js +21 -12
- package/isPositiveNumber.mjs +1 -2
- package/isPrimitive.js +26 -22
- package/isPrimitive.mjs +5 -11
- package/isPromise.js +21 -12
- package/isPromise.mjs +1 -2
- package/isRegExp.js +21 -12
- package/isRegExp.mjs +1 -2
- package/isServer.js +22 -11
- package/isServer.mjs +1 -2
- package/isServerNow.js +21 -11
- package/isServerNow.mjs +1 -2
- package/isSet.js +21 -12
- package/isSet.mjs +1 -2
- package/isString.js +21 -12
- package/isString.mjs +1 -2
- package/isSymbol.js +21 -12
- package/isSymbol.mjs +1 -2
- package/isType.js +22 -17
- package/isType.mjs +3 -5
- package/isUndefined.js +21 -12
- package/isUndefined.mjs +1 -2
- package/isWeakMap.js +21 -12
- package/isWeakMap.mjs +1 -2
- package/isWeakSet.js +21 -12
- package/isWeakSet.mjs +1 -2
- package/kbToBytes.js +20 -7
- package/kbToBytes.mjs +1 -2
- package/location.js +6 -2
- package/location.mjs +3 -1
- package/lowercase.js +20 -9
- package/lowercase.mjs +1 -4
- package/mapListBy.js +21 -10
- package/mapListBy.mjs +2 -5
- package/matchSorter.js +132 -133
- package/matchSorter.mjs +108 -126
- package/mbToBytes.js +20 -7
- package/mbToBytes.mjs +1 -2
- package/mergeObjects.d.ts +1 -1
- package/mergeObjects.js +24 -26
- package/mergeObjects.mjs +12 -15
- package/mergeUrlQueryParams.js +25 -20
- package/mergeUrlQueryParams.mjs +4 -8
- package/moveSortableArrayItemByKey.js +26 -12
- package/moveSortableArrayItemByKey.mjs +8 -8
- package/noop.js +20 -7
- package/noop.mjs +1 -2
- package/normaliseUrl.js +22 -18
- package/normaliseUrl.mjs +1 -3
- package/normaliseUrlPathname.js +22 -17
- package/normaliseUrlPathname.mjs +1 -3
- package/objectOmit.js +21 -9
- package/objectOmit.mjs +3 -5
- package/objectPick.js +22 -9
- package/objectPick.mjs +4 -5
- package/package.json +11 -8
- package/parseCookie.js +29 -26
- package/parseCookie.mjs +11 -15
- package/parseURL.js +23 -10
- package/parseURL.mjs +5 -6
- package/quaranteneProps.js +24 -12
- package/quaranteneProps.mjs +6 -8
- package/randomInt.js +19 -6
- package/randomInt.mjs +1 -2
- package/randomKey.js +21 -8
- package/randomKey.mjs +3 -4
- package/readCookie.js +25 -12
- package/readCookie.mjs +7 -8
- package/removeAccents.js +24 -15
- package/removeAccents.mjs +5 -8
- package/removeCookie.js +26 -17
- package/removeCookie.mjs +6 -5
- package/removeDuplicates.js +1 -1
- package/removeDuplicates.mjs +0 -1
- package/removeDuplicatesByKey.js +24 -12
- package/removeDuplicatesByKey.mjs +5 -7
- package/removeDuplicatesComparing.js +22 -11
- package/removeDuplicatesComparing.mjs +3 -4
- package/removeIndexesFromArray.js +21 -8
- package/removeIndexesFromArray.mjs +3 -4
- package/removeTrailingSlash.js +20 -8
- package/removeTrailingSlash.mjs +1 -3
- package/removeUrlQueryParams.js +27 -20
- package/removeUrlQueryParams.mjs +5 -7
- package/render.js +61 -137
- package/render.mjs +43 -98
- package/roundTo.js +34 -22
- package/roundTo.mjs +15 -17
- package/serializeCookie.js +29 -35
- package/serializeCookie.mjs +9 -15
- package/setCookie.js +37 -31
- package/setCookie.mjs +13 -16
- package/shuffle.js +28 -14
- package/shuffle.mjs +10 -10
- package/slugify.js +33 -25
- package/slugify.mjs +13 -11
- package/split.js +18 -4
- package/swapMap.js +22 -10
- package/swapMap.mjs +3 -5
- package/throttle.d.ts +1 -0
- package/throttle.js +23 -15
- package/throttle.mjs +5 -11
- package/titleCase.js +20 -11
- package/titleCase.mjs +1 -6
- package/toNumber.js +20 -9
- package/toNumber.mjs +1 -2
- package/toRgba.js +22 -10
- package/toRgba.mjs +3 -5
- package/transformToUrlPathname.js +21 -18
- package/transformToUrlPathname.mjs +2 -5
- package/truncate.js +20 -13
- package/truncate.mjs +1 -8
- package/tryUntil.js +26 -15
- package/tryUntil.mjs +7 -10
- package/types.js +4 -1
- package/types.mjs +2 -1
- package/uid.js +21 -13
- package/uid.mjs +3 -5
- package/updateLinkParams.js +21 -14
- package/updateLinkParams.mjs +2 -3
- package/updateUrlQueryParams.js +26 -21
- package/updateUrlQueryParams.mjs +3 -7
- package/uppercase.js +20 -9
- package/uppercase.mjs +1 -4
- package/uuid.js +21 -10
- package/uuid.mjs +2 -5
- package/uuidNumeric.js +20 -7
- package/uuidNumeric.mjs +1 -2
- package/wait.js +20 -9
- package/wait.mjs +1 -4
- package/without.js +2 -3
- package/without.mjs +1 -3
package/index.js
CHANGED
|
@@ -1,267 +1,532 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
2
|
+
Object.defineProperty(exports, "__esModule", {
|
|
3
|
+
value: true
|
|
4
|
+
});
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
accentsSets: function() {
|
|
13
|
+
return _accentSets.accentsSets;
|
|
14
|
+
},
|
|
15
|
+
addOrReplaceAtIdx: function() {
|
|
16
|
+
return _addOrReplaceAtIdx.addOrReplaceAtIdx;
|
|
17
|
+
},
|
|
18
|
+
areEqual: function() {
|
|
19
|
+
return _areEqual.areEqual;
|
|
20
|
+
},
|
|
21
|
+
arrayOfAll: function() {
|
|
22
|
+
return _arrayOfAll.arrayOfAll;
|
|
23
|
+
},
|
|
24
|
+
arraySum: function() {
|
|
25
|
+
return _arraySum.arraySum;
|
|
26
|
+
},
|
|
27
|
+
arrayToLookup: function() {
|
|
28
|
+
return _arrayToLookup.arrayToLookup;
|
|
29
|
+
},
|
|
30
|
+
buildUrlQueryString: function() {
|
|
31
|
+
return _buildUrlQueryString.buildUrlQueryString;
|
|
32
|
+
},
|
|
33
|
+
capitalize: function() {
|
|
34
|
+
return _capitalize.capitalize;
|
|
35
|
+
},
|
|
36
|
+
changeUrlPath: function() {
|
|
37
|
+
return _changeUrlPath.changeUrlPath;
|
|
38
|
+
},
|
|
39
|
+
chunkByChunks: function() {
|
|
40
|
+
return _chunkByChunks.chunkByChunks;
|
|
41
|
+
},
|
|
42
|
+
chunkBySize: function() {
|
|
43
|
+
return _chunkBySize.chunkBySize;
|
|
44
|
+
},
|
|
45
|
+
clamp: function() {
|
|
46
|
+
return _clamp.clamp;
|
|
47
|
+
},
|
|
48
|
+
clsx: function() {
|
|
49
|
+
return _clsx.clsx;
|
|
50
|
+
},
|
|
51
|
+
convertRange: function() {
|
|
52
|
+
return _convertRange.convertRange;
|
|
53
|
+
},
|
|
54
|
+
createPalette: function() {
|
|
55
|
+
return _createPalette.createPalette;
|
|
56
|
+
},
|
|
57
|
+
debounce: function() {
|
|
58
|
+
return _debounce.debounce;
|
|
59
|
+
},
|
|
60
|
+
debounceRaf: function() {
|
|
61
|
+
return _debounceRaf.debounceRaf;
|
|
62
|
+
},
|
|
63
|
+
debouncePromise: function() {
|
|
64
|
+
return _debouncePromise.debouncePromise;
|
|
65
|
+
},
|
|
66
|
+
decode: function() {
|
|
67
|
+
return _decode.decode;
|
|
68
|
+
},
|
|
69
|
+
Defer: function() {
|
|
70
|
+
return _Defer.Defer;
|
|
71
|
+
},
|
|
72
|
+
Emitter: function() {
|
|
73
|
+
return _Emitter.Emitter;
|
|
74
|
+
},
|
|
75
|
+
encode: function() {
|
|
76
|
+
return _encode.encode;
|
|
77
|
+
},
|
|
78
|
+
ensureInt: function() {
|
|
79
|
+
return _ensureInt.ensureInt;
|
|
80
|
+
},
|
|
81
|
+
errorToString: function() {
|
|
82
|
+
return _errorToString.errorToString;
|
|
83
|
+
},
|
|
84
|
+
findDuplicatedIndexes: function() {
|
|
85
|
+
return _findDuplicatedIndexes.findDuplicatedIndexes;
|
|
86
|
+
},
|
|
87
|
+
forin: function() {
|
|
88
|
+
return _forin.forin;
|
|
89
|
+
},
|
|
90
|
+
gbToBytes: function() {
|
|
91
|
+
return _gbToBytes.gbToBytes;
|
|
92
|
+
},
|
|
93
|
+
getEmptyArray: function() {
|
|
94
|
+
return _getEmptyArray.getEmptyArray;
|
|
95
|
+
},
|
|
96
|
+
getKeys: function() {
|
|
97
|
+
return _getKeys.getKeys;
|
|
98
|
+
},
|
|
99
|
+
getMediaQueryWidthResolvers: function() {
|
|
100
|
+
return _getMediaQueryWidthResolvers.getMediaQueryWidthResolvers;
|
|
101
|
+
},
|
|
102
|
+
getMediaQueryWidthTailwindScreens: function() {
|
|
103
|
+
return _getMediaQueryWidthTailwindScreens.getMediaQueryWidthTailwindScreens;
|
|
104
|
+
},
|
|
105
|
+
getNonce: function() {
|
|
106
|
+
return _getNonce.getNonce;
|
|
107
|
+
},
|
|
108
|
+
getParamAmong: function() {
|
|
109
|
+
return _getParamAmong.getParamAmong;
|
|
110
|
+
},
|
|
111
|
+
getParamAsInt: function() {
|
|
112
|
+
return _getParamAsInt.getParamAsInt;
|
|
113
|
+
},
|
|
114
|
+
getParamAsString: function() {
|
|
115
|
+
return _getParamAsString.getParamAsString;
|
|
116
|
+
},
|
|
117
|
+
getType: function() {
|
|
118
|
+
return _getType.getType;
|
|
119
|
+
},
|
|
120
|
+
getUrlHashParams: function() {
|
|
121
|
+
return _getUrlHashParams.getUrlHashParams;
|
|
122
|
+
},
|
|
123
|
+
getUrlHashPathname: function() {
|
|
124
|
+
return _getUrlHashPathname.getUrlHashPathname;
|
|
125
|
+
},
|
|
126
|
+
getUrlPathnameParts: function() {
|
|
127
|
+
return _getUrlPathnameParts.getUrlPathnameParts;
|
|
128
|
+
},
|
|
129
|
+
getUrlQueryParams: function() {
|
|
130
|
+
return _getUrlQueryParams.getUrlQueryParams;
|
|
131
|
+
},
|
|
132
|
+
imgEmptyPixel: function() {
|
|
133
|
+
return _imgEmptyPixel.imgEmptyPixel;
|
|
134
|
+
},
|
|
135
|
+
isAnyObject: function() {
|
|
136
|
+
return _isAnyObject.isAnyObject;
|
|
137
|
+
},
|
|
138
|
+
isArray: function() {
|
|
139
|
+
return _isArray.isArray;
|
|
140
|
+
},
|
|
141
|
+
isBlob: function() {
|
|
142
|
+
return _isBlob.isBlob;
|
|
143
|
+
},
|
|
144
|
+
isBoolean: function() {
|
|
145
|
+
return _isBoolean.isBoolean;
|
|
146
|
+
},
|
|
147
|
+
isBrowser: function() {
|
|
148
|
+
return _isBrowser.isBrowser;
|
|
149
|
+
},
|
|
150
|
+
isBrowserNow: function() {
|
|
151
|
+
return _isBrowserNow.isBrowserNow;
|
|
152
|
+
},
|
|
153
|
+
isDate: function() {
|
|
154
|
+
return _isDate.isDate;
|
|
155
|
+
},
|
|
156
|
+
isEmptyArray: function() {
|
|
157
|
+
return _isEmptyArray.isEmptyArray;
|
|
158
|
+
},
|
|
159
|
+
isEmptyObject: function() {
|
|
160
|
+
return _isEmptyObject.isEmptyObject;
|
|
161
|
+
},
|
|
162
|
+
isEmptyString: function() {
|
|
163
|
+
return _isEmptyString.isEmptyString;
|
|
164
|
+
},
|
|
165
|
+
isError: function() {
|
|
166
|
+
return _isError.isError;
|
|
167
|
+
},
|
|
168
|
+
isExternalUrl: function() {
|
|
169
|
+
return _isExternalUrl.isExternalUrl;
|
|
170
|
+
},
|
|
171
|
+
isFile: function() {
|
|
172
|
+
return _isFile.isFile;
|
|
173
|
+
},
|
|
174
|
+
isFloat: function() {
|
|
175
|
+
return _isFloat.isFloat;
|
|
176
|
+
},
|
|
177
|
+
isFormData: function() {
|
|
178
|
+
return _isFormData.isFormData;
|
|
179
|
+
},
|
|
180
|
+
isFullArray: function() {
|
|
181
|
+
return _isFullArray.isFullArray;
|
|
182
|
+
},
|
|
183
|
+
isFullObject: function() {
|
|
184
|
+
return _isFullObject.isFullObject;
|
|
185
|
+
},
|
|
186
|
+
isFullString: function() {
|
|
187
|
+
return _isFullString.isFullString;
|
|
188
|
+
},
|
|
189
|
+
isFunction: function() {
|
|
190
|
+
return _isFunction.isFunction;
|
|
191
|
+
},
|
|
192
|
+
isInt: function() {
|
|
193
|
+
return _isInt.isInt;
|
|
194
|
+
},
|
|
195
|
+
isMap: function() {
|
|
196
|
+
return _isMap.isMap;
|
|
197
|
+
},
|
|
198
|
+
isNaNValue: function() {
|
|
199
|
+
return _isNaNValue.isNaNValue;
|
|
200
|
+
},
|
|
201
|
+
isNegativeNumber: function() {
|
|
202
|
+
return _isNegativeNumber.isNegativeNumber;
|
|
203
|
+
},
|
|
204
|
+
isNullOrUndefined: function() {
|
|
205
|
+
return _isNullOrUndefined.isNullOrUndefined;
|
|
206
|
+
},
|
|
207
|
+
isNull: function() {
|
|
208
|
+
return _isNull.isNull;
|
|
209
|
+
},
|
|
210
|
+
isNumber: function() {
|
|
211
|
+
return _isNumber.isNumber;
|
|
212
|
+
},
|
|
213
|
+
isObjectLike: function() {
|
|
214
|
+
return _isObjectLike.isObjectLike;
|
|
215
|
+
},
|
|
216
|
+
isObject: function() {
|
|
217
|
+
return _isObject.isObject;
|
|
218
|
+
},
|
|
219
|
+
isOneOf: function() {
|
|
220
|
+
return _isOneOf.isOneOf;
|
|
221
|
+
},
|
|
222
|
+
isPlainObject: function() {
|
|
223
|
+
return _isPlainObject.isPlainObject;
|
|
224
|
+
},
|
|
225
|
+
isPositiveNumber: function() {
|
|
226
|
+
return _isPositiveNumber.isPositiveNumber;
|
|
227
|
+
},
|
|
228
|
+
isPrimitive: function() {
|
|
229
|
+
return _isPrimitive.isPrimitive;
|
|
230
|
+
},
|
|
231
|
+
isPromise: function() {
|
|
232
|
+
return _isPromise.isPromise;
|
|
233
|
+
},
|
|
234
|
+
isRegExp: function() {
|
|
235
|
+
return _isRegExp.isRegExp;
|
|
236
|
+
},
|
|
237
|
+
isServer: function() {
|
|
238
|
+
return _isServer.isServer;
|
|
239
|
+
},
|
|
240
|
+
isServerNow: function() {
|
|
241
|
+
return _isServerNow.isServerNow;
|
|
242
|
+
},
|
|
243
|
+
isSet: function() {
|
|
244
|
+
return _isSet.isSet;
|
|
245
|
+
},
|
|
246
|
+
isString: function() {
|
|
247
|
+
return _isString.isString;
|
|
248
|
+
},
|
|
249
|
+
isSymbol: function() {
|
|
250
|
+
return _isSymbol.isSymbol;
|
|
251
|
+
},
|
|
252
|
+
isType: function() {
|
|
253
|
+
return _isType.isType;
|
|
254
|
+
},
|
|
255
|
+
isUndefined: function() {
|
|
256
|
+
return _isUndefined.isUndefined;
|
|
257
|
+
},
|
|
258
|
+
isWeakMap: function() {
|
|
259
|
+
return _isWeakMap.isWeakMap;
|
|
260
|
+
},
|
|
261
|
+
isWeakSet: function() {
|
|
262
|
+
return _isWeakSet.isWeakSet;
|
|
263
|
+
},
|
|
264
|
+
kbToBytes: function() {
|
|
265
|
+
return _kbToBytes.kbToBytes;
|
|
266
|
+
},
|
|
267
|
+
lowercase: function() {
|
|
268
|
+
return _lowercase.lowercase;
|
|
269
|
+
},
|
|
270
|
+
mapListBy: function() {
|
|
271
|
+
return _mapListBy.mapListBy;
|
|
272
|
+
},
|
|
273
|
+
matchSorter: function() {
|
|
274
|
+
return _matchSorter.matchSorter;
|
|
275
|
+
},
|
|
276
|
+
mbToBytes: function() {
|
|
277
|
+
return _mbToBytes.mbToBytes;
|
|
278
|
+
},
|
|
279
|
+
mergeObjects: function() {
|
|
280
|
+
return _mergeObjects.mergeObjects;
|
|
281
|
+
},
|
|
282
|
+
mergeUrlQueryParams: function() {
|
|
283
|
+
return _mergeUrlQueryParams.mergeUrlQueryParams;
|
|
284
|
+
},
|
|
285
|
+
moveSortableArrayItemByKey: function() {
|
|
286
|
+
return _moveSortableArrayItemByKey.moveSortableArrayItemByKey;
|
|
287
|
+
},
|
|
288
|
+
noop: function() {
|
|
289
|
+
return _noop.noop;
|
|
290
|
+
},
|
|
291
|
+
normaliseUrlPathname: function() {
|
|
292
|
+
return _normaliseUrlPathname.normaliseUrlPathname;
|
|
293
|
+
},
|
|
294
|
+
normaliseUrl: function() {
|
|
295
|
+
return _normaliseUrl.normaliseUrl;
|
|
296
|
+
},
|
|
297
|
+
objectPick: function() {
|
|
298
|
+
return _objectPick.objectPick;
|
|
299
|
+
},
|
|
300
|
+
objectOmit: function() {
|
|
301
|
+
return _objectOmit.objectOmit;
|
|
302
|
+
},
|
|
303
|
+
parseCookie: function() {
|
|
304
|
+
return _parseCookie.parseCookie;
|
|
305
|
+
},
|
|
306
|
+
parseURL: function() {
|
|
307
|
+
return _parseURL.parseURL;
|
|
308
|
+
},
|
|
309
|
+
quaranteneProps: function() {
|
|
310
|
+
return _quaranteneProps.quaranteneProps;
|
|
311
|
+
},
|
|
312
|
+
randomInt: function() {
|
|
313
|
+
return _randomInt.randomInt;
|
|
314
|
+
},
|
|
315
|
+
randomKey: function() {
|
|
316
|
+
return _randomKey.randomKey;
|
|
317
|
+
},
|
|
318
|
+
readCookie: function() {
|
|
319
|
+
return _readCookie.readCookie;
|
|
320
|
+
},
|
|
321
|
+
removeAccents: function() {
|
|
322
|
+
return _removeAccents.removeAccents;
|
|
323
|
+
},
|
|
324
|
+
removeCookie: function() {
|
|
325
|
+
return _removeCookie.removeCookie;
|
|
326
|
+
},
|
|
327
|
+
removeDuplicatesByKey: function() {
|
|
328
|
+
return _removeDuplicatesByKey.removeDuplicatesByKey;
|
|
329
|
+
},
|
|
330
|
+
removeDuplicatesComparing: function() {
|
|
331
|
+
return _removeDuplicatesComparing.removeDuplicatesComparing;
|
|
332
|
+
},
|
|
333
|
+
removeIndexesFromArray: function() {
|
|
334
|
+
return _removeIndexesFromArray.removeIndexesFromArray;
|
|
335
|
+
},
|
|
336
|
+
removeTralingSlash: function() {
|
|
337
|
+
return _removeTrailingSlash.removeTralingSlash;
|
|
338
|
+
},
|
|
339
|
+
removeUrlQueryParams: function() {
|
|
340
|
+
return _removeUrlQueryParams.removeUrlQueryParams;
|
|
341
|
+
},
|
|
342
|
+
roundTo: function() {
|
|
343
|
+
return _roundTo.roundTo;
|
|
344
|
+
},
|
|
345
|
+
serializeCookie: function() {
|
|
346
|
+
return _serializeCookie.serializeCookie;
|
|
347
|
+
},
|
|
348
|
+
setCookie: function() {
|
|
349
|
+
return _setCookie.setCookie;
|
|
350
|
+
},
|
|
351
|
+
shuffle: function() {
|
|
352
|
+
return _shuffle.shuffle;
|
|
353
|
+
},
|
|
354
|
+
slugify: function() {
|
|
355
|
+
return _slugify.slugify;
|
|
356
|
+
},
|
|
357
|
+
swapMap: function() {
|
|
358
|
+
return _swapMap.swapMap;
|
|
359
|
+
},
|
|
360
|
+
throttle: function() {
|
|
361
|
+
return _throttle.throttle;
|
|
362
|
+
},
|
|
363
|
+
titleCase: function() {
|
|
364
|
+
return _titleCase.titleCase;
|
|
365
|
+
},
|
|
366
|
+
toNumber: function() {
|
|
367
|
+
return _toNumber.toNumber;
|
|
368
|
+
},
|
|
369
|
+
toRgba: function() {
|
|
370
|
+
return _toRgba.toRgba;
|
|
371
|
+
},
|
|
372
|
+
transformToUrlPathname: function() {
|
|
373
|
+
return _transformToUrlPathname.transformToUrlPathname;
|
|
374
|
+
},
|
|
375
|
+
truncate: function() {
|
|
376
|
+
return _truncate.truncate;
|
|
377
|
+
},
|
|
378
|
+
tryUntil: function() {
|
|
379
|
+
return _tryUntil.tryUntil;
|
|
380
|
+
},
|
|
381
|
+
uid: function() {
|
|
382
|
+
return _uid.uid;
|
|
383
|
+
},
|
|
384
|
+
updateLinkParams: function() {
|
|
385
|
+
return _updateLinkParams.updateLinkParams;
|
|
386
|
+
},
|
|
387
|
+
updateUrlQueryParams: function() {
|
|
388
|
+
return _updateUrlQueryParams.updateUrlQueryParams;
|
|
389
|
+
},
|
|
390
|
+
uppercase: function() {
|
|
391
|
+
return _uppercase.uppercase;
|
|
392
|
+
},
|
|
393
|
+
uuid: function() {
|
|
394
|
+
return _uuid.uuid;
|
|
395
|
+
},
|
|
396
|
+
uuidNumeric: function() {
|
|
397
|
+
return _uuidNumeric.uuidNumeric;
|
|
398
|
+
},
|
|
399
|
+
wait: function() {
|
|
400
|
+
return _wait.wait;
|
|
401
|
+
}
|
|
402
|
+
});
|
|
403
|
+
const _accentSets = require("./accentSets");
|
|
404
|
+
const _addOrReplaceAtIdx = require("./addOrReplaceAtIdx");
|
|
405
|
+
const _areEqual = require("./areEqual");
|
|
406
|
+
const _arrayOfAll = require("./arrayOfAll");
|
|
407
|
+
const _arraySum = require("./arraySum");
|
|
408
|
+
const _arrayToLookup = require("./arrayToLookup");
|
|
409
|
+
const _buildUrlQueryString = require("./buildUrlQueryString");
|
|
410
|
+
const _capitalize = require("./capitalize");
|
|
411
|
+
const _changeUrlPath = require("./changeUrlPath");
|
|
412
|
+
const _chunkByChunks = require("./chunkByChunks");
|
|
413
|
+
const _chunkBySize = require("./chunkBySize");
|
|
414
|
+
const _clamp = require("./clamp");
|
|
415
|
+
const _clsx = require("./clsx");
|
|
416
|
+
const _convertRange = require("./convertRange");
|
|
417
|
+
const _createPalette = require("./createPalette");
|
|
418
|
+
const _debounce = require("./debounce");
|
|
419
|
+
const _debounceRaf = require("./debounceRaf");
|
|
420
|
+
const _debouncePromise = require("./debouncePromise");
|
|
421
|
+
const _decode = require("./decode");
|
|
422
|
+
const _Defer = require("./Defer");
|
|
423
|
+
const _Emitter = require("./Emitter");
|
|
424
|
+
const _encode = require("./encode");
|
|
425
|
+
const _ensureInt = require("./ensureInt");
|
|
426
|
+
const _errorToString = require("./errorToString");
|
|
427
|
+
const _findDuplicatedIndexes = require("./findDuplicatedIndexes");
|
|
428
|
+
const _forin = require("./forin");
|
|
429
|
+
const _gbToBytes = require("./gbToBytes");
|
|
430
|
+
const _getEmptyArray = require("./getEmptyArray");
|
|
431
|
+
const _getKeys = require("./getKeys");
|
|
432
|
+
const _getMediaQueryWidthResolvers = require("./getMediaQueryWidthResolvers");
|
|
433
|
+
const _getMediaQueryWidthTailwindScreens = require("./getMediaQueryWidthTailwindScreens");
|
|
434
|
+
const _getNonce = require("./getNonce");
|
|
435
|
+
const _getParamAmong = require("./getParamAmong");
|
|
436
|
+
const _getParamAsInt = require("./getParamAsInt");
|
|
437
|
+
const _getParamAsString = require("./getParamAsString");
|
|
438
|
+
const _getType = require("./getType");
|
|
439
|
+
const _getUrlHashParams = require("./getUrlHashParams");
|
|
440
|
+
const _getUrlHashPathname = require("./getUrlHashPathname");
|
|
441
|
+
const _getUrlPathnameParts = require("./getUrlPathnameParts");
|
|
442
|
+
const _getUrlQueryParams = require("./getUrlQueryParams");
|
|
443
|
+
const _imgEmptyPixel = require("./imgEmptyPixel");
|
|
444
|
+
const _isAnyObject = require("./isAnyObject");
|
|
445
|
+
const _isArray = require("./isArray");
|
|
446
|
+
const _isBlob = require("./isBlob");
|
|
447
|
+
const _isBoolean = require("./isBoolean");
|
|
448
|
+
const _isBrowser = require("./isBrowser");
|
|
449
|
+
const _isBrowserNow = require("./isBrowserNow");
|
|
450
|
+
const _isDate = require("./isDate");
|
|
451
|
+
const _isEmptyArray = require("./isEmptyArray");
|
|
452
|
+
const _isEmptyObject = require("./isEmptyObject");
|
|
453
|
+
const _isEmptyString = require("./isEmptyString");
|
|
454
|
+
const _isError = require("./isError");
|
|
455
|
+
const _isExternalUrl = require("./isExternalUrl");
|
|
456
|
+
const _isFile = require("./isFile");
|
|
457
|
+
const _isFloat = require("./isFloat");
|
|
458
|
+
const _isFormData = require("./isFormData");
|
|
459
|
+
const _isFullArray = require("./isFullArray");
|
|
460
|
+
const _isFullObject = require("./isFullObject");
|
|
461
|
+
const _isFullString = require("./isFullString");
|
|
462
|
+
const _isFunction = require("./isFunction");
|
|
463
|
+
const _isInt = require("./isInt");
|
|
464
|
+
const _isMap = require("./isMap");
|
|
465
|
+
const _isNaNValue = require("./isNaNValue");
|
|
466
|
+
const _isNegativeNumber = require("./isNegativeNumber");
|
|
467
|
+
const _isNullOrUndefined = require("./isNullOrUndefined");
|
|
468
|
+
const _isNull = require("./isNull");
|
|
469
|
+
const _isNumber = require("./isNumber");
|
|
470
|
+
const _isObjectLike = require("./isObjectLike");
|
|
471
|
+
const _isObject = require("./isObject");
|
|
472
|
+
const _isOneOf = require("./isOneOf");
|
|
473
|
+
const _isPlainObject = require("./isPlainObject");
|
|
474
|
+
const _isPositiveNumber = require("./isPositiveNumber");
|
|
475
|
+
const _isPrimitive = require("./isPrimitive");
|
|
476
|
+
const _isPromise = require("./isPromise");
|
|
477
|
+
const _isRegExp = require("./isRegExp");
|
|
478
|
+
const _isServer = require("./isServer");
|
|
479
|
+
const _isServerNow = require("./isServerNow");
|
|
480
|
+
const _isSet = require("./isSet");
|
|
481
|
+
const _isString = require("./isString");
|
|
482
|
+
const _isSymbol = require("./isSymbol");
|
|
483
|
+
const _isType = require("./isType");
|
|
484
|
+
const _isUndefined = require("./isUndefined");
|
|
485
|
+
const _isWeakMap = require("./isWeakMap");
|
|
486
|
+
const _isWeakSet = require("./isWeakSet");
|
|
487
|
+
const _kbToBytes = require("./kbToBytes");
|
|
488
|
+
const _lowercase = require("./lowercase");
|
|
489
|
+
const _mapListBy = require("./mapListBy");
|
|
490
|
+
const _matchSorter = require("./matchSorter");
|
|
491
|
+
const _mbToBytes = require("./mbToBytes");
|
|
492
|
+
const _mergeObjects = require("./mergeObjects");
|
|
493
|
+
const _mergeUrlQueryParams = require("./mergeUrlQueryParams");
|
|
494
|
+
const _moveSortableArrayItemByKey = require("./moveSortableArrayItemByKey");
|
|
495
|
+
const _noop = require("./noop");
|
|
496
|
+
const _normaliseUrlPathname = require("./normaliseUrlPathname");
|
|
497
|
+
const _normaliseUrl = require("./normaliseUrl");
|
|
498
|
+
const _objectPick = require("./objectPick");
|
|
499
|
+
const _objectOmit = require("./objectOmit");
|
|
500
|
+
const _parseCookie = require("./parseCookie");
|
|
501
|
+
const _parseURL = require("./parseURL");
|
|
502
|
+
const _quaranteneProps = require("./quaranteneProps");
|
|
503
|
+
const _randomInt = require("./randomInt");
|
|
504
|
+
const _randomKey = require("./randomKey");
|
|
505
|
+
const _readCookie = require("./readCookie");
|
|
506
|
+
const _removeAccents = require("./removeAccents");
|
|
507
|
+
const _removeCookie = require("./removeCookie");
|
|
508
|
+
const _removeDuplicatesByKey = require("./removeDuplicatesByKey");
|
|
509
|
+
const _removeDuplicatesComparing = require("./removeDuplicatesComparing");
|
|
510
|
+
const _removeIndexesFromArray = require("./removeIndexesFromArray");
|
|
511
|
+
const _removeTrailingSlash = require("./removeTrailingSlash");
|
|
512
|
+
const _removeUrlQueryParams = require("./removeUrlQueryParams");
|
|
513
|
+
const _roundTo = require("./roundTo");
|
|
514
|
+
const _serializeCookie = require("./serializeCookie");
|
|
515
|
+
const _setCookie = require("./setCookie");
|
|
516
|
+
const _shuffle = require("./shuffle");
|
|
517
|
+
const _slugify = require("./slugify");
|
|
518
|
+
const _swapMap = require("./swapMap");
|
|
519
|
+
const _throttle = require("./throttle");
|
|
520
|
+
const _titleCase = require("./titleCase");
|
|
521
|
+
const _toNumber = require("./toNumber");
|
|
522
|
+
const _toRgba = require("./toRgba");
|
|
523
|
+
const _transformToUrlPathname = require("./transformToUrlPathname");
|
|
524
|
+
const _truncate = require("./truncate");
|
|
525
|
+
const _tryUntil = require("./tryUntil");
|
|
526
|
+
const _uid = require("./uid");
|
|
527
|
+
const _updateLinkParams = require("./updateLinkParams");
|
|
528
|
+
const _updateUrlQueryParams = require("./updateUrlQueryParams");
|
|
529
|
+
const _uppercase = require("./uppercase");
|
|
530
|
+
const _uuid = require("./uuid");
|
|
531
|
+
const _uuidNumeric = require("./uuidNumeric");
|
|
532
|
+
const _wait = require("./wait");
|