aq-fe-framework 0.1.234 → 0.1.235

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.
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  baseAxios_default,
3
3
  useQ_AQ_GetAQModule
4
- } from "./chunk-P5TKOHP7.mjs";
5
- import {
6
- createGenericStore
7
- } from "./chunk-Y3YGC5IH.mjs";
4
+ } from "./chunk-L2SCL3AF.mjs";
8
5
  import {
9
6
  utils_pdf_download
10
7
  } from "./chunk-5U2JSHSJ.mjs";
11
8
  import {
12
9
  utils_notification_show
13
10
  } from "./chunk-7ZCOFATU.mjs";
11
+ import {
12
+ createGenericStore
13
+ } from "./chunk-Y3YGC5IH.mjs";
14
14
  import {
15
15
  __objRest,
16
16
  __spreadProps,
@@ -19,6 +19,12 @@ function createBaseApi(baseUrl, axiosInstance) {
19
19
  },
20
20
  delete: (id) => {
21
21
  return axiosInstance.post(`${baseUrl}/delete`, { id });
22
+ },
23
+ deleteList: (values) => {
24
+ return axiosInstance.post(`${baseUrl}/deleteList`, values.map((item) => ({
25
+ id: item.id,
26
+ isEnabled: false
27
+ })));
22
28
  }
23
29
  };
24
30
  }
@@ -66,11 +66,11 @@ import {
66
66
  useS_BasicAppShell,
67
67
  useS_ButtonImport,
68
68
  utils_layout_getItemsWithoutLinks
69
- } from "../chunk-JD7YEBT3.mjs";
70
- import "../chunk-P5TKOHP7.mjs";
71
- import "../chunk-Y3YGC5IH.mjs";
69
+ } from "../chunk-7FKPYUUJ.mjs";
70
+ import "../chunk-L2SCL3AF.mjs";
72
71
  import "../chunk-5U2JSHSJ.mjs";
73
72
  import "../chunk-7ZCOFATU.mjs";
73
+ import "../chunk-Y3YGC5IH.mjs";
74
74
  import "../chunk-FWCSY2DS.mjs";
75
75
  export {
76
76
  AQButtonCreateByImportFile,
@@ -17,6 +17,10 @@ declare function createBaseApi<T>(baseUrl: string, axiosInstance: AxiosInstance)
17
17
  update: (data: Partial<T>) => Promise<axios.AxiosResponse<MyApiResponse<T>, any>>;
18
18
  createOrUpdate: (data: Partial<T[]>) => Promise<axios.AxiosResponse<MyApiResponse<T[]>, any>>;
19
19
  delete: (id: number) => Promise<axios.AxiosResponse<any, any>>;
20
+ deleteList: (values: {
21
+ id: number;
22
+ isEnabled: boolean;
23
+ }[]) => Promise<axios.AxiosResponse<any, any>>;
20
24
  };
21
25
 
22
26
  declare const useLoadAxiosConfig: ({ axiosInstance }: {
@@ -4,7 +4,7 @@ import {
4
4
  useMyReactMutation,
5
5
  useMyReactQuery,
6
6
  useQ_AQ_GetAQModule
7
- } from "../chunk-P5TKOHP7.mjs";
7
+ } from "../chunk-L2SCL3AF.mjs";
8
8
  import "../chunk-7ZCOFATU.mjs";
9
9
  import "../chunk-FWCSY2DS.mjs";
10
10
  export {
@@ -25,15 +25,12 @@ import {
25
25
  useS_BasicAppShell,
26
26
  useS_authenticate,
27
27
  utils_layout_getItemsWithoutLinks
28
- } from "../chunk-JD7YEBT3.mjs";
28
+ } from "../chunk-7FKPYUUJ.mjs";
29
29
  import {
30
30
  baseAxios_default,
31
31
  useQ_AQ_GetAQModule,
32
32
  useQ_SkillCenter_GetAll
33
- } from "../chunk-P5TKOHP7.mjs";
34
- import {
35
- createGenericStore
36
- } from "../chunk-Y3YGC5IH.mjs";
33
+ } from "../chunk-L2SCL3AF.mjs";
37
34
  import {
38
35
  U0DateToDDMMYYYString,
39
36
  U0MyValidateEmail,
@@ -46,6 +43,9 @@ import "../chunk-5U2JSHSJ.mjs";
46
43
  import {
47
44
  utils_notification_show
48
45
  } from "../chunk-7ZCOFATU.mjs";
46
+ import {
47
+ createGenericStore
48
+ } from "../chunk-Y3YGC5IH.mjs";
49
49
  import {
50
50
  __objRest,
51
51
  __spreadProps,
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "types": "./dist/hooks/index.d.mts"
23
23
  }
24
24
  },
25
- "version": "0.1.234",
25
+ "version": "0.1.235",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"