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