scope360-core 0.0.262 → 0.0.263

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.
@@ -30230,9 +30230,9 @@ function $5(t, e) {
30230
30230
  function I5(t, e, n) {
30231
30231
  let s = new Date(t), i = new Date(e);
30232
30232
  s > i && ([s, i] = [i, s]);
30233
- let r = [], a = new Date(s), o = 0;
30233
+ let r = [], a = new Date(s.getFullYear(), s.getMonth(), 1), o = 0;
30234
30234
  for (; a <= i; ) {
30235
- let l = a.toLocaleString("default", {
30235
+ let l = a.toLocaleString("en", {
30236
30236
  month: "long",
30237
30237
  year: "numeric"
30238
30238
  });
@@ -30253,6 +30253,10 @@ function N5(t, e, n) {
30253
30253
  n ? r.push({ value: u, name: u.toString(), id: l }) : r.push(u.toString()), l = l + 1;
30254
30254
  return r;
30255
30255
  }
30256
+ function L5(t, e) {
30257
+ let i = new Date(t).getTime() - e * 24 * 60 * 60 * 1e3;
30258
+ return new Date(i).toISOString().split(".")[0] + "Z";
30259
+ }
30256
30260
  const UV = (t, e, n, s = {}, i) => {
30257
30261
  const r = mo(t, e, s), a = document.createElement("div");
30258
30262
  return a.setAttribute("id", i || ""), n.appendChild(a), cd(r, a), r.component;
@@ -30352,6 +30356,7 @@ export {
30352
30356
  Be as maskData,
30353
30357
  Zg as numFormat,
30354
30358
  ih as scopeInstance,
30359
+ L5 as subtractDays,
30355
30360
  O5 as toBaseDate,
30356
30361
  M5 as toDynamicFix,
30357
30362
  on as toFix,