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