aq-fe-framework 0.1.1112 → 0.1.1114

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.
@@ -31,7 +31,7 @@ import {
31
31
  import {
32
32
  const_object_colors,
33
33
  const_object_documentTypes
34
- } from "./chunk-S5NCYRRY.mjs";
34
+ } from "./chunk-N5DFWFM6.mjs";
35
35
  import {
36
36
  enumLabel_gender,
37
37
  enum_daysOfWeek
@@ -16791,11 +16791,13 @@ function CustomSelectAPI(_a) {
16791
16791
  }
16792
16792
  }, [autoSelectFirst, query.data, value, onChange]);
16793
16793
  const handleChange = (selectedId) => {
16794
- var _a3, _b3;
16795
- const selectedItem = (_b3 = (_a3 = query.data) == null ? void 0 : _a3.find((item) => {
16796
- var _a4;
16797
- return ((_a4 = item.id) == null ? void 0 : _a4.toString()) === selectedId;
16798
- })) != null ? _b3 : null;
16794
+ var _a3;
16795
+ const selectedItem = (_a3 = query.data) == null ? void 0 : _a3.find(
16796
+ (item) => {
16797
+ var _a4;
16798
+ return ((_a4 = item.id) == null ? void 0 : _a4.toString()) === selectedId;
16799
+ }
16800
+ );
16799
16801
  onChange == null ? void 0 : onChange(selectedItem);
16800
16802
  };
16801
16803
  return /* @__PURE__ */ jsx210(
@@ -65,13 +65,13 @@ import {
65
65
  getReadablePageIdSet,
66
66
  useHeaderMegaMenuStore,
67
67
  useStore_BasicAppShell
68
- } from "../chunk-63LSBBTN.mjs";
68
+ } from "../chunk-NU3Y55P5.mjs";
69
69
  import "../chunk-WW55EZ4B.mjs";
70
70
  import "../chunk-KGBXMHKR.mjs";
71
71
  import "../chunk-7ZI7IOEP.mjs";
72
72
  import "../chunk-NYAWQRB7.mjs";
73
73
  import "../chunk-BTITP4TN.mjs";
74
- import "../chunk-S5NCYRRY.mjs";
74
+ import "../chunk-N5DFWFM6.mjs";
75
75
  import "../chunk-VFTEXXA7.mjs";
76
76
  import "../chunk-Z76CSZFI.mjs";
77
77
  import "../chunk-WZ6PXGGC.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  const_object_colors,
6
6
  const_object_documentTypes,
7
7
  const_object_generalMenuData
8
- } from "../chunk-S5NCYRRY.mjs";
8
+ } from "../chunk-N5DFWFM6.mjs";
9
9
  import "../chunk-JD6AELXS.mjs";
10
10
  export {
11
11
  const_aqModuleId,
@@ -324,13 +324,13 @@ interface CustomDeleteListAPIProps<TData extends MRT_RowData> extends Omit<MyBut
324
324
  }
325
325
  declare function CustomButtonDeleteListAPI<TData extends MRT_RowData>({ deleteListFn, table, ...rest }: CustomDeleteListAPIProps<TData>): react_jsx_runtime.JSX.Element;
326
326
 
327
- interface CustomSelectAPIProps<IRes extends IBaseEntity, IReq> extends Omit<MySelectProps, "onChange" | "data" | "value"> {
328
- query: ReturnType<typeof useMyReactQuery<IRes[], IReq>>;
329
- value?: IRes | null;
330
- onChange?: (item: IRes | null) => void;
327
+ interface CustomSelectAPIProps<IRes extends IBaseEntity> extends Omit<MySelectProps, "onChange" | "data" | "value"> {
328
+ query: ReturnType<typeof useMyReactQuery<IRes[], any>>;
329
+ value?: IRes;
330
+ onChange?: (item?: IRes) => void;
331
331
  autoSelectFirst?: boolean;
332
332
  }
333
- declare function CustomSelectAPI<IRes extends IBaseEntity, IReq = any>({ query, value, onChange, autoSelectFirst, ...rest }: CustomSelectAPIProps<IRes, IReq>): react_jsx_runtime.JSX.Element;
333
+ declare function CustomSelectAPI<IRes extends IBaseEntity>({ query, value, onChange, autoSelectFirst, ...rest }: CustomSelectAPIProps<IRes>): react_jsx_runtime.JSX.Element;
334
334
 
335
335
  interface MyButtonViewFileAPIProps extends MyButtonViewFileProps {
336
336
  filePath?: string;
@@ -35,13 +35,13 @@ import {
35
35
  MyStatsCard,
36
36
  MyTextInput2 as MyTextInput,
37
37
  MyWeeklySessionSchedulerPicker
38
- } from "../chunk-63LSBBTN.mjs";
38
+ } from "../chunk-NU3Y55P5.mjs";
39
39
  import "../chunk-WW55EZ4B.mjs";
40
40
  import "../chunk-KGBXMHKR.mjs";
41
41
  import "../chunk-7ZI7IOEP.mjs";
42
42
  import "../chunk-NYAWQRB7.mjs";
43
43
  import "../chunk-BTITP4TN.mjs";
44
- import "../chunk-S5NCYRRY.mjs";
44
+ import "../chunk-N5DFWFM6.mjs";
45
45
  import "../chunk-VFTEXXA7.mjs";
46
46
  import "../chunk-Z76CSZFI.mjs";
47
47
  import "../chunk-WZ6PXGGC.mjs";
@@ -64,13 +64,13 @@ import {
64
64
  MailTemplateDeleteButton,
65
65
  useS_moduleConfig,
66
66
  useStore_Authenticate
67
- } from "../chunk-63LSBBTN.mjs";
67
+ } from "../chunk-NU3Y55P5.mjs";
68
68
  import "../chunk-WW55EZ4B.mjs";
69
69
  import "../chunk-KGBXMHKR.mjs";
70
70
  import "../chunk-7ZI7IOEP.mjs";
71
71
  import "../chunk-NYAWQRB7.mjs";
72
72
  import "../chunk-BTITP4TN.mjs";
73
- import "../chunk-S5NCYRRY.mjs";
73
+ import "../chunk-N5DFWFM6.mjs";
74
74
  import "../chunk-VFTEXXA7.mjs";
75
75
  import "../chunk-Z76CSZFI.mjs";
76
76
  import "../chunk-WZ6PXGGC.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  MySelect,
3
3
  Shared_DocTypeSelect
4
- } from "../chunk-63LSBBTN.mjs";
4
+ } from "../chunk-NU3Y55P5.mjs";
5
5
  import "../chunk-WW55EZ4B.mjs";
6
6
  import "../chunk-KGBXMHKR.mjs";
7
7
  import {
@@ -9,7 +9,7 @@ import {
9
9
  } from "../chunk-7ZI7IOEP.mjs";
10
10
  import "../chunk-NYAWQRB7.mjs";
11
11
  import "../chunk-BTITP4TN.mjs";
12
- import "../chunk-S5NCYRRY.mjs";
12
+ import "../chunk-N5DFWFM6.mjs";
13
13
  import {
14
14
  enumLabel_gender,
15
15
  enum_gender
package/package.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "types": "./dist/zod-schemas/index.d.mts"
59
59
  }
60
60
  },
61
- "version": "0.1.1112",
61
+ "version": "0.1.1114",
62
62
  "private": false,
63
63
  "files": [
64
64
  "dist"
@@ -96,10 +96,10 @@ var const_object_generalMenuData = {
96
96
  };
97
97
 
98
98
  export {
99
+ const_object_colors,
99
100
  const_array_daysOfWeek,
100
101
  const_aqModuleId,
101
102
  const_columnSize,
102
- const_object_colors,
103
103
  const_object_documentTypes,
104
104
  const_object_generalMenuData
105
105
  };