melonykit 1.3.0 → 1.5.0

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.
@@ -1,4 +1,4 @@
1
- import { g as e } from "./functions-Bh4m_uhq.js";
1
+ import { a as e } from "./functions-BMRWm341.js";
2
2
  import { signal as t } from "@preact/signals";
3
3
  import { useEffect as n, useMemo as r } from "preact/hooks";
4
4
  //#region src/browser/_route-to.js
package/dist/browser.js CHANGED
@@ -1 +1 @@
1
- export { n as getClientSetting, i as routeTo, t as setClientSetting, r as useQuery } from "./browser-KHAcpg01.js";
1
+ export { n as getClientSetting, i as routeTo, t as setClientSetting, r as useQuery } from "./browser-DNeBx_93.js";
@@ -1,5 +1,27 @@
1
- //#region src/functions/_parse-hex-color.js
1
+ //#region src/functions/_average.js
2
2
  function e(e) {
3
+ if (!Array.isArray(e) || e.length === 0) return null;
4
+ let t = 0, n = 0;
5
+ for (let r of e) {
6
+ if (!Number.isFinite(r)) return null;
7
+ let i = r / e.length - n, a = t + i;
8
+ n = a - t - i, t = a;
9
+ }
10
+ return t;
11
+ }
12
+ //#endregion
13
+ //#region src/functions/checks/_is-string.js
14
+ function t(e) {
15
+ return typeof e == "string";
16
+ }
17
+ //#endregion
18
+ //#region src/functions/_camel-case-to-title-case.js
19
+ function n(e) {
20
+ return t(e) ? e.replace(/([a-z\d])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").split(" ").filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join(" ") : "";
21
+ }
22
+ //#endregion
23
+ //#region src/functions/_parse-hex-color.js
24
+ function r(e) {
3
25
  if (typeof e != "string" || !/^#([\da-f]{3}|[\da-f]{6})$/i.test(e)) throw TypeError("hex must be a three- or six-digit hexadecimal color");
4
26
  let t = e.slice(1), n = t.length === 3 ? [...t].map((e) => e.repeat(2)).join("") : t;
5
27
  return [
@@ -10,37 +32,98 @@ function e(e) {
10
32
  }
11
33
  //#endregion
12
34
  //#region src/functions/_convert-hex-to-rgba.js
13
- function t(t, n) {
14
- let [r, i, a] = e(t);
15
- if (!Number.isFinite(n)) throw TypeError("alpha must be a finite number");
16
- if (n < 0 || n > 1) throw RangeError("alpha must be between 0 and 1");
17
- return `rgba(${r}, ${i}, ${a}, ${n})`;
35
+ function i(e, t) {
36
+ let [n, i, a] = r(e);
37
+ if (!Number.isFinite(t)) throw TypeError("alpha must be a finite number");
38
+ if (t < 0 || t > 1) throw RangeError("alpha must be between 0 and 1");
39
+ return `rgba(${n}, ${i}, ${a}, ${t})`;
18
40
  }
19
41
  //#endregion
20
- //#region src/functions/checks/_is-string.js
21
- function n(e) {
22
- return typeof e == "string";
42
+ //#region src/functions/checks/_is-array.js
43
+ function a(e) {
44
+ return Array.isArray(e);
23
45
  }
24
46
  //#endregion
25
- //#region src/functions/_camel-case-to-title-case.js
26
- function r(e) {
27
- return n(e) ? e.replace(/([a-z\d])([A-Z])/g, "$1 $2").replace(/([A-Z]+)([A-Z][a-z])/g, "$1 $2").split(" ").filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join(" ") : "";
47
+ //#region src/functions/checks/_is-empty-array.js
48
+ function o(e) {
49
+ return a(e) && e.length === 0;
50
+ }
51
+ //#endregion
52
+ //#region src/functions/checks/_is-function.js
53
+ function s(e) {
54
+ return typeof e == "function";
55
+ }
56
+ //#endregion
57
+ //#region src/functions/checks/_is-number.js
58
+ function c(e) {
59
+ return typeof e == "number" && Number.isFinite(e);
60
+ }
61
+ //#endregion
62
+ //#region src/functions/_create-cache.js
63
+ function l({ onCreate: e, onUpdate: t, onDelete: n, autoCleanup: r } = {}) {
64
+ let i = /* @__PURE__ */ new Map();
65
+ async function l(t, n) {
66
+ if (i.has(t)) return !1;
67
+ let r = Date.now();
68
+ return i.set(t, {
69
+ ...n,
70
+ createdAt: r,
71
+ lastUpdate: r
72
+ }), s(e) && await e(t), !0;
73
+ }
74
+ async function u(e, n) {
75
+ if (!i.has(e) || typeof n != "function") return !1;
76
+ let r = i.get(e);
77
+ return await n(r), r.lastUpdate = Date.now(), s(t) && await t(e), !0;
78
+ }
79
+ function d(e) {
80
+ return i.get(e) ?? null;
81
+ }
82
+ function f() {
83
+ return i.size;
84
+ }
85
+ function p() {
86
+ return i.entries();
87
+ }
88
+ function m(e) {
89
+ return i.has(e);
90
+ }
91
+ async function h(e) {
92
+ if (!i.has(e)) return !1;
93
+ let t = i.get(e);
94
+ return i.delete(e), s(n) && await n(e, t), !0;
95
+ }
96
+ function g({ interval: e, checks: t, now: n = Date.now, setIntervalFn: r = setInterval } = {}) {
97
+ !c(e) || e <= 0 || a(t) && !o(t) && t.every((e) => s(e)) && s(n) && s(r) && r(async () => {
98
+ let e = n();
99
+ for (let [n, r] of i) t.some((t) => t(r, e)) && await h(n);
100
+ }, e)?.unref?.();
101
+ }
102
+ return g(r), {
103
+ add: l,
104
+ get: d,
105
+ size: f,
106
+ entries: p,
107
+ update: u,
108
+ has: m,
109
+ remove: h
110
+ };
28
111
  }
29
112
  //#endregion
30
113
  //#region src/functions/_darken-hex-color.js
31
- function i(t, n) {
32
- let r = e(t);
33
- if (!Number.isFinite(n)) throw TypeError("amount must be a finite number");
34
- if (n < 0 || n > 1) throw RangeError("amount must be between 0 and 1");
35
- let i = 1 - n;
36
- return `#${r.map((e) => Math.round(e * i)).map((e) => e.toString(16).padStart(2, "0")).join("")}`;
114
+ function u(e, t) {
115
+ let n = r(e);
116
+ if (!Number.isFinite(t)) throw TypeError("amount must be a finite number");
117
+ if (t < 0 || t > 1) throw RangeError("amount must be between 0 and 1");
118
+ let i = 1 - t;
119
+ return `#${n.map((e) => Math.round(e * i)).map((e) => e.toString(16).padStart(2, "0")).join("")}`;
37
120
  }
38
121
  //#endregion
39
122
  //#region src/functions/_format-date.js
40
- function a(e) {
123
+ function d(e) {
41
124
  return Object.prototype.toString.call(e) === "[object Date]" && !isNaN(e);
42
125
  }
43
- var o = /d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g, s = /\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g, c = /[^-+\dA-Z]/g, l = (e, t = 2) => String(e).padStart(t, "0"), u = {
126
+ var f = /d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g, p = /\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g, m = /[^-+\dA-Z]/g, h = (e, t = 2) => String(e).padStart(t, "0"), g = {
44
127
  dayNames: [
45
128
  "So",
46
129
  "Mo",
@@ -94,64 +177,64 @@ var o = /d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'
94
177
  "PM"
95
178
  ]
96
179
  };
97
- function d(e, t = "dd.mm.yyyy", r, i) {
98
- if (!a(e) || !n(t)) return "";
99
- let s = () => r ? "getUTC" : "get", c = () => e[s() + "Date"](), d = () => e[s() + "Day"](), g = () => e[s() + "Month"](), _ = () => e[s() + "FullYear"](), v = () => e[s() + "Hours"](), y = () => e[s() + "Minutes"](), b = () => e[s() + "Seconds"](), x = () => e[s() + "Milliseconds"](), S = () => r ? 0 : e.getTimezoneOffset(), C = () => f(e), w = () => p(e), T = {
100
- d: () => c(),
101
- dd: () => l(c()),
102
- ddd: () => u.dayNames[d()],
103
- DDD: () => h({
104
- y: _(),
105
- m: g(),
106
- d: c(),
107
- _: s(),
108
- dayName: u.dayNames[d()],
180
+ function _(e, n = "dd.mm.yyyy", r, i) {
181
+ if (!d(e) || !t(n)) return "";
182
+ let a = () => r ? "getUTC" : "get", o = () => e[a() + "Date"](), s = () => e[a() + "Day"](), c = () => e[a() + "Month"](), l = () => e[a() + "FullYear"](), u = () => e[a() + "Hours"](), p = () => e[a() + "Minutes"](), m = () => e[a() + "Seconds"](), _ = () => e[a() + "Milliseconds"](), S = () => r ? 0 : e.getTimezoneOffset(), C = () => v(e), w = () => y(e), T = {
183
+ d: () => o(),
184
+ dd: () => h(o()),
185
+ ddd: () => g.dayNames[s()],
186
+ DDD: () => x({
187
+ y: l(),
188
+ m: c(),
189
+ d: o(),
190
+ _: a(),
191
+ dayName: g.dayNames[s()],
109
192
  short: !0
110
193
  }),
111
- dddd: () => u.dayNames[d() + 7],
112
- DDDD: () => h({
113
- y: _(),
114
- m: g(),
115
- d: c(),
116
- _: s(),
117
- dayName: u.dayNames[d() + 7]
194
+ dddd: () => g.dayNames[s() + 7],
195
+ DDDD: () => x({
196
+ y: l(),
197
+ m: c(),
198
+ d: o(),
199
+ _: a(),
200
+ dayName: g.dayNames[s() + 7]
118
201
  }),
119
- m: () => g() + 1,
120
- mm: () => l(g() + 1),
121
- mmm: () => u.monthNames[g()],
122
- mmmm: () => u.monthNames[g() + 12],
123
- yy: () => String(_()).slice(2),
124
- yyyy: () => l(_(), 4),
125
- h: () => v() % 12 || 12,
126
- hh: () => l(v() % 12 || 12),
127
- H: () => v(),
128
- HH: () => l(v()),
129
- M: () => y(),
130
- MM: () => l(y()),
131
- s: () => b(),
132
- ss: () => l(b()),
133
- l: () => l(x(), 3),
134
- L: () => l(Math.floor(x() / 10)),
135
- t: () => v() < 12 ? u.timeNames[0] : u.timeNames[1],
136
- tt: () => v() < 12 ? u.timeNames[2] : u.timeNames[3],
137
- T: () => v() < 12 ? u.timeNames[4] : u.timeNames[5],
138
- TT: () => v() < 12 ? u.timeNames[6] : u.timeNames[7],
139
- Z: () => i ? "GMT" : r ? "UTC" : m(e),
140
- o: () => (S() > 0 ? "-" : "+") + l(Math.floor(Math.abs(S()) / 60) * 100 + Math.abs(S()) % 60, 4),
141
- p: () => (S() > 0 ? "-" : "+") + l(Math.floor(Math.abs(S()) / 60), 2) + ":" + l(Math.floor(Math.abs(S()) % 60), 2),
202
+ m: () => c() + 1,
203
+ mm: () => h(c() + 1),
204
+ mmm: () => g.monthNames[c()],
205
+ mmmm: () => g.monthNames[c() + 12],
206
+ yy: () => String(l()).slice(2),
207
+ yyyy: () => h(l(), 4),
208
+ h: () => u() % 12 || 12,
209
+ hh: () => h(u() % 12 || 12),
210
+ H: () => u(),
211
+ HH: () => h(u()),
212
+ M: () => p(),
213
+ MM: () => h(p()),
214
+ s: () => m(),
215
+ ss: () => h(m()),
216
+ l: () => h(_(), 3),
217
+ L: () => h(Math.floor(_() / 10)),
218
+ t: () => u() < 12 ? g.timeNames[0] : g.timeNames[1],
219
+ tt: () => u() < 12 ? g.timeNames[2] : g.timeNames[3],
220
+ T: () => u() < 12 ? g.timeNames[4] : g.timeNames[5],
221
+ TT: () => u() < 12 ? g.timeNames[6] : g.timeNames[7],
222
+ Z: () => i ? "GMT" : r ? "UTC" : b(e),
223
+ o: () => (S() > 0 ? "-" : "+") + h(Math.floor(Math.abs(S()) / 60) * 100 + Math.abs(S()) % 60, 4),
224
+ p: () => (S() > 0 ? "-" : "+") + h(Math.floor(Math.abs(S()) / 60), 2) + ":" + h(Math.floor(Math.abs(S()) % 60), 2),
142
225
  S: () => [
143
226
  "th",
144
227
  "st",
145
228
  "nd",
146
229
  "rd"
147
- ][c() % 10 > 3 ? 0 : (c() % 100 - c() % 10 != 10) * c() % 10],
230
+ ][o() % 10 > 3 ? 0 : (o() % 100 - o() % 10 != 10) * o() % 10],
148
231
  W: () => C(),
149
- WW: () => l(C()),
232
+ WW: () => h(C()),
150
233
  N: () => w()
151
234
  };
152
- return t.replace(o, (e) => e in T ? T[e]() : e.slice(1, e.length - 1));
235
+ return n.replace(f, (e) => e in T ? T[e]() : e.slice(1, e.length - 1));
153
236
  }
154
- var f = (e) => {
237
+ var v = (e) => {
155
238
  let t = new Date(e.getFullYear(), e.getMonth(), e.getDate());
156
239
  t.setDate(t.getDate() - (t.getDay() + 6) % 7 + 3);
157
240
  let n = new Date(t.getFullYear(), 0, 4);
@@ -160,23 +243,58 @@ var f = (e) => {
160
243
  t.setHours(t.getHours() - r);
161
244
  let i = (t - n) / 6048e5;
162
245
  return 1 + Math.floor(i);
163
- }, p = (e) => {
246
+ }, y = (e) => {
164
247
  let t = e.getDay();
165
248
  return t === 0 && (t = 7), t;
166
- }, m = (e) => (String(e).match(s) || [""]).pop().replace(c, "").replace(/GMT\+0000/g, "UTC"), h = ({ y: e, m: t, d: n, _: r, dayName: i, short: a = !1 }) => {
249
+ }, b = (e) => (String(e).match(p) || [""]).pop().replace(m, "").replace(/GMT\+0000/g, "UTC"), x = ({ y: e, m: t, d: n, _: r, dayName: i, short: a = !1 }) => {
167
250
  let o = /* @__PURE__ */ new Date(), s = /* @__PURE__ */ new Date();
168
251
  s.setDate(s[r + "Date"]() - 1);
169
252
  let c = /* @__PURE__ */ new Date();
170
253
  return c.setDate(c[r + "Date"]() + 1), o[r + "FullYear"]() === e && o[r + "Month"]() === t && o[r + "Date"]() === n ? a ? "Tdy" : "Today" : s[r + "FullYear"]() === e && s[r + "Month"]() === t && s[r + "Date"]() === n ? a ? "Ysd" : "Yesterday" : c[r + "FullYear"]() === e && c[r + "Month"]() === t && c[r + "Date"]() === n ? a ? "Tmw" : "Tomorrow" : i;
171
254
  };
172
255
  //#endregion
256
+ //#region src/functions/checks/_is-nil.js
257
+ function S(e) {
258
+ return e == null;
259
+ }
260
+ //#endregion
261
+ //#region src/functions/checks/_is-object.js
262
+ function C(e) {
263
+ return !S(e) && typeof e == "object" && !a(e);
264
+ }
265
+ //#endregion
266
+ //#region src/functions/checks/_is-empty-object.js
267
+ function w(e) {
268
+ return C(e) && Reflect.ownKeys(e).every((t) => !Object.prototype.propertyIsEnumerable.call(e, t));
269
+ }
270
+ //#endregion
271
+ //#region src/functions/checks/_is-empty-string.js
272
+ function T(e) {
273
+ return t(e) && e.trim().length === 0;
274
+ }
275
+ //#endregion
276
+ //#region src/functions/checks/_is-float.js
277
+ function E(e) {
278
+ return c(e) && !Number.isInteger(e);
279
+ }
280
+ //#endregion
281
+ //#region src/functions/checks/_is-integer.js
282
+ function D(e) {
283
+ return Number.isInteger(e);
284
+ }
285
+ //#endregion
286
+ //#region src/functions/checks/_is-negative-number.js
287
+ function O(e) {
288
+ return c(e) && e < 0;
289
+ }
290
+ //#endregion
173
291
  //#region src/functions/_kebab-case-to-title-case.js
174
- function g(e) {
175
- return n(e) ? e.split("-").filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join(" ") : "";
292
+ function k(e) {
293
+ return t(e) ? e.split("-").filter(Boolean).map((e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase()).join(" ") : "";
176
294
  }
177
295
  //#endregion
178
296
  //#region src/functions/_median.js
179
- function _(e) {
297
+ function A(e) {
180
298
  if (!Array.isArray(e) || e.length === 0) return null;
181
299
  for (let t of e) if (!Number.isFinite(t)) return null;
182
300
  let t = [...e].sort((e, t) => e - t), n = Math.floor(t.length / 2);
@@ -184,7 +302,7 @@ function _(e) {
184
302
  }
185
303
  //#endregion
186
304
  //#region src/functions/_request.js
187
- async function v({ url: e, body: t, method: n = "POST", headers: r = {} } = {}) {
305
+ async function j({ url: e, body: t, method: n = "POST", headers: r = {} } = {}) {
188
306
  let i = n !== "GET" && t !== void 0 ? JSON.stringify(t) : void 0, a = await fetch(e, {
189
307
  method: n,
190
308
  headers: {
@@ -204,31 +322,26 @@ async function v({ url: e, body: t, method: n = "POST", headers: r = {} } = {})
204
322
  return a.ok || (s.error = s.data ?? /* @__PURE__ */ Error(`Request failed with status ${a.status}.`)), s;
205
323
  }
206
324
  //#endregion
207
- //#region src/functions/checks/_is-number.js
208
- function y(e) {
209
- return typeof e == "number" && Number.isFinite(e);
210
- }
211
- //#endregion
212
325
  //#region src/functions/_risk-reward.js
213
- function b(e = {}) {
326
+ function M(e = {}) {
214
327
  let { entry: t, exit: n, riskRatio: r = 20 } = e ?? {};
215
- if (!y(t) || t <= 0 || !y(n) || n <= 0 || !y(r) || r <= 0) return null;
328
+ if (!c(t) || t <= 0 || !c(n) || n <= 0 || !c(r) || r <= 0) return null;
216
329
  let i = (n - t) / t / (r / 100);
217
330
  return Math.round(i * 10) / 10;
218
331
  }
219
332
  //#endregion
220
333
  //#region src/functions/_size.js
221
- function x(e) {
334
+ function N(e) {
222
335
  return e == null ? 0 : Array.isArray(e) || typeof e == "string" ? e.length : typeof e == "object" || typeof e == "function" ? Object.keys(e).length : 0;
223
336
  }
224
337
  //#endregion
225
338
  //#region src/functions/_slugify.js
226
- function S(e) {
339
+ function P(e) {
227
340
  return typeof e == "string" ? e.trim().toLowerCase().replace(/ä/g, "ae").replace(/ö/g, "oe").replace(/ü/g, "ue").replace(/ß/g, "ss").replace(/æ/g, "ae").replace(/œ/g, "oe").replace(/ø/g, "o").normalize("NFD").replace(/\p{Diacritic}/gu, "").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "") : "";
228
341
  }
229
342
  //#endregion
230
343
  //#region src/functions/_to-number.js
231
- function C(e, t = null) {
344
+ function F(e, t = null) {
232
345
  let n = typeof e == "number" ? e : typeof e == "string" && e.trim() !== "" ? Number(e) : NaN;
233
346
  if (!Number.isFinite(n)) return null;
234
347
  if (t == null) return n;
@@ -236,100 +349,4 @@ function C(e, t = null) {
236
349
  return Math.round(n * r) / r;
237
350
  }
238
351
  //#endregion
239
- //#region src/functions/checks/_is-array.js
240
- function w(e) {
241
- return Array.isArray(e);
242
- }
243
- //#endregion
244
- //#region src/functions/checks/_is-empty-array.js
245
- function T(e) {
246
- return w(e) && e.length === 0;
247
- }
248
- //#endregion
249
- //#region src/functions/checks/_is-function.js
250
- function E(e) {
251
- return typeof e == "function";
252
- }
253
- //#endregion
254
- //#region src/functions/checks/_is-positive-number.js
255
- function D(e) {
256
- return y(e) && e > 0;
257
- }
258
- //#endregion
259
- //#region src/functions/_create-cache.js
260
- function O({ onCreate: e, onUpdate: t, onDelete: n, autoCleanup: r } = {}) {
261
- let i = /* @__PURE__ */ new Map();
262
- async function a(t, n) {
263
- if (i.has(t)) return !1;
264
- let r = Date.now();
265
- return i.set(t, {
266
- ...n,
267
- createdAt: r,
268
- lastUpdate: r
269
- }), E(e) && await e(t), !0;
270
- }
271
- async function o(e, n) {
272
- if (!i.has(e) || typeof n != "function") return !1;
273
- let r = i.get(e);
274
- return await n(r), r.lastUpdate = Date.now(), E(t) && await t(e), !0;
275
- }
276
- function s(e) {
277
- return i.get(e) ?? null;
278
- }
279
- function c() {
280
- return i.size;
281
- }
282
- function l() {
283
- return i.entries();
284
- }
285
- function u(e) {
286
- return i.has(e);
287
- }
288
- async function d(e) {
289
- if (!i.has(e)) return !1;
290
- let t = i.get(e);
291
- return i.delete(e), E(n) && await n(e, t), !0;
292
- }
293
- function f({ interval: e, checks: t, now: n = Date.now, setIntervalFn: r = setInterval } = {}) {
294
- D(e) && w(t) && !T(t) && t.every((e) => E(e)) && E(n) && E(r) && r(async () => {
295
- let e = n();
296
- for (let [n, r] of i) t.some((t) => t(r, e)) && await d(n);
297
- }, e)?.unref?.();
298
- }
299
- return f(r), {
300
- add: a,
301
- get: s,
302
- size: c,
303
- entries: l,
304
- update: o,
305
- has: u,
306
- remove: d
307
- };
308
- }
309
- //#endregion
310
- //#region src/functions/checks/_is-nil.js
311
- function k(e) {
312
- return e == null;
313
- }
314
- //#endregion
315
- //#region src/functions/checks/_is-object.js
316
- function A(e) {
317
- return !k(e) && typeof e == "object" && !w(e);
318
- }
319
- //#endregion
320
- //#region src/functions/checks/_is-empty-object.js
321
- function j(e) {
322
- return A(e) && Reflect.ownKeys(e).every((t) => !Object.prototype.propertyIsEnumerable.call(e, t));
323
- }
324
- //#endregion
325
- //#region src/functions/checks/_is-empty-string.js
326
- function M(e) {
327
- return n(e) && e.trim().length === 0;
328
- }
329
- //#endregion
330
- //#region src/functions/checks/_is-negative-number.js
331
- function N(e) {
332
- return y(e) && e < 0;
333
- }
334
- //#endregion
335
- export { t as C, n as S, _, k as a, i as b, E as c, C as d, S as f, v as g, y as h, A as i, T as l, b as m, M as n, O as o, x as p, j as r, D as s, N as t, w as u, g as v, r as x, d as y };
352
+ export { n as C, i as S, e as T, l as _, j as a, o as b, O as c, T as d, w as f, u as g, _ as h, M as i, D as l, S as m, P as n, A as o, C as p, N as r, k as s, F as t, E as u, c as v, t as w, a as x, s as y };
package/dist/functions.js CHANGED
@@ -1 +1 @@
1
- export { x as camelCaseToTitleCase, C as convertHexToRgba, o as createCache, b as darkenHexColor, y as formatDate, u as isArray, l as isEmptyArray, r as isEmptyObject, n as isEmptyString, c as isFunction, t as isNegativeNumber, a as isNil, h as isNumber, i as isObject, s as isPositiveNumber, S as isString, v as kebabCaseToTitleCase, _ as median, g as request, m as riskReward, p as size, f as slugify, d as toNumber } from "./functions-Bh4m_uhq.js";
1
+ export { T as average, C as camelCaseToTitleCase, S as convertHexToRgba, _ as createCache, g as darkenHexColor, h as formatDate, x as isArray, b as isEmptyArray, f as isEmptyObject, d as isEmptyString, u as isFloat, y as isFunction, l as isInteger, c as isNegativeNumber, m as isNil, v as isNumber, p as isObject, w as isString, s as kebabCaseToTitleCase, o as median, a as request, i as riskReward, r as size, n as slugify, t as toNumber } from "./functions-BMRWm341.js";