bt-core-app 1.4.826 → 1.4.827

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.
@@ -10321,7 +10321,7 @@ function lP(e) {
10321
10321
  let p = [];
10322
10322
  r.value = v ?? "", p = g(r.value), i.value = b;
10323
10323
  const C = c(b);
10324
- return C != null && q0.getFutureMatches(C, { matchCount: 2, formatInTimezone: !1, timezone: n.value }).forEach((w) => {
10324
+ return C != null && q0.getFutureMatches(C, { matchCount: e.futureLimit ?? 2, formatInTimezone: !1, timezone: n.value }).forEach((w) => {
10325
10325
  let x = p.find((S) => tL(S.dateTrigger, w));
10326
10326
  x == null ? p.push({
10327
10327
  dateTrigger: w,
@@ -25383,6 +25383,7 @@ const rF = li({
25383
25383
  __name: "BT-Cron",
25384
25384
  props: {
25385
25385
  adjustments: {},
25386
+ adjustmentFutureLimit: {},
25386
25387
  adjustmentLeftLabel: {},
25387
25388
  adjustmentRightLabel: {},
25388
25389
  chipProps: {},
@@ -25405,7 +25406,8 @@ const rF = li({
25405
25406
  value: a.modelValue
25406
25407
  }), c = lP({
25407
25408
  adjustmentString: a.adjustments,
25408
- cronExpression: s.cronExpression.value
25409
+ cronExpression: s.cronExpression.value,
25410
+ futureLimit: a.adjustmentFutureLimit ?? 2
25409
25411
  });
25410
25412
  function u() {
25411
25413
  l.value = !1, n("update:adjustments", c.stringify());
package/dist/index.d.ts CHANGED
@@ -1833,6 +1833,7 @@ export declare function useCronAdjustments(options: UseCronAdjustmentsOptions):
1833
1833
  declare interface UseCronAdjustmentsOptions {
1834
1834
  adjustmentString?: string;
1835
1835
  cronExpression?: string;
1836
+ futureLimit?: number;
1836
1837
  useLeadTimeInHours?: boolean;
1837
1838
  }
1838
1839
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.826",
3
+ "version": "1.4.827",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {