@fctc/interface-logic 1.10.5 → 1.10.7

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,4 +1,5 @@
1
- import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, c as GetDetailParams, d as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, a as GetViewParams, G as GetSelectionType } from './view-type-D8ukwj_2.mjs';
1
+ import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, a as GetListParams, b as GetDetailParams, c as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, G as GetSelectionType } from './api-type-DfAFCfCw.mjs';
2
+ import { G as GetViewParams } from './view-type-C6Eej-Ij.mjs';
2
3
 
3
4
  declare const ActionService: {
4
5
  loadAction({ idAction, context, }: {
@@ -1,4 +1,5 @@
1
- import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, b as GetListParams, c as GetDetailParams, d as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, a as GetViewParams, G as GetSelectionType } from './view-type-D8ukwj_2.js';
1
+ import { C as ContextApi, L as LoginCredentialBody, R as ResetPasswordRequest, U as UpdatePasswordRequest, a as GetListParams, b as GetDetailParams, c as SaveParams, D as DeleteParams, O as OnChangeParams, V as ViewData, G as GetSelectionType } from './api-type-DfAFCfCw.js';
2
+ import { G as GetViewParams } from './view-type-C6Eej-Ij.js';
2
3
 
3
4
  declare const ActionService: {
4
5
  loadAction({ idAction, context, }: {
package/dist/types.d.mts CHANGED
@@ -1,4 +1,5 @@
1
- export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, e as GetAllParams, c as GetDetailParams, b as GetListParams, G as GetSelectionType, a as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, d as SaveParams, S as SocialTokenBody, f as Specification, U as UpdatePasswordRequest, g as View, V as ViewData, u as updatePasswordBody } from './view-type-D8ukwj_2.mjs';
1
+ export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, d as GetAllParams, b as GetDetailParams, a as GetListParams, G as GetSelectionType, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, c as SaveParams, S as SocialTokenBody, e as Specification, U as UpdatePasswordRequest, V as ViewData, u as updatePasswordBody } from './api-type-DfAFCfCw.mjs';
2
+ export { G as GetViewParams, V as View } from './view-type-C6Eej-Ij.mjs';
2
3
 
3
4
  interface Config {
4
5
  baseUrl: string;
package/dist/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, e as GetAllParams, c as GetDetailParams, b as GetListParams, G as GetSelectionType, a as GetViewParams, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, d as SaveParams, S as SocialTokenBody, f as Specification, U as UpdatePasswordRequest, g as View, V as ViewData, u as updatePasswordBody } from './view-type-D8ukwj_2.js';
1
+ export { C as ContextApi, D as DeleteParams, F as ForgotPasswordBody, d as GetAllParams, b as GetDetailParams, a as GetListParams, G as GetSelectionType, L as LoginCredentialBody, O as OnChangeParams, R as ResetPasswordRequest, c as SaveParams, S as SocialTokenBody, e as Specification, U as UpdatePasswordRequest, V as ViewData, u as updatePasswordBody } from './api-type-DfAFCfCw.js';
2
+ export { G as GetViewParams, V as View } from './view-type-C6Eej-Ij.js';
2
3
 
3
4
  interface Config {
4
5
  baseUrl: string;
@@ -0,0 +1,229 @@
1
+ import * as _tanstack_react_query from '@tanstack/react-query';
2
+ import { L as LoginCredentialBody, S as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi } from './api-type-DfAFCfCw.mjs';
3
+
4
+ declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
5
+
6
+ declare const useForgotPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
7
+ email: string;
8
+ with_context: any;
9
+ method: string;
10
+ }, unknown>;
11
+
12
+ type ProviderPropsType = {
13
+ db: string;
14
+ };
15
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
16
+
17
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
18
+
19
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
20
+
21
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
22
+
23
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
24
+
25
+ declare const useResetPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
26
+ method: any;
27
+ password: string;
28
+ with_context: any;
29
+ }, unknown>;
30
+
31
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
32
+
33
+ declare const useLogout: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
34
+
35
+ declare const useGetAccessByCode: () => _tanstack_react_query.UseMutationResult<any, Error, {
36
+ code: string;
37
+ }, unknown>;
38
+
39
+ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationResult<any, Error, {
40
+ actionToken: string;
41
+ path: string;
42
+ }, unknown>;
43
+
44
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
45
+
46
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
47
+
48
+ declare const useGetListCompany: (companyIDs?: number[]) => _tanstack_react_query.UseQueryResult<any, Error>;
49
+
50
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
51
+ model: string;
52
+ domain: any;
53
+ ids: any;
54
+ fields: any;
55
+ type: any;
56
+ importCompat: any;
57
+ context: any;
58
+ groupby: any;
59
+ }, unknown>;
60
+
61
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
62
+ ids: any;
63
+ model: string;
64
+ isShow?: boolean;
65
+ parentField?: any;
66
+ fieldType?: any;
67
+ parentName?: any;
68
+ prefix?: any;
69
+ name?: any;
70
+ context: any;
71
+ importCompat?: any;
72
+ }, unknown>;
73
+
74
+ declare const useGetFileExcel: ({ model }: {
75
+ model: string;
76
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
77
+
78
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
79
+ id: any;
80
+ selectedSheet: any;
81
+ isHeader: boolean;
82
+ context: any;
83
+ }, unknown>;
84
+
85
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
86
+ formData: any;
87
+ }, unknown>;
88
+
89
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
90
+ formData: any;
91
+ }, unknown>;
92
+
93
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
94
+ fields: any;
95
+ columns: any;
96
+ idFile: any;
97
+ options: any;
98
+ dryrun: any;
99
+ context: any;
100
+ }, unknown>;
101
+
102
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
103
+ data: any;
104
+ }, unknown>;
105
+
106
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
107
+ data: any;
108
+ }, unknown>;
109
+
110
+ declare const useGetComment: ({ data, queryKey }: {
111
+ data: any;
112
+ queryKey: any;
113
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
114
+
115
+ type TFormView = {
116
+ model: string;
117
+ id?: number | null;
118
+ context?: any;
119
+ };
120
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
121
+ data: TFormView;
122
+ queryKey?: any;
123
+ enabled?: any;
124
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
125
+
126
+ declare const useGetImage: ({ data, queryKey, src, }: {
127
+ data: any;
128
+ queryKey: any;
129
+ src: any;
130
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
131
+
132
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
133
+ data: any;
134
+ }, unknown>;
135
+
136
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
137
+ data: any;
138
+ }, unknown>;
139
+
140
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
141
+ ids: any;
142
+ model: string;
143
+ }, unknown>;
144
+
145
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
146
+
147
+ declare const useGetConversionRate: () => _tanstack_react_query.UseQueryResult<any, Error>;
148
+
149
+ declare const useGetCurrency: () => _tanstack_react_query.UseQueryResult<any, Error>;
150
+
151
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
152
+ model?: string;
153
+ ids: any;
154
+ specification?: any;
155
+ context?: any;
156
+ }, unknown>;
157
+
158
+ declare const useGetFieldOnChange: ({ model }: {
159
+ model: string;
160
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
161
+
162
+ declare const useGetListMyBankAccount: ({ domain, spectification, model, }: {
163
+ domain: any;
164
+ spectification: any;
165
+ model: string;
166
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
167
+
168
+ interface BaseModelInit {
169
+ name: string;
170
+ view: Record<string, any>;
171
+ actContext?: Record<string, any>;
172
+ fields?: any;
173
+ }
174
+
175
+ declare class BaseModel {
176
+ name: string;
177
+ view: Record<string, any>;
178
+ actContext?: Record<string, any>;
179
+ fields?: any;
180
+ constructor(init: BaseModelInit);
181
+ private getSpecificationByFields;
182
+ getTreeProps(): Record<string, any>;
183
+ getTreeFields(): Record<string, any>[];
184
+ getSpecification(): Record<string, any>;
185
+ }
186
+
187
+ declare const useModel: () => {
188
+ initModel: (modelData: BaseModelInit) => BaseModel;
189
+ };
190
+
191
+ declare const useOdooDataTransform: () => {
192
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => Record<string, any>;
193
+ parseORM: (data: Record<string, any>) => Record<string, any>;
194
+ };
195
+
196
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
197
+ ids: any;
198
+ model: string;
199
+ specification: any;
200
+ context: any;
201
+ object: any;
202
+ fieldChange?: any;
203
+ }, unknown>;
204
+
205
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
206
+ ids: any;
207
+ model: string;
208
+ data: any;
209
+ specification?: any;
210
+ context: any;
211
+ path?: string;
212
+ }, unknown>;
213
+
214
+ declare const useGetProfile: (path?: string) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
215
+
216
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
217
+ id: any;
218
+ context: ContextApi;
219
+ }, unknown>;
220
+
221
+ type SwitchUserLocaleParams = {
222
+ data: {
223
+ id: number;
224
+ values: any;
225
+ };
226
+ };
227
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
228
+
229
+ export { useLoginSocial as A, useModel as B, useOdooDataTransform as C, useOnChangeForm as D, useParsePreview as E, useResetPassword as F, useResetPasswordSSO as G, useSave as H, useSendComment as I, useSwitchLocale as J, useUpdatePassword as K, useUploadFile as L, useUploadIdFile as M, useUploadImage as N, useGetAccessByCode as O, useLogout as P, useValidateActionToken as Q, useDelete as a, useDeleteComment as b, useExecuteImport as c, useExportExcel as d, useForgotPassword as e, useForgotPasswordSSO as f, useGetAll as g, useGetComment as h, useGetCompanyInfo as i, useGetConversionRate as j, useGetCurrency as k, useGetCurrentCompany as l, useGetDetail as m, useGetFieldExport as n, useGetFieldOnChange as o, useGetFileExcel as p, useGetFormView as q, useGetImage as r, useGetListCompany as s, useGetListMyBankAccount as t, useChangeStatus as u, useGetProfile as v, useGetProvider as w, useGetUser as x, useIsValidToken as y, useLoginCredential as z };
@@ -0,0 +1,229 @@
1
+ import * as _tanstack_react_query from '@tanstack/react-query';
2
+ import { L as LoginCredentialBody, S as SocialTokenBody, F as ForgotPasswordBody, u as updatePasswordBody, V as ViewData, C as ContextApi } from './api-type-DfAFCfCw.js';
3
+
4
+ declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
5
+
6
+ declare const useForgotPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
7
+ email: string;
8
+ with_context: any;
9
+ method: string;
10
+ }, unknown>;
11
+
12
+ type ProviderPropsType = {
13
+ db: string;
14
+ };
15
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
16
+
17
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
18
+
19
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
20
+
21
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
22
+
23
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
24
+
25
+ declare const useResetPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
26
+ method: any;
27
+ password: string;
28
+ with_context: any;
29
+ }, unknown>;
30
+
31
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
32
+
33
+ declare const useLogout: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
34
+
35
+ declare const useGetAccessByCode: () => _tanstack_react_query.UseMutationResult<any, Error, {
36
+ code: string;
37
+ }, unknown>;
38
+
39
+ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationResult<any, Error, {
40
+ actionToken: string;
41
+ path: string;
42
+ }, unknown>;
43
+
44
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
45
+
46
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
47
+
48
+ declare const useGetListCompany: (companyIDs?: number[]) => _tanstack_react_query.UseQueryResult<any, Error>;
49
+
50
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
51
+ model: string;
52
+ domain: any;
53
+ ids: any;
54
+ fields: any;
55
+ type: any;
56
+ importCompat: any;
57
+ context: any;
58
+ groupby: any;
59
+ }, unknown>;
60
+
61
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
62
+ ids: any;
63
+ model: string;
64
+ isShow?: boolean;
65
+ parentField?: any;
66
+ fieldType?: any;
67
+ parentName?: any;
68
+ prefix?: any;
69
+ name?: any;
70
+ context: any;
71
+ importCompat?: any;
72
+ }, unknown>;
73
+
74
+ declare const useGetFileExcel: ({ model }: {
75
+ model: string;
76
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
77
+
78
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
79
+ id: any;
80
+ selectedSheet: any;
81
+ isHeader: boolean;
82
+ context: any;
83
+ }, unknown>;
84
+
85
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
86
+ formData: any;
87
+ }, unknown>;
88
+
89
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
90
+ formData: any;
91
+ }, unknown>;
92
+
93
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
94
+ fields: any;
95
+ columns: any;
96
+ idFile: any;
97
+ options: any;
98
+ dryrun: any;
99
+ context: any;
100
+ }, unknown>;
101
+
102
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
103
+ data: any;
104
+ }, unknown>;
105
+
106
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
107
+ data: any;
108
+ }, unknown>;
109
+
110
+ declare const useGetComment: ({ data, queryKey }: {
111
+ data: any;
112
+ queryKey: any;
113
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
114
+
115
+ type TFormView = {
116
+ model: string;
117
+ id?: number | null;
118
+ context?: any;
119
+ };
120
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
121
+ data: TFormView;
122
+ queryKey?: any;
123
+ enabled?: any;
124
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
125
+
126
+ declare const useGetImage: ({ data, queryKey, src, }: {
127
+ data: any;
128
+ queryKey: any;
129
+ src: any;
130
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
131
+
132
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
133
+ data: any;
134
+ }, unknown>;
135
+
136
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
137
+ data: any;
138
+ }, unknown>;
139
+
140
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
141
+ ids: any;
142
+ model: string;
143
+ }, unknown>;
144
+
145
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
146
+
147
+ declare const useGetConversionRate: () => _tanstack_react_query.UseQueryResult<any, Error>;
148
+
149
+ declare const useGetCurrency: () => _tanstack_react_query.UseQueryResult<any, Error>;
150
+
151
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
152
+ model?: string;
153
+ ids: any;
154
+ specification?: any;
155
+ context?: any;
156
+ }, unknown>;
157
+
158
+ declare const useGetFieldOnChange: ({ model }: {
159
+ model: string;
160
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
161
+
162
+ declare const useGetListMyBankAccount: ({ domain, spectification, model, }: {
163
+ domain: any;
164
+ spectification: any;
165
+ model: string;
166
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
167
+
168
+ interface BaseModelInit {
169
+ name: string;
170
+ view: Record<string, any>;
171
+ actContext?: Record<string, any>;
172
+ fields?: any;
173
+ }
174
+
175
+ declare class BaseModel {
176
+ name: string;
177
+ view: Record<string, any>;
178
+ actContext?: Record<string, any>;
179
+ fields?: any;
180
+ constructor(init: BaseModelInit);
181
+ private getSpecificationByFields;
182
+ getTreeProps(): Record<string, any>;
183
+ getTreeFields(): Record<string, any>[];
184
+ getSpecification(): Record<string, any>;
185
+ }
186
+
187
+ declare const useModel: () => {
188
+ initModel: (modelData: BaseModelInit) => BaseModel;
189
+ };
190
+
191
+ declare const useOdooDataTransform: () => {
192
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => Record<string, any>;
193
+ parseORM: (data: Record<string, any>) => Record<string, any>;
194
+ };
195
+
196
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
197
+ ids: any;
198
+ model: string;
199
+ specification: any;
200
+ context: any;
201
+ object: any;
202
+ fieldChange?: any;
203
+ }, unknown>;
204
+
205
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
206
+ ids: any;
207
+ model: string;
208
+ data: any;
209
+ specification?: any;
210
+ context: any;
211
+ path?: string;
212
+ }, unknown>;
213
+
214
+ declare const useGetProfile: (path?: string) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
215
+
216
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
217
+ id: any;
218
+ context: ContextApi;
219
+ }, unknown>;
220
+
221
+ type SwitchUserLocaleParams = {
222
+ data: {
223
+ id: number;
224
+ values: any;
225
+ };
226
+ };
227
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
228
+
229
+ export { useLoginSocial as A, useModel as B, useOdooDataTransform as C, useOnChangeForm as D, useParsePreview as E, useResetPassword as F, useResetPasswordSSO as G, useSave as H, useSendComment as I, useSwitchLocale as J, useUpdatePassword as K, useUploadFile as L, useUploadIdFile as M, useUploadImage as N, useGetAccessByCode as O, useLogout as P, useValidateActionToken as Q, useDelete as a, useDeleteComment as b, useExecuteImport as c, useExportExcel as d, useForgotPassword as e, useForgotPasswordSSO as f, useGetAll as g, useGetComment as h, useGetCompanyInfo as i, useGetConversionRate as j, useGetCurrency as k, useGetCurrentCompany as l, useGetDetail as m, useGetFieldExport as n, useGetFieldOnChange as o, useGetFileExcel as p, useGetFormView as q, useGetImage as r, useGetListCompany as s, useGetListMyBankAccount as t, useChangeStatus as u, useGetProfile as v, useGetProvider as w, useGetUser as x, useIsValidToken as y, useLoginCredential as z };
@@ -0,0 +1,15 @@
1
+ type View = [number | boolean, string];
2
+ type Option = {
3
+ action_id?: number;
4
+ load_filters?: boolean;
5
+ toolbar?: boolean;
6
+ };
7
+ interface GetViewParams {
8
+ model?: string;
9
+ views?: View[];
10
+ context?: Record<string, any>;
11
+ options?: Option;
12
+ aid?: number | string | null | boolean;
13
+ }
14
+
15
+ export type { GetViewParams as G, View as V };
@@ -0,0 +1,15 @@
1
+ type View = [number | boolean, string];
2
+ type Option = {
3
+ action_id?: number;
4
+ load_filters?: boolean;
5
+ toolbar?: boolean;
6
+ };
7
+ interface GetViewParams {
8
+ model?: string;
9
+ views?: View[];
10
+ context?: Record<string, any>;
11
+ options?: Option;
12
+ aid?: number | string | null | boolean;
13
+ }
14
+
15
+ export type { GetViewParams as G, View as V };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fctc/interface-logic",
3
- "version": "1.10.5",
3
+ "version": "1.10.7",
4
4
  "types": "dist/index.d.ts",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",