aq-fe-framework 0.1.235 → 0.1.237

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.
@@ -28,4 +28,4 @@ interface IAQModule extends IBaseEntity {
28
28
  };
29
29
  }
30
30
 
31
- export type { IAQModule as I, IBaseEntity as a };
31
+ export type { IBaseEntity as I, IAQModule as a };
@@ -20,6 +20,7 @@ function createBaseApi(baseUrl, axiosInstance) {
20
20
  delete: (id) => {
21
21
  return axiosInstance.post(`${baseUrl}/delete`, { id });
22
22
  },
23
+ //Theme delete list
23
24
  deleteList: (values) => {
24
25
  return axiosInstance.post(`${baseUrl}/deleteList`, values.map((item) => ({
25
26
  id: item.id,
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  baseAxios_default,
3
3
  useQ_AQ_GetAQModule
4
- } from "./chunk-L2SCL3AF.mjs";
4
+ } from "./chunk-Q34UGTZ2.mjs";
5
+ import {
6
+ createGenericStore
7
+ } from "./chunk-Y3YGC5IH.mjs";
5
8
  import {
6
9
  utils_pdf_download
7
10
  } from "./chunk-5U2JSHSJ.mjs";
8
11
  import {
9
12
  utils_notification_show
10
13
  } from "./chunk-7ZCOFATU.mjs";
11
- import {
12
- createGenericStore
13
- } from "./chunk-Y3YGC5IH.mjs";
14
14
  import {
15
15
  __objRest,
16
16
  __spreadProps,
@@ -66,11 +66,11 @@ import {
66
66
  useS_BasicAppShell,
67
67
  useS_ButtonImport,
68
68
  utils_layout_getItemsWithoutLinks
69
- } from "../chunk-7FKPYUUJ.mjs";
70
- import "../chunk-L2SCL3AF.mjs";
69
+ } from "../chunk-WXBOD5JC.mjs";
70
+ import "../chunk-Q34UGTZ2.mjs";
71
+ import "../chunk-Y3YGC5IH.mjs";
71
72
  import "../chunk-5U2JSHSJ.mjs";
72
73
  import "../chunk-7ZCOFATU.mjs";
73
- import "../chunk-Y3YGC5IH.mjs";
74
74
  import "../chunk-FWCSY2DS.mjs";
75
75
  export {
76
76
  AQButtonCreateByImportFile,
@@ -1,8 +1,8 @@
1
1
  import * as axios from 'axios';
2
2
  import { AxiosInstance, AxiosResponse } from 'axios';
3
+ import { I as IBaseEntity, a as IAQModule } from '../IAQModule-Cn6xUy-6.mjs';
3
4
  import * as _tanstack_react_query from '@tanstack/react-query';
4
5
  import { UseMutationOptions, QueryKey, UseQueryOptions } from '@tanstack/react-query';
5
- import { I as IAQModule } from '../IAQModule-XZYlbivW.mjs';
6
6
 
7
7
  interface MyApiResponse<IRes> {
8
8
  isSuccess: 1 | 0;
@@ -17,10 +17,7 @@ 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
+ deleteList: (values: IBaseEntity[]) => Promise<axios.AxiosResponse<any, any>>;
24
21
  };
25
22
 
26
23
  declare const useLoadAxiosConfig: ({ axiosInstance }: {
@@ -4,7 +4,7 @@ import {
4
4
  useMyReactMutation,
5
5
  useMyReactQuery,
6
6
  useQ_AQ_GetAQModule
7
- } from "../chunk-L2SCL3AF.mjs";
7
+ } from "../chunk-Q34UGTZ2.mjs";
8
8
  import "../chunk-7ZCOFATU.mjs";
9
9
  import "../chunk-FWCSY2DS.mjs";
10
10
  export {
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { SelectProps } from '@mantine/core';
3
3
  import { I as I_BasicAppShell_LinkItem } from '../BasicAppShell-CGKvZ5wV.mjs';
4
- import { a as IBaseEntity, I as IAQModule } from '../IAQModule-XZYlbivW.mjs';
4
+ import { I as IBaseEntity, a as IAQModule } from '../IAQModule-Cn6xUy-6.mjs';
5
5
  import { ReactNode } from 'react';
6
6
 
7
7
  declare function F_core12196({ FormTypeId }: {
@@ -25,12 +25,15 @@ import {
25
25
  useS_BasicAppShell,
26
26
  useS_authenticate,
27
27
  utils_layout_getItemsWithoutLinks
28
- } from "../chunk-7FKPYUUJ.mjs";
28
+ } from "../chunk-WXBOD5JC.mjs";
29
29
  import {
30
30
  baseAxios_default,
31
31
  useQ_AQ_GetAQModule,
32
32
  useQ_SkillCenter_GetAll
33
- } from "../chunk-L2SCL3AF.mjs";
33
+ } from "../chunk-Q34UGTZ2.mjs";
34
+ import {
35
+ createGenericStore
36
+ } from "../chunk-Y3YGC5IH.mjs";
34
37
  import {
35
38
  U0DateToDDMMYYYString,
36
39
  U0MyValidateEmail,
@@ -43,9 +46,6 @@ import "../chunk-5U2JSHSJ.mjs";
43
46
  import {
44
47
  utils_notification_show
45
48
  } 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.235",
25
+ "version": "0.1.237",
26
26
  "private": false,
27
27
  "files": [
28
28
  "dist"