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