bt-core-app 1.4.294 → 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.
@@ -32933,10 +32933,15 @@ function LV() {
32933
32933
  const e = Wd();
32934
32934
  return async (t) => {
32935
32935
  let n;
32936
- const a = (l) => {
32937
- n = l;
32938
- };
32939
- 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({
32940
32945
  cardProps: {
32941
32946
  class: "ma-0 pa-0"
32942
32947
  },
package/dist/index.d.ts CHANGED
@@ -1747,10 +1747,10 @@ export declare interface UseSelectDateOptions {
1747
1747
  export declare function useSelectItem(): (options: UseSelectItemOptions) => Promise<any>;
1748
1748
 
1749
1749
  export declare interface UseSelectItemOptions {
1750
- itemText: string;
1750
+ itemText?: string;
1751
1751
  itemValue?: string;
1752
1752
  items?: any[];
1753
- nav: string;
1753
+ nav?: string;
1754
1754
  params?: any;
1755
1755
  required?: boolean;
1756
1756
  searchProps?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.294",
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": {