bt-core-app 1.4.293 → 1.4.295

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.
@@ -9083,7 +9083,10 @@ const bg = [
9083
9083
  function DV() {
9084
9084
  const { timeZone: e } = Fr();
9085
9085
  function t(n) {
9086
- return Qc.getFutureMatches(n.cron, { matchCount: n.futureCount, formatInTimezone: !1, timezone: e.value });
9086
+ if (n.cron == null)
9087
+ return [];
9088
+ const a = n.cron.split(/\s+/).slice(0, 5).join(" ");
9089
+ return Qc.getFutureMatches(a, { matchCount: n.futureCount, formatInTimezone: !1, timezone: e.value });
9087
9090
  }
9088
9091
  return {
9089
9092
  predictFuture: t
@@ -32930,10 +32933,15 @@ function LV() {
32930
32933
  const e = Wd();
32931
32934
  return async (t) => {
32932
32935
  let n;
32933
- const a = (l) => {
32934
- n = l;
32935
- };
32936
- if (await e({
32936
+ const a = (i) => {
32937
+ n = i;
32938
+ }, r = [];
32939
+ if ((t.itemText != null || t.itemValue != null) && r.push({
32940
+ level: 1,
32941
+ searchable: !0,
32942
+ textFunction: t.textFunction,
32943
+ value: t.itemText ?? t.itemValue
32944
+ }), !!await e({
32937
32945
  cardProps: {
32938
32946
  class: "ma-0 pa-0"
32939
32947
  },
package/dist/index.d.ts CHANGED
@@ -1020,8 +1020,9 @@ export declare interface PointerOrTouchEvent extends PointerEvent, TouchEvent {
1020
1020
  }
1021
1021
 
1022
1022
  declare interface PredictOptions {
1023
+ adjustments?: string;
1023
1024
  futureCount: number;
1024
- cron: string;
1025
+ cron?: string;
1025
1026
  }
1026
1027
 
1027
1028
  export declare interface QueryParams extends Record<string, any> {
@@ -1746,10 +1747,10 @@ export declare interface UseSelectDateOptions {
1746
1747
  export declare function useSelectItem(): (options: UseSelectItemOptions) => Promise<any>;
1747
1748
 
1748
1749
  export declare interface UseSelectItemOptions {
1749
- itemText: string;
1750
+ itemText?: string;
1750
1751
  itemValue?: string;
1751
1752
  items?: any[];
1752
- nav: string;
1753
+ nav?: string;
1753
1754
  params?: any;
1754
1755
  required?: boolean;
1755
1756
  searchProps?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.293",
3
+ "version": "1.4.295",
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": {