@nordcraft/std-lib 1.0.30 → 1.0.31
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/dist/actions.d.ts +14 -14
- package/dist/actions.js +14 -14
- package/dist/actions.js.map +1 -1
- package/dist/formulas.d.ts +79 -79
- package/dist/formulas.js +79 -79
- package/dist/formulas.js.map +1 -1
- package/dist/lib.ts +1525 -1525
- package/package.json +2 -2
package/dist/actions.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as share from "./actions/share/handler";
|
|
2
|
-
import * as deleteFromLocalStorage from "./actions/deleteFromLocalStorage/handler";
|
|
3
|
-
import * as focus from "./actions/focus/handler";
|
|
4
|
-
import * as setSessionCookies from "./actions/setSessionCookies/handler";
|
|
5
|
-
import * as saveToSessionStorage from "./actions/saveToSessionStorage/handler";
|
|
6
|
-
import * as deleteFromSessionStorage from "./actions/deleteFromSessionStorage/handler";
|
|
7
|
-
import * as interval from "./actions/interval/handler";
|
|
8
1
|
import * as clearLocalStorage from "./actions/clearLocalStorage/handler";
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
2
|
+
import * as saveToSessionStorage from "./actions/saveToSessionStorage/handler";
|
|
3
|
+
import * as preventDefault from "./actions/preventDefault/handler";
|
|
4
|
+
import * as focus from "./actions/focus/handler";
|
|
11
5
|
import * as setCookie from "./actions/setCookie/handler";
|
|
12
|
-
import * as
|
|
6
|
+
import * as clearSessionStorage from "./actions/clearSessionStorage/handler";
|
|
13
7
|
import * as stopPropagation from "./actions/stopPropagation/handler";
|
|
14
|
-
import * as
|
|
8
|
+
import * as gotToURL from "./actions/gotToURL/handler";
|
|
9
|
+
import * as share from "./actions/share/handler";
|
|
10
|
+
import * as setSessionCookies from "./actions/setSessionCookies/handler";
|
|
11
|
+
import * as copyToClipboard from "./actions/copyToClipboard/handler";
|
|
12
|
+
import * as deleteFromLocalStorage from "./actions/deleteFromLocalStorage/handler";
|
|
15
13
|
import * as logToConsole from "./actions/logToConsole/handler";
|
|
16
|
-
import * as
|
|
14
|
+
import * as deleteFromSessionStorage from "./actions/deleteFromSessionStorage/handler";
|
|
17
15
|
import * as sleep from "./actions/sleep/handler";
|
|
18
|
-
import * as
|
|
19
|
-
|
|
16
|
+
import * as interval from "./actions/interval/handler";
|
|
17
|
+
import * as saveToLocalStorage from "./actions/saveToLocalStorage/handler";
|
|
18
|
+
import * as setHttpOnlyCookie from "./actions/setHttpOnlyCookie/handler";
|
|
19
|
+
export { clearLocalStorage, saveToSessionStorage, preventDefault, focus, setCookie, clearSessionStorage, stopPropagation, gotToURL, share, setSessionCookies, copyToClipboard, deleteFromLocalStorage, logToConsole, deleteFromSessionStorage, sleep, interval, saveToLocalStorage, setHttpOnlyCookie };
|
package/dist/actions.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import * as share from "./actions/share/handler";
|
|
2
|
-
import * as deleteFromLocalStorage from "./actions/deleteFromLocalStorage/handler";
|
|
3
|
-
import * as focus from "./actions/focus/handler";
|
|
4
|
-
import * as setSessionCookies from "./actions/setSessionCookies/handler";
|
|
5
|
-
import * as saveToSessionStorage from "./actions/saveToSessionStorage/handler";
|
|
6
|
-
import * as deleteFromSessionStorage from "./actions/deleteFromSessionStorage/handler";
|
|
7
|
-
import * as interval from "./actions/interval/handler";
|
|
8
1
|
import * as clearLocalStorage from "./actions/clearLocalStorage/handler";
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
2
|
+
import * as saveToSessionStorage from "./actions/saveToSessionStorage/handler";
|
|
3
|
+
import * as preventDefault from "./actions/preventDefault/handler";
|
|
4
|
+
import * as focus from "./actions/focus/handler";
|
|
11
5
|
import * as setCookie from "./actions/setCookie/handler";
|
|
12
|
-
import * as
|
|
6
|
+
import * as clearSessionStorage from "./actions/clearSessionStorage/handler";
|
|
13
7
|
import * as stopPropagation from "./actions/stopPropagation/handler";
|
|
14
|
-
import * as
|
|
8
|
+
import * as gotToURL from "./actions/gotToURL/handler";
|
|
9
|
+
import * as share from "./actions/share/handler";
|
|
10
|
+
import * as setSessionCookies from "./actions/setSessionCookies/handler";
|
|
11
|
+
import * as copyToClipboard from "./actions/copyToClipboard/handler";
|
|
12
|
+
import * as deleteFromLocalStorage from "./actions/deleteFromLocalStorage/handler";
|
|
15
13
|
import * as logToConsole from "./actions/logToConsole/handler";
|
|
16
|
-
import * as
|
|
14
|
+
import * as deleteFromSessionStorage from "./actions/deleteFromSessionStorage/handler";
|
|
17
15
|
import * as sleep from "./actions/sleep/handler";
|
|
18
|
-
import * as
|
|
19
|
-
|
|
16
|
+
import * as interval from "./actions/interval/handler";
|
|
17
|
+
import * as saveToLocalStorage from "./actions/saveToLocalStorage/handler";
|
|
18
|
+
import * as setHttpOnlyCookie from "./actions/setHttpOnlyCookie/handler";
|
|
19
|
+
export { clearLocalStorage, saveToSessionStorage, preventDefault, focus, setCookie, clearSessionStorage, stopPropagation, gotToURL, share, setSessionCookies, copyToClipboard, deleteFromLocalStorage, logToConsole, deleteFromSessionStorage, sleep, interval, saveToLocalStorage, setHttpOnlyCookie };
|
|
20
20
|
//# sourceMappingURL=actions.js.map
|
package/dist/actions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"actions.js","sourceRoot":"","sources":["../actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,qCAAqC,CAAA;AACxE,OAAO,KAAK,oBAAoB,MAAM,wCAAwC,CAAA;AAC9E,OAAO,KAAK,cAAc,MAAM,kCAAkC,CAAA;AAClE,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAA;AAChD,OAAO,KAAK,SAAS,MAAM,6BAA6B,CAAA;AACxD,OAAO,KAAK,mBAAmB,MAAM,uCAAuC,CAAA;AAC5E,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAA;AACpE,OAAO,KAAK,QAAQ,MAAM,4BAA4B,CAAA;AACtD,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAA;AAChD,OAAO,KAAK,iBAAiB,MAAM,qCAAqC,CAAA;AACxE,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAA;AACpE,OAAO,KAAK,sBAAsB,MAAM,0CAA0C,CAAA;AAClF,OAAO,KAAK,YAAY,MAAM,gCAAgC,CAAA;AAC9D,OAAO,KAAK,wBAAwB,MAAM,4CAA4C,CAAA;AACtF,OAAO,KAAK,KAAK,MAAM,yBAAyB,CAAA;AAChD,OAAO,KAAK,QAAQ,MAAM,4BAA4B,CAAA;AACtD,OAAO,KAAK,kBAAkB,MAAM,sCAAsC,CAAA;AAC1E,OAAO,KAAK,iBAAiB,MAAM,qCAAqC,CAAA;AAExE,OAAO,EACL,iBAAiB,EACjB,oBAAoB,EACpB,cAAc,EACd,KAAK,EACL,SAAS,EACT,mBAAmB,EACnB,eAAe,EACf,QAAQ,EACR,KAAK,EACL,iBAAiB,EACjB,eAAe,EACf,sBAAsB,EACtB,YAAY,EACZ,wBAAwB,EACxB,KAAK,EACL,QAAQ,EACR,kBAAkB,EAClB,iBAAiB,EAClB,CAAA"}
|
package/dist/formulas.d.ts
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as split from "./formulas/split/handler";
|
|
2
|
+
import * as size from "./formulas/size/handler";
|
|
3
|
+
import * as includes from "./formulas/includes/handler";
|
|
4
|
+
import * as lessThan from "./formulas/lessThan/handler";
|
|
2
5
|
import * as userAgent from "./formulas/userAgent/handler";
|
|
3
|
-
import * as
|
|
4
|
-
import * as currentURL from "./formulas/currentURL/handler";
|
|
5
|
-
import * as encodeJSON from "./formulas/encodeJSON/handler";
|
|
6
|
-
import * as isServer from "./formulas/isServer/handler";
|
|
6
|
+
import * as replaceAll from "./formulas/replaceAll/handler";
|
|
7
7
|
import * as unique from "./formulas/unique/handler";
|
|
8
|
+
import * as round from "./formulas/round/handler";
|
|
9
|
+
import * as parseURL from "./formulas/parseURL/handler";
|
|
10
|
+
import * as getFromSessionStorage from "./formulas/getFromSessionStorage/handler";
|
|
11
|
+
import * as squareRoot from "./formulas/squareRoot/handler";
|
|
12
|
+
import * as currentURL from "./formulas/currentURL/handler";
|
|
8
13
|
import * as lowercase from "./formulas/lowercase/handler";
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as getFromLocalStorage from "./formulas/getFromLocalStorage/handler";
|
|
13
|
-
import * as filter from "./formulas/filter/handler";
|
|
14
|
-
import * as takeLast from "./formulas/takeLast/handler";
|
|
15
|
-
import * as size from "./formulas/size/handler";
|
|
16
|
-
import * as matches from "./formulas/matches/handler";
|
|
17
|
-
import * as dateFromString from "./formulas/dateFromString/handler";
|
|
18
|
-
import * as number from "./formulas/number/handler";
|
|
19
|
-
import * as randomNumber from "./formulas/randomNumber/handler";
|
|
20
|
-
import * as split from "./formulas/split/handler";
|
|
21
|
-
import * as shuffle from "./formulas/shuffle/handler";
|
|
22
|
-
import * as take from "./formulas/take/handler";
|
|
14
|
+
import * as multiply from "./formulas/multiply/handler";
|
|
15
|
+
import * as isServer from "./formulas/isServer/handler";
|
|
16
|
+
import * as indexOf from "./formulas/indexOf/handler";
|
|
23
17
|
import * as lessOrEqual from "./formulas/lessOrEqual/handler";
|
|
24
|
-
import * as
|
|
25
|
-
import * as groupBy from "./formulas/groupBy/handler";
|
|
26
|
-
import * as notEqual from "./formulas/notEqual/handler";
|
|
27
|
-
import * as greaterOrEqueal from "./formulas/greaterOrEqueal/handler";
|
|
18
|
+
import * as every from "./formulas/every/handler";
|
|
28
19
|
import * as capitalize from "./formulas/capitalize/handler";
|
|
29
|
-
import * as
|
|
20
|
+
import * as startsWith from "./formulas/startsWith/handler";
|
|
21
|
+
import * as notEqual from "./formulas/notEqual/handler";
|
|
22
|
+
import * as timestamp from "./formulas/timestamp/handler";
|
|
23
|
+
import * as decodeURIComponent from "./formulas/decodeURIComponent/handler";
|
|
24
|
+
import * as boolean from "./formulas/boolean/handler";
|
|
25
|
+
import * as dateFromString from "./formulas/dateFromString/handler";
|
|
26
|
+
import * as add from "./formulas/add/handler";
|
|
27
|
+
import * as modulo from "./formulas/modulo/handler";
|
|
28
|
+
import * as keyBy from "./formulas/keyBy/handler";
|
|
29
|
+
import * as dateFromTimestamp from "./formulas/dateFromTimestamp/handler";
|
|
30
|
+
import * as find from "./formulas/find/handler";
|
|
31
|
+
import * as map from "./formulas/map/handler";
|
|
32
|
+
import * as number from "./formulas/number/handler";
|
|
33
|
+
import * as matches from "./formulas/matches/handler";
|
|
30
34
|
import * as prepend from "./formulas/prepend/handler";
|
|
35
|
+
import * as fromEntries from "./formulas/fromEntries/handler";
|
|
36
|
+
import * as string from "./formulas/string/handler";
|
|
37
|
+
import * as append from "./formulas/append/handler";
|
|
38
|
+
import * as greaterOrEqueal from "./formulas/greaterOrEqueal/handler";
|
|
39
|
+
import * as encodeURIComponent from "./formulas/encodeURIComponent/handler";
|
|
40
|
+
import * as formatDate from "./formulas/formatDate/handler";
|
|
41
|
+
import * as not from "./formulas/not/handler";
|
|
42
|
+
import * as logarithm from "./formulas/logarithm/handler";
|
|
43
|
+
import * as set from "./formulas/set/handler";
|
|
31
44
|
import * as deleteKey from "./formulas/deleteKey/handler";
|
|
45
|
+
import * as takeLast from "./formulas/takeLast/handler";
|
|
46
|
+
import * as lastIndexOf from "./formulas/lastIndexOf/handler";
|
|
47
|
+
import * as roundUp from "./formulas/roundUp/handler";
|
|
48
|
+
import * as uppercase from "./formulas/uppercase/handler";
|
|
49
|
+
import * as first from "./formulas/first/handler";
|
|
50
|
+
import * as encodeJSON from "./formulas/encodeJSON/handler";
|
|
51
|
+
import * as filter from "./formulas/filter/handler";
|
|
32
52
|
import * as getCookie from "./formulas/getCookie/handler";
|
|
33
|
-
import * as modulo from "./formulas/modulo/handler";
|
|
34
|
-
import * as clamp from "./formulas/clamp/handler";
|
|
35
|
-
import * as flatten from "./formulas/flatten/handler";
|
|
36
|
-
import * as reverse from "./formulas/reverse/handler";
|
|
37
|
-
import * as timestamp from "./formulas/timestamp/handler";
|
|
38
|
-
import * as decodeBase64 from "./formulas/decodeBase64/handler";
|
|
39
|
-
import * as branchName from "./formulas/branchName/handler";
|
|
40
|
-
import * as typeOf from "./formulas/typeOf/handler";
|
|
41
|
-
import * as defaultTo from "./formulas/defaultTo/handler";
|
|
42
53
|
import * as languages from "./formulas/languages/handler";
|
|
43
54
|
import * as findIndex from "./formulas/findIndex/handler";
|
|
44
|
-
import * as
|
|
45
|
-
import * as
|
|
46
|
-
import * as
|
|
47
|
-
import * as encodeURIComponent from "./formulas/encodeURIComponent/handler";
|
|
55
|
+
import * as sum from "./formulas/sum/handler";
|
|
56
|
+
import * as divide from "./formulas/divide/handler";
|
|
57
|
+
import * as canShare from "./formulas/canShare/handler";
|
|
48
58
|
import * as last from "./formulas/last/handler";
|
|
49
|
-
import * as
|
|
50
|
-
import * as
|
|
51
|
-
import * as
|
|
52
|
-
import * as squareRoot from "./formulas/squareRoot/handler";
|
|
53
|
-
import * as getFromSessionStorage from "./formulas/getFromSessionStorage/handler";
|
|
54
|
-
import * as absolute from "./formulas/absolute/handler";
|
|
55
|
-
import * as minus from "./formulas/minus/handler";
|
|
56
|
-
import * as keyBy from "./formulas/keyBy/handler";
|
|
57
|
-
import * as power from "./formulas/power/handler";
|
|
58
|
-
import * as greaterThan from "./formulas/greaterThan/handler";
|
|
59
|
-
import * as append from "./formulas/append/handler";
|
|
59
|
+
import * as reverse from "./formulas/reverse/handler";
|
|
60
|
+
import * as typeOf from "./formulas/typeOf/handler";
|
|
61
|
+
import * as join from "./formulas/join/handler";
|
|
60
62
|
import * as encodeBase64 from "./formulas/encodeBase64/handler";
|
|
61
|
-
import * as
|
|
62
|
-
import * as multiply from "./formulas/multiply/handler";
|
|
63
|
-
import * as drop from "./formulas/drop/handler";
|
|
64
|
-
import * as some from "./formulas/some/handler";
|
|
65
|
-
import * as round from "./formulas/round/handler";
|
|
63
|
+
import * as reduce from "./formulas/reduce/handler";
|
|
66
64
|
import * as roundDown from "./formulas/roundDown/handler";
|
|
67
|
-
import * as
|
|
68
|
-
import * as
|
|
65
|
+
import * as randomNumber from "./formulas/randomNumber/handler";
|
|
66
|
+
import * as greaterThan from "./formulas/greaterThan/handler";
|
|
67
|
+
import * as absolute from "./formulas/absolute/handler";
|
|
68
|
+
import * as parseJSON from "./formulas/parseJSON/handler";
|
|
69
69
|
import * as concatenate from "./formulas/concatenate/handler";
|
|
70
|
-
import * as
|
|
71
|
-
import * as
|
|
72
|
-
import * as
|
|
70
|
+
import * as json from "./formulas/json/handler";
|
|
71
|
+
import * as power from "./formulas/power/handler";
|
|
72
|
+
import * as range from "./formulas/range/handler";
|
|
73
|
+
import * as now from "./formulas/now/handler";
|
|
73
74
|
import * as get from "./formulas/get/handler";
|
|
74
|
-
import * as
|
|
75
|
-
import * as
|
|
76
|
-
import * as
|
|
77
|
-
import * as
|
|
75
|
+
import * as flatten from "./formulas/flatten/handler";
|
|
76
|
+
import * as shuffle from "./formulas/shuffle/handler";
|
|
77
|
+
import * as defaultTo from "./formulas/defaultTo/handler";
|
|
78
|
+
import * as minus from "./formulas/minus/handler";
|
|
78
79
|
import * as min from "./formulas/min/handler";
|
|
79
|
-
import * as
|
|
80
|
-
import * as
|
|
81
|
-
import * as
|
|
82
|
-
import * as
|
|
83
|
-
import * as
|
|
80
|
+
import * as trim from "./formulas/trim/handler";
|
|
81
|
+
import * as take from "./formulas/take/handler";
|
|
82
|
+
import * as groupBy from "./formulas/groupBy/handler";
|
|
83
|
+
import * as formatNumber from "./formulas/formatNumber/handler";
|
|
84
|
+
import * as some from "./formulas/some/handler";
|
|
84
85
|
import * as getElementById from "./formulas/getElementById/handler";
|
|
86
|
+
import * as branchName from "./formulas/branchName/handler";
|
|
87
|
+
import * as sort_by from "./formulas/sort_by/handler";
|
|
88
|
+
import * as clamp from "./formulas/clamp/handler";
|
|
89
|
+
import * as decodeBase64 from "./formulas/decodeBase64/handler";
|
|
90
|
+
import * as findLast from "./formulas/findLast/handler";
|
|
91
|
+
import * as drop from "./formulas/drop/handler";
|
|
85
92
|
import * as entries from "./formulas/entries/handler";
|
|
86
|
-
import * as
|
|
87
|
-
import * as
|
|
88
|
-
import * as map from "./formulas/map/handler";
|
|
89
|
-
import * as now from "./formulas/now/handler";
|
|
90
|
-
import * as startsWith from "./formulas/startsWith/handler";
|
|
91
|
-
import * as canShare from "./formulas/canShare/handler";
|
|
92
|
-
import * as fromEntries from "./formulas/fromEntries/handler";
|
|
93
|
-
import * as uppercase from "./formulas/uppercase/handler";
|
|
94
|
-
import * as sum from "./formulas/sum/handler";
|
|
95
|
-
import * as decodeURIComponent from "./formulas/decodeURIComponent/handler";
|
|
96
|
-
import * as reduce from "./formulas/reduce/handler";
|
|
93
|
+
import * as getHttpOnlyCookie from "./formulas/getHttpOnlyCookie/handler";
|
|
94
|
+
import * as max from "./formulas/max/handler";
|
|
97
95
|
import * as equals from "./formulas/equals/handler";
|
|
98
|
-
|
|
96
|
+
import * as getFromLocalStorage from "./formulas/getFromLocalStorage/handler";
|
|
97
|
+
import * as dropLast from "./formulas/dropLast/handler";
|
|
98
|
+
export { split, size, includes, lessThan, userAgent, replaceAll, unique, round, parseURL, getFromSessionStorage, squareRoot, currentURL, lowercase, multiply, isServer, indexOf, lessOrEqual, every, capitalize, startsWith, notEqual, timestamp, decodeURIComponent, boolean, dateFromString, add, modulo, keyBy, dateFromTimestamp, find, map, number, matches, prepend, fromEntries, string, append, greaterOrEqueal, encodeURIComponent, formatDate, not, logarithm, set, deleteKey, takeLast, lastIndexOf, roundUp, uppercase, first, encodeJSON, filter, getCookie, languages, findIndex, sum, divide, canShare, last, reverse, typeOf, join, encodeBase64, reduce, roundDown, randomNumber, greaterThan, absolute, parseJSON, concatenate, json, power, range, now, get, flatten, shuffle, defaultTo, minus, min, trim, take, groupBy, formatNumber, some, getElementById, branchName, sort_by, clamp, decodeBase64, findLast, drop, entries, getHttpOnlyCookie, max, equals, getFromLocalStorage, dropLast };
|
package/dist/formulas.js
CHANGED
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as split from "./formulas/split/handler";
|
|
2
|
+
import * as size from "./formulas/size/handler";
|
|
3
|
+
import * as includes from "./formulas/includes/handler";
|
|
4
|
+
import * as lessThan from "./formulas/lessThan/handler";
|
|
2
5
|
import * as userAgent from "./formulas/userAgent/handler";
|
|
3
|
-
import * as
|
|
4
|
-
import * as currentURL from "./formulas/currentURL/handler";
|
|
5
|
-
import * as encodeJSON from "./formulas/encodeJSON/handler";
|
|
6
|
-
import * as isServer from "./formulas/isServer/handler";
|
|
6
|
+
import * as replaceAll from "./formulas/replaceAll/handler";
|
|
7
7
|
import * as unique from "./formulas/unique/handler";
|
|
8
|
+
import * as round from "./formulas/round/handler";
|
|
9
|
+
import * as parseURL from "./formulas/parseURL/handler";
|
|
10
|
+
import * as getFromSessionStorage from "./formulas/getFromSessionStorage/handler";
|
|
11
|
+
import * as squareRoot from "./formulas/squareRoot/handler";
|
|
12
|
+
import * as currentURL from "./formulas/currentURL/handler";
|
|
8
13
|
import * as lowercase from "./formulas/lowercase/handler";
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
11
|
-
import * as
|
|
12
|
-
import * as getFromLocalStorage from "./formulas/getFromLocalStorage/handler";
|
|
13
|
-
import * as filter from "./formulas/filter/handler";
|
|
14
|
-
import * as takeLast from "./formulas/takeLast/handler";
|
|
15
|
-
import * as size from "./formulas/size/handler";
|
|
16
|
-
import * as matches from "./formulas/matches/handler";
|
|
17
|
-
import * as dateFromString from "./formulas/dateFromString/handler";
|
|
18
|
-
import * as number from "./formulas/number/handler";
|
|
19
|
-
import * as randomNumber from "./formulas/randomNumber/handler";
|
|
20
|
-
import * as split from "./formulas/split/handler";
|
|
21
|
-
import * as shuffle from "./formulas/shuffle/handler";
|
|
22
|
-
import * as take from "./formulas/take/handler";
|
|
14
|
+
import * as multiply from "./formulas/multiply/handler";
|
|
15
|
+
import * as isServer from "./formulas/isServer/handler";
|
|
16
|
+
import * as indexOf from "./formulas/indexOf/handler";
|
|
23
17
|
import * as lessOrEqual from "./formulas/lessOrEqual/handler";
|
|
24
|
-
import * as
|
|
25
|
-
import * as groupBy from "./formulas/groupBy/handler";
|
|
26
|
-
import * as notEqual from "./formulas/notEqual/handler";
|
|
27
|
-
import * as greaterOrEqueal from "./formulas/greaterOrEqueal/handler";
|
|
18
|
+
import * as every from "./formulas/every/handler";
|
|
28
19
|
import * as capitalize from "./formulas/capitalize/handler";
|
|
29
|
-
import * as
|
|
20
|
+
import * as startsWith from "./formulas/startsWith/handler";
|
|
21
|
+
import * as notEqual from "./formulas/notEqual/handler";
|
|
22
|
+
import * as timestamp from "./formulas/timestamp/handler";
|
|
23
|
+
import * as decodeURIComponent from "./formulas/decodeURIComponent/handler";
|
|
24
|
+
import * as boolean from "./formulas/boolean/handler";
|
|
25
|
+
import * as dateFromString from "./formulas/dateFromString/handler";
|
|
26
|
+
import * as add from "./formulas/add/handler";
|
|
27
|
+
import * as modulo from "./formulas/modulo/handler";
|
|
28
|
+
import * as keyBy from "./formulas/keyBy/handler";
|
|
29
|
+
import * as dateFromTimestamp from "./formulas/dateFromTimestamp/handler";
|
|
30
|
+
import * as find from "./formulas/find/handler";
|
|
31
|
+
import * as map from "./formulas/map/handler";
|
|
32
|
+
import * as number from "./formulas/number/handler";
|
|
33
|
+
import * as matches from "./formulas/matches/handler";
|
|
30
34
|
import * as prepend from "./formulas/prepend/handler";
|
|
35
|
+
import * as fromEntries from "./formulas/fromEntries/handler";
|
|
36
|
+
import * as string from "./formulas/string/handler";
|
|
37
|
+
import * as append from "./formulas/append/handler";
|
|
38
|
+
import * as greaterOrEqueal from "./formulas/greaterOrEqueal/handler";
|
|
39
|
+
import * as encodeURIComponent from "./formulas/encodeURIComponent/handler";
|
|
40
|
+
import * as formatDate from "./formulas/formatDate/handler";
|
|
41
|
+
import * as not from "./formulas/not/handler";
|
|
42
|
+
import * as logarithm from "./formulas/logarithm/handler";
|
|
43
|
+
import * as set from "./formulas/set/handler";
|
|
31
44
|
import * as deleteKey from "./formulas/deleteKey/handler";
|
|
45
|
+
import * as takeLast from "./formulas/takeLast/handler";
|
|
46
|
+
import * as lastIndexOf from "./formulas/lastIndexOf/handler";
|
|
47
|
+
import * as roundUp from "./formulas/roundUp/handler";
|
|
48
|
+
import * as uppercase from "./formulas/uppercase/handler";
|
|
49
|
+
import * as first from "./formulas/first/handler";
|
|
50
|
+
import * as encodeJSON from "./formulas/encodeJSON/handler";
|
|
51
|
+
import * as filter from "./formulas/filter/handler";
|
|
32
52
|
import * as getCookie from "./formulas/getCookie/handler";
|
|
33
|
-
import * as modulo from "./formulas/modulo/handler";
|
|
34
|
-
import * as clamp from "./formulas/clamp/handler";
|
|
35
|
-
import * as flatten from "./formulas/flatten/handler";
|
|
36
|
-
import * as reverse from "./formulas/reverse/handler";
|
|
37
|
-
import * as timestamp from "./formulas/timestamp/handler";
|
|
38
|
-
import * as decodeBase64 from "./formulas/decodeBase64/handler";
|
|
39
|
-
import * as branchName from "./formulas/branchName/handler";
|
|
40
|
-
import * as typeOf from "./formulas/typeOf/handler";
|
|
41
|
-
import * as defaultTo from "./formulas/defaultTo/handler";
|
|
42
53
|
import * as languages from "./formulas/languages/handler";
|
|
43
54
|
import * as findIndex from "./formulas/findIndex/handler";
|
|
44
|
-
import * as
|
|
45
|
-
import * as
|
|
46
|
-
import * as
|
|
47
|
-
import * as encodeURIComponent from "./formulas/encodeURIComponent/handler";
|
|
55
|
+
import * as sum from "./formulas/sum/handler";
|
|
56
|
+
import * as divide from "./formulas/divide/handler";
|
|
57
|
+
import * as canShare from "./formulas/canShare/handler";
|
|
48
58
|
import * as last from "./formulas/last/handler";
|
|
49
|
-
import * as
|
|
50
|
-
import * as
|
|
51
|
-
import * as
|
|
52
|
-
import * as squareRoot from "./formulas/squareRoot/handler";
|
|
53
|
-
import * as getFromSessionStorage from "./formulas/getFromSessionStorage/handler";
|
|
54
|
-
import * as absolute from "./formulas/absolute/handler";
|
|
55
|
-
import * as minus from "./formulas/minus/handler";
|
|
56
|
-
import * as keyBy from "./formulas/keyBy/handler";
|
|
57
|
-
import * as power from "./formulas/power/handler";
|
|
58
|
-
import * as greaterThan from "./formulas/greaterThan/handler";
|
|
59
|
-
import * as append from "./formulas/append/handler";
|
|
59
|
+
import * as reverse from "./formulas/reverse/handler";
|
|
60
|
+
import * as typeOf from "./formulas/typeOf/handler";
|
|
61
|
+
import * as join from "./formulas/join/handler";
|
|
60
62
|
import * as encodeBase64 from "./formulas/encodeBase64/handler";
|
|
61
|
-
import * as
|
|
62
|
-
import * as multiply from "./formulas/multiply/handler";
|
|
63
|
-
import * as drop from "./formulas/drop/handler";
|
|
64
|
-
import * as some from "./formulas/some/handler";
|
|
65
|
-
import * as round from "./formulas/round/handler";
|
|
63
|
+
import * as reduce from "./formulas/reduce/handler";
|
|
66
64
|
import * as roundDown from "./formulas/roundDown/handler";
|
|
67
|
-
import * as
|
|
68
|
-
import * as
|
|
65
|
+
import * as randomNumber from "./formulas/randomNumber/handler";
|
|
66
|
+
import * as greaterThan from "./formulas/greaterThan/handler";
|
|
67
|
+
import * as absolute from "./formulas/absolute/handler";
|
|
68
|
+
import * as parseJSON from "./formulas/parseJSON/handler";
|
|
69
69
|
import * as concatenate from "./formulas/concatenate/handler";
|
|
70
|
-
import * as
|
|
71
|
-
import * as
|
|
72
|
-
import * as
|
|
70
|
+
import * as json from "./formulas/json/handler";
|
|
71
|
+
import * as power from "./formulas/power/handler";
|
|
72
|
+
import * as range from "./formulas/range/handler";
|
|
73
|
+
import * as now from "./formulas/now/handler";
|
|
73
74
|
import * as get from "./formulas/get/handler";
|
|
74
|
-
import * as
|
|
75
|
-
import * as
|
|
76
|
-
import * as
|
|
77
|
-
import * as
|
|
75
|
+
import * as flatten from "./formulas/flatten/handler";
|
|
76
|
+
import * as shuffle from "./formulas/shuffle/handler";
|
|
77
|
+
import * as defaultTo from "./formulas/defaultTo/handler";
|
|
78
|
+
import * as minus from "./formulas/minus/handler";
|
|
78
79
|
import * as min from "./formulas/min/handler";
|
|
79
|
-
import * as
|
|
80
|
-
import * as
|
|
81
|
-
import * as
|
|
82
|
-
import * as
|
|
83
|
-
import * as
|
|
80
|
+
import * as trim from "./formulas/trim/handler";
|
|
81
|
+
import * as take from "./formulas/take/handler";
|
|
82
|
+
import * as groupBy from "./formulas/groupBy/handler";
|
|
83
|
+
import * as formatNumber from "./formulas/formatNumber/handler";
|
|
84
|
+
import * as some from "./formulas/some/handler";
|
|
84
85
|
import * as getElementById from "./formulas/getElementById/handler";
|
|
86
|
+
import * as branchName from "./formulas/branchName/handler";
|
|
87
|
+
import * as sort_by from "./formulas/sort_by/handler";
|
|
88
|
+
import * as clamp from "./formulas/clamp/handler";
|
|
89
|
+
import * as decodeBase64 from "./formulas/decodeBase64/handler";
|
|
90
|
+
import * as findLast from "./formulas/findLast/handler";
|
|
91
|
+
import * as drop from "./formulas/drop/handler";
|
|
85
92
|
import * as entries from "./formulas/entries/handler";
|
|
86
|
-
import * as
|
|
87
|
-
import * as
|
|
88
|
-
import * as map from "./formulas/map/handler";
|
|
89
|
-
import * as now from "./formulas/now/handler";
|
|
90
|
-
import * as startsWith from "./formulas/startsWith/handler";
|
|
91
|
-
import * as canShare from "./formulas/canShare/handler";
|
|
92
|
-
import * as fromEntries from "./formulas/fromEntries/handler";
|
|
93
|
-
import * as uppercase from "./formulas/uppercase/handler";
|
|
94
|
-
import * as sum from "./formulas/sum/handler";
|
|
95
|
-
import * as decodeURIComponent from "./formulas/decodeURIComponent/handler";
|
|
96
|
-
import * as reduce from "./formulas/reduce/handler";
|
|
93
|
+
import * as getHttpOnlyCookie from "./formulas/getHttpOnlyCookie/handler";
|
|
94
|
+
import * as max from "./formulas/max/handler";
|
|
97
95
|
import * as equals from "./formulas/equals/handler";
|
|
98
|
-
|
|
96
|
+
import * as getFromLocalStorage from "./formulas/getFromLocalStorage/handler";
|
|
97
|
+
import * as dropLast from "./formulas/dropLast/handler";
|
|
98
|
+
export { split, size, includes, lessThan, userAgent, replaceAll, unique, round, parseURL, getFromSessionStorage, squareRoot, currentURL, lowercase, multiply, isServer, indexOf, lessOrEqual, every, capitalize, startsWith, notEqual, timestamp, decodeURIComponent, boolean, dateFromString, add, modulo, keyBy, dateFromTimestamp, find, map, number, matches, prepend, fromEntries, string, append, greaterOrEqueal, encodeURIComponent, formatDate, not, logarithm, set, deleteKey, takeLast, lastIndexOf, roundUp, uppercase, first, encodeJSON, filter, getCookie, languages, findIndex, sum, divide, canShare, last, reverse, typeOf, join, encodeBase64, reduce, roundDown, randomNumber, greaterThan, absolute, parseJSON, concatenate, json, power, range, now, get, flatten, shuffle, defaultTo, minus, min, trim, take, groupBy, formatNumber, some, getElementById, branchName, sort_by, clamp, decodeBase64, findLast, drop, entries, getHttpOnlyCookie, max, equals, getFromLocalStorage, dropLast };
|
|
99
99
|
//# sourceMappingURL=formulas.js.map
|
package/dist/formulas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formulas.js","sourceRoot":"","sources":["../formulas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAA;AACjD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"formulas.js","sourceRoot":"","sources":["../formulas.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAA;AACjD,OAAO,KAAK,IAAI,MAAM,yBAAyB,CAAA;AAC/C,OAAO,KAAK,QAAQ,MAAM,6BAA6B,CAAA;AACvD,OAAO,KAAK,QAAQ,MAAM,6BAA6B,CAAA;AACvD,OAAO,KAAK,SAAS,MAAM,8BAA8B,CAAA;AACzD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAA;AACnD,OA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