@fctc/interface-logic 1.7.10 → 1.8.1

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.
Files changed (43) hide show
  1. package/dist/index.d.mts +1681 -0
  2. package/dist/index.d.ts +1681 -0
  3. package/dist/{hooks.js → index.js} +1208 -10
  4. package/dist/index.js.map +1 -0
  5. package/dist/{hooks.mjs → index.mjs} +1064 -5
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +1 -1
  8. package/dist/configs.d.mts +0 -15
  9. package/dist/configs.d.ts +0 -15
  10. package/dist/configs.js +0 -2383
  11. package/dist/configs.mjs +0 -2346
  12. package/dist/constants.d.mts +0 -131
  13. package/dist/constants.d.ts +0 -131
  14. package/dist/constants.js +0 -205
  15. package/dist/constants.mjs +0 -166
  16. package/dist/environment.d.mts +0 -55
  17. package/dist/environment.d.ts +0 -55
  18. package/dist/environment.js +0 -3091
  19. package/dist/environment.mjs +0 -3051
  20. package/dist/hooks.d.mts +0 -364
  21. package/dist/hooks.d.ts +0 -364
  22. package/dist/provider.d.mts +0 -15
  23. package/dist/provider.d.ts +0 -15
  24. package/dist/provider.js +0 -3600
  25. package/dist/provider.mjs +0 -3561
  26. package/dist/services.d.mts +0 -256
  27. package/dist/services.d.ts +0 -256
  28. package/dist/services.js +0 -4673
  29. package/dist/services.mjs +0 -4628
  30. package/dist/store.d.mts +0 -643
  31. package/dist/store.d.ts +0 -643
  32. package/dist/store.js +0 -814
  33. package/dist/store.mjs +0 -709
  34. package/dist/types.d.mts +0 -17
  35. package/dist/types.d.ts +0 -17
  36. package/dist/types.js +0 -18
  37. package/dist/types.mjs +0 -0
  38. package/dist/utils.d.mts +0 -93
  39. package/dist/utils.d.ts +0 -93
  40. package/dist/utils.js +0 -2962
  41. package/dist/utils.mjs +0 -2896
  42. package/dist/view-type-BGJfDe73.d.mts +0 -113
  43. package/dist/view-type-BGJfDe73.d.ts +0 -113
@@ -0,0 +1,1681 @@
1
+ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
2
+ import { EnhancedStore, PayloadAction } from '@reduxjs/toolkit';
3
+ import * as _tanstack_react_query from '@tanstack/react-query';
4
+ import { ReactNode } from 'react';
5
+ import { TypedUseSelectorHook } from 'react-redux';
6
+ import * as redux_thunk from 'redux-thunk';
7
+ import * as redux from 'redux';
8
+ import * as immer from 'immer';
9
+
10
+ declare const localStorageUtils: () => {
11
+ setToken: (access_token: string) => Promise<void>;
12
+ setRefreshToken: (refresh_token: string) => Promise<void>;
13
+ getAccessToken: () => Promise<string | null>;
14
+ getRefreshToken: () => Promise<string | null>;
15
+ clearToken: () => Promise<void>;
16
+ };
17
+ type LocalStorageUtilsType = ReturnType<typeof localStorageUtils>;
18
+
19
+ declare const sessionStorageUtils: () => {
20
+ getBrowserSession: () => Promise<string | null>;
21
+ };
22
+ type SessionStorageUtilsType = ReturnType<typeof sessionStorageUtils>;
23
+
24
+ declare global {
25
+ interface Global {
26
+ envStore?: EnvStore;
27
+ }
28
+ interface Window {
29
+ envStore?: EnvStore;
30
+ }
31
+ }
32
+ declare class EnvStore {
33
+ envStore: EnhancedStore | any;
34
+ baseUrl?: string;
35
+ requests?: any;
36
+ context?: any;
37
+ defaultCompany?: any;
38
+ config?: any;
39
+ companies?: any[];
40
+ user?: any;
41
+ db?: string;
42
+ localStorageUtils?: any;
43
+ sessionStorageUtils?: any;
44
+ refreshTokenEndpoint?: string;
45
+ constructor(envStore: EnhancedStore, localStorageUtils?: any, sessionStorageUtils?: any);
46
+ setup(): void;
47
+ setupEnv(envConfig: EnvStore): void;
48
+ setUid(uid: number): void;
49
+ setLang(lang: string): void;
50
+ setAllowCompanies(allowCompanies: number[]): void;
51
+ setCompanies(companies: any[]): void;
52
+ setDefaultCompany(company: any): void;
53
+ setUserInfo(userInfo: any): void;
54
+ }
55
+ declare let env: EnvStore | null;
56
+ declare function initEnv({ localStorageUtils, sessionStorageUtils, }: {
57
+ localStorageUtils?: LocalStorageUtilsType;
58
+ sessionStorageUtils?: SessionStorageUtilsType;
59
+ }): EnvStore;
60
+ declare function getEnv(): EnvStore;
61
+
62
+ declare const axiosClient: {
63
+ init(config: EnvStore): {
64
+ get: (url: string, headers: any) => Promise<any>;
65
+ post: (url: string, body: any, headers: any) => Promise<any>;
66
+ post_excel: (url: string, body: any, headers: any) => Promise<any>;
67
+ put: (url: string, body: any, headers: any) => Promise<any>;
68
+ patch: (url: string, body: any) => Promise<any>;
69
+ delete: (url: string, body: any) => Promise<any>;
70
+ };
71
+ };
72
+
73
+ declare enum KeyConstants {
74
+ PROFILE = "userinfo",
75
+ CURRENT_COMPANY = "current_company",
76
+ LIST_COMPANY = "list_company",
77
+ COMPANY_INFO = "company_info",
78
+ MENU = "menus",
79
+ GET_VIEW_BY_ACTION = "get_view_by_action",
80
+ ACTION_DETAIL = "action_detail",
81
+ GET_DATA_SELECTION = "get_data_select",
82
+ WEB_SAVE = "web_save",
83
+ WEB_READ = "web_read",
84
+ GET_PROVIDER = "get_provider"
85
+ }
86
+
87
+ declare enum MethodConstants {
88
+ WEB_SEARCH_READ = "web_search_read",
89
+ WEB_READ_GROUP = "web_read_group",
90
+ WEB_READ = "web_read",
91
+ WEB_SAVE = "web_save",
92
+ UNLINK = "unlink",
93
+ ONCHANGE = "onchange",
94
+ GET_ONCHANGE_FIELDS = "get_fields_onchange",
95
+ GET_FIELD_VIEW = "get_fields_view_v2"
96
+ }
97
+
98
+ declare enum UriConstants {
99
+ AUTH_TOKEN_PATH = "/authentication/oauth2/token",
100
+ GENTOKEN_SOCIAL = "/token/generate",
101
+ CALL_PATH = "/call",
102
+ COMPANY_PATH = "/company",
103
+ PROFILE_PATH = "/userinfo",
104
+ RESET_PASSWORD_PATH = "/reset_password",
105
+ CHANGE_PASSWORD_PATH = "/change_password",
106
+ UPDATE_PASSWORD_PATH = "/change_password_parent",
107
+ LOAD_ACTION = "/load_action",
108
+ REPORT_PATH = "/report",
109
+ RUN_ACTION_PATH = "/run_action",
110
+ UPLOAD_FILE_PATH = "/upload/file",
111
+ GET_MESSAGE = "/chatter/thread/messages",
112
+ SENT_MESSAGE = "/chatter/message/post",
113
+ UPLOAD_IMAGE = "/mail/attachment/upload",
114
+ DELETE_MESSAGE = "/chatter/message/update_content",
115
+ IMAGE_PATH = "/web/image",
116
+ LOAD_MESSAGE = "/load_message_failures",
117
+ TOKEN = "/check_token",
118
+ CREATE_UPDATE_PATH = "/create_update",
119
+ TWOFA_METHOD_PATH = "/id/api/v2/call",
120
+ SIGNIN_SSO = "/signin-sso/oauth",
121
+ GRANT_ACCESS = "/grant-access",
122
+ TOKEN_BY_CODE = "/token",
123
+ LOGOUT = "/logout"
124
+ }
125
+
126
+ declare enum FieldTypeConstants {
127
+ CHAR = "char",
128
+ TEXT = "text",
129
+ INTEGER = "integer",
130
+ FLOAT = "float",
131
+ BOOLEAN = "boolean",
132
+ DATE = "date",
133
+ DATETIME = "datetime",
134
+ BINARY = "binary",
135
+ SELECTION = "selection",
136
+ HTML = "html",
137
+ MANY2ONE = "many2one",
138
+ ONE2MANY = "one2many",
139
+ MANY2MANY = "many2many",
140
+ MONETARY = "monetary",
141
+ REFERENCE = "reference",
142
+ FUNCTION = "function",
143
+ PROPERTY = "property"
144
+ }
145
+
146
+ declare enum MethodType {
147
+ CREATE = 0,
148
+ UPDATE = 1,
149
+ DELETE = 2,
150
+ UNLINK = 3,
151
+ NO_CHANGE = 4
152
+ }
153
+
154
+ declare enum ModelConstants {
155
+ MENU = "ir.ui.menu",
156
+ USER = "res.users",
157
+ COMPANY = "res.company",
158
+ WINDOW_ACTION = "ir.actions.act_window",
159
+ BASE_IMPORT = "base_import.import",
160
+ GET_IMPORT = "get_import_templates"
161
+ }
162
+
163
+ declare enum ComponentType {
164
+ GROUP = "group",
165
+ FIELD = "field",
166
+ TREE = "tree",
167
+ DIV = "div",
168
+ LIST = "list",
169
+ FORM = "form",
170
+ SETTINGS = "setting",
171
+ SPAN = "span",
172
+ KANBAN = "kanban",
173
+ CALENDAR = "calendar",
174
+ TYPE = "view-type"
175
+ }
176
+ declare const SearchType: {
177
+ FILTER: string;
178
+ SEARCH: string;
179
+ GROUP: string;
180
+ };
181
+
182
+ declare enum WIDGETAVATAR {
183
+ many2one_avatar_user = "many2one_avatar_user",
184
+ many2many_avatar_user = "many2many_avatar_user"
185
+ }
186
+ declare enum WIDGETCURRENCY {
187
+ many2one_avatar_user = "many2one_avatar_user",
188
+ many2many_avatar_user = "many2many_avatar_user"
189
+ }
190
+
191
+ declare enum WIDGETCOLOR {
192
+ many2many_tags = "many2many_tags",
193
+ helpdesk_sla_many2many_tags = "helpdesk_sla_many2many_tags"
194
+ }
195
+
196
+ declare enum WIDGETSTATUS {
197
+ sla_status_ids = "sla_status_ids"
198
+ }
199
+ declare enum WIDGETNOSTRING {
200
+ sla_status_ids = "sla_status_ids"
201
+ }
202
+
203
+ declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
204
+
205
+ declare const useForgotPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
206
+ email: string;
207
+ with_context: any;
208
+ method: string;
209
+ }, unknown>;
210
+
211
+ type ProviderPropsType = {
212
+ db: string;
213
+ };
214
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
215
+
216
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
217
+
218
+ interface LoginCredentialBody {
219
+ email: string;
220
+ password: string;
221
+ path?: string;
222
+ }
223
+ interface ResetPasswordRequest {
224
+ password: string;
225
+ confirmPassword: string;
226
+ }
227
+ interface UpdatePasswordRequest {
228
+ newPassword: string;
229
+ oldPassword: string;
230
+ }
231
+ interface ForgotPasswordBody {
232
+ data: ResetPasswordRequest;
233
+ token: string | null;
234
+ }
235
+ interface updatePasswordBody {
236
+ data: UpdatePasswordRequest;
237
+ token: string | null;
238
+ }
239
+ interface SocialTokenBody {
240
+ state: object;
241
+ access_token: string;
242
+ db: string;
243
+ }
244
+
245
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
246
+
247
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
248
+
249
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
250
+
251
+ declare const useResetPasswordSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
252
+ method: any;
253
+ password: string;
254
+ with_context: any;
255
+ }, unknown>;
256
+
257
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
258
+
259
+ declare const useLogout: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
260
+
261
+ declare const useGetAccessByCode: () => _tanstack_react_query.UseMutationResult<any, Error, {
262
+ code: string;
263
+ }, unknown>;
264
+
265
+ declare const useValidateActionToken: () => _tanstack_react_query.UseMutationResult<any, Error, {
266
+ actionToken: string;
267
+ path: string;
268
+ }, unknown>;
269
+
270
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
271
+
272
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
273
+
274
+ declare const useGetListCompany: (companyIDs?: number[]) => _tanstack_react_query.UseQueryResult<any, Error>;
275
+
276
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
277
+ model: string;
278
+ domain: any;
279
+ ids: any;
280
+ fields: any;
281
+ type: any;
282
+ importCompat: any;
283
+ context: any;
284
+ groupby: any;
285
+ }, unknown>;
286
+
287
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
288
+ ids: any;
289
+ model: string;
290
+ isShow?: boolean;
291
+ parentField?: any;
292
+ fieldType?: any;
293
+ parentName?: any;
294
+ prefix?: any;
295
+ name?: any;
296
+ context: any;
297
+ importCompat?: any;
298
+ }, unknown>;
299
+
300
+ declare const useGetFileExcel: ({ model }: {
301
+ model: string;
302
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
303
+
304
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
305
+ id: any;
306
+ selectedSheet: any;
307
+ isHeader: boolean;
308
+ context: any;
309
+ }, unknown>;
310
+
311
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
312
+ formData: any;
313
+ }, unknown>;
314
+
315
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
316
+ formData: any;
317
+ }, unknown>;
318
+
319
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
320
+ fields: any;
321
+ columns: any;
322
+ idFile: any;
323
+ options: any;
324
+ dryrun: any;
325
+ context: any;
326
+ }, unknown>;
327
+
328
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
329
+ data: any;
330
+ }, unknown>;
331
+
332
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
333
+ data: any;
334
+ }, unknown>;
335
+
336
+ declare const useGetComment: ({ data, queryKey }: {
337
+ data: any;
338
+ queryKey: any;
339
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
340
+
341
+ type TFormView$1 = {
342
+ model: string;
343
+ id?: number | null;
344
+ context?: any;
345
+ };
346
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
347
+ data: TFormView$1;
348
+ queryKey?: any;
349
+ enabled?: any;
350
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
351
+
352
+ declare const useGetImage: ({ data, queryKey, src, }: {
353
+ data: any;
354
+ queryKey: any;
355
+ src: any;
356
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
357
+
358
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
359
+ data: any;
360
+ }, unknown>;
361
+
362
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
363
+ data: any;
364
+ }, unknown>;
365
+
366
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
367
+ ids: any;
368
+ model: string;
369
+ }, unknown>;
370
+
371
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
372
+
373
+ declare const useGetConversionRate: () => _tanstack_react_query.UseQueryResult<any, Error>;
374
+
375
+ declare const useGetCurrency: () => _tanstack_react_query.UseQueryResult<any, Error>;
376
+
377
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
378
+ model?: string;
379
+ ids: any;
380
+ specification?: any;
381
+ context?: any;
382
+ }, unknown>;
383
+
384
+ declare const useGetFieldOnChange: ({ model }: {
385
+ model: string;
386
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
387
+
388
+ declare const useGetListMyBankAccount: ({ domain, spectification, model, }: {
389
+ domain: any;
390
+ spectification: any;
391
+ model: string;
392
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
393
+
394
+ interface BaseModelInit {
395
+ name: string;
396
+ view: Record<string, any>;
397
+ actContext?: Record<string, any>;
398
+ fields?: any;
399
+ }
400
+
401
+ declare class BaseModel {
402
+ name: string;
403
+ view: Record<string, any>;
404
+ actContext?: Record<string, any>;
405
+ fields?: any;
406
+ constructor(init: BaseModelInit);
407
+ private getSpecificationByFields;
408
+ getTreeProps(): Record<string, any>;
409
+ getTreeFields(): Record<string, any>[];
410
+ getSpecification(): Record<string, any>;
411
+ }
412
+
413
+ declare const useModel: () => {
414
+ initModel: (modelData: BaseModelInit) => BaseModel;
415
+ };
416
+
417
+ declare const useOdooDataTransform: () => {
418
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => Record<string, any>;
419
+ parseORM: (data: Record<string, any>) => Record<string, any>;
420
+ };
421
+
422
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
423
+ ids: any;
424
+ model: string;
425
+ specification: any;
426
+ context: any;
427
+ object: any;
428
+ fieldChange?: any;
429
+ }, unknown>;
430
+
431
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
432
+ ids: any;
433
+ model: string;
434
+ data: any;
435
+ specification?: any;
436
+ context: any;
437
+ path?: string;
438
+ }, unknown>;
439
+
440
+ declare const useGetProfile: (path?: string) => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
441
+
442
+ interface Specification {
443
+ [key: string]: any;
444
+ }
445
+ interface ContextApi {
446
+ [key: string]: any;
447
+ }
448
+ interface GetAllParams {
449
+ model?: string;
450
+ ids?: number[];
451
+ specification: Specification;
452
+ domain?: any[];
453
+ offset?: number;
454
+ sort: any;
455
+ fields: any;
456
+ groupby: any;
457
+ context?: ContextApi;
458
+ limit?: number;
459
+ }
460
+ interface GetListParams {
461
+ model: string;
462
+ ids?: number[];
463
+ specification?: Specification;
464
+ domain?: any[];
465
+ offset?: number;
466
+ order?: string;
467
+ context?: ContextApi;
468
+ limit?: number;
469
+ }
470
+ interface GetDetailParams {
471
+ ids?: number[];
472
+ model?: string;
473
+ specification?: Specification;
474
+ context?: ContextApi;
475
+ }
476
+ interface SaveParams {
477
+ model: string;
478
+ ids?: number[] | [];
479
+ data?: Record<string, any>;
480
+ specification?: Specification;
481
+ context?: ContextApi;
482
+ path?: string;
483
+ }
484
+ interface DeleteParams {
485
+ ids?: number[];
486
+ model: string;
487
+ }
488
+ interface OnChangeParams {
489
+ ids?: number[];
490
+ model: string;
491
+ object?: Record<string, any>;
492
+ specification: Specification;
493
+ context?: ContextApi;
494
+ fieldChange?: string[];
495
+ }
496
+ interface ViewData {
497
+ models?: {
498
+ [key: string]: {
499
+ [key: string]: {
500
+ type: string;
501
+ relation?: string;
502
+ };
503
+ };
504
+ };
505
+ }
506
+ type GetSelectionType = {
507
+ domain: any;
508
+ context: any;
509
+ model: string;
510
+ specification?: any;
511
+ };
512
+
513
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
514
+ id: any;
515
+ context: ContextApi;
516
+ }, unknown>;
517
+
518
+ type SwitchUserLocaleParams = {
519
+ data: {
520
+ id: number;
521
+ values: any;
522
+ };
523
+ };
524
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
525
+
526
+ declare const useButton: () => _tanstack_react_query.UseMutationResult<any, Error, {
527
+ model: string;
528
+ ids: Record<string, any>[] | any;
529
+ context: ContextApi;
530
+ method: any;
531
+ }, unknown>;
532
+
533
+ declare const useDuplicateRecord: () => _tanstack_react_query.UseMutationResult<any, Error, {
534
+ id: any;
535
+ model: string;
536
+ context: ContextApi;
537
+ }, unknown>;
538
+
539
+ declare const useGetActionDetail: ({ aid, context, enabled, id, model, queryKey, }: {
540
+ aid: number;
541
+ context: any;
542
+ enabled: boolean;
543
+ id?: number;
544
+ model?: string;
545
+ queryKey?: any;
546
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
547
+
548
+ declare const useGetCalendar: (listDataProps: any, queryKey?: any, enabled?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
549
+
550
+ declare const useGetGroups: ({ model, width_context, }: {
551
+ model: string;
552
+ width_context: any;
553
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
554
+
555
+ declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
556
+
557
+ declare const useGetMenu: (context: any, enabled?: boolean) => _tanstack_react_query.UseQueryResult<any, Error>;
558
+
559
+ declare const useGetPrintReport: () => _tanstack_react_query.UseMutationResult<any, Error, {
560
+ id: number;
561
+ }, unknown>;
562
+
563
+ declare const useGetProGressBar: ({ field, color, model, width_context, }: {
564
+ field: any;
565
+ color: any;
566
+ model: string;
567
+ width_context: string;
568
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
569
+
570
+ declare const useGetSelection: ({ data, queryKey, enabled, }: {
571
+ data: GetSelectionType;
572
+ queryKey: any[];
573
+ enabled?: boolean;
574
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
575
+
576
+ type View = [number | boolean, string];
577
+ type Option = {
578
+ action_id?: number;
579
+ load_filters?: boolean;
580
+ toolbar?: boolean;
581
+ };
582
+ interface GetViewParams {
583
+ model?: string;
584
+ views?: View[];
585
+ context?: Record<string, any>;
586
+ options?: Option;
587
+ aid?: number | string | null | boolean;
588
+ }
589
+
590
+ declare const useGetView: (viewParams: GetViewParams, actData?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
591
+
592
+ declare const useLoadAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
593
+ idAction: any;
594
+ context: ContextApi;
595
+ }, unknown>;
596
+
597
+ declare const useLoadMessage: () => _tanstack_react_query.UseQueryResult<any, Error>;
598
+
599
+ declare const usePrint: () => _tanstack_react_query.UseMutationResult<any, Error, {
600
+ id: number;
601
+ report: any;
602
+ db: any;
603
+ }, unknown>;
604
+
605
+ declare const useRemoveRow: () => _tanstack_react_query.UseMutationResult<any, Error, {
606
+ model: string;
607
+ ids: Record<string, any>[] | any;
608
+ context: ContextApi;
609
+ }, unknown>;
610
+
611
+ declare const useGetResequence: (model: string, resIds: any, context: any, offset: any) => _tanstack_react_query.UseQueryResult<any, Error>;
612
+
613
+ declare const useRunAction: () => _tanstack_react_query.UseMutationResult<any, Error, {
614
+ idAction: any;
615
+ context: ContextApi;
616
+ }, unknown>;
617
+
618
+ declare const useSignInSSO: () => _tanstack_react_query.UseMutationResult<any, Error, {
619
+ redirect_uri: string;
620
+ state: string;
621
+ client_id: string;
622
+ response_type: string;
623
+ path: string;
624
+ }, unknown>;
625
+
626
+ declare const useVerify2FA: () => _tanstack_react_query.UseMutationResult<any, Error, {
627
+ method: string;
628
+ with_context: any;
629
+ code: string;
630
+ device: string;
631
+ location: string;
632
+ }, unknown>;
633
+
634
+ declare const useGet2FAMethods: () => _tanstack_react_query.UseMutationResult<any, Error, {
635
+ method: string;
636
+ with_context: any;
637
+ }, unknown>;
638
+
639
+ declare const useGetFieldsViewSecurity: () => _tanstack_react_query.UseMutationResult<any, Error, {
640
+ method: string;
641
+ token: string;
642
+ views: any;
643
+ }, unknown>;
644
+
645
+ declare const useGrantAccess: () => _tanstack_react_query.UseMutationResult<any, Error, {
646
+ redirect_uri: string;
647
+ state: string;
648
+ client_id: string;
649
+ scopes: string[];
650
+ }, unknown>;
651
+
652
+ declare const useRemoveTotpSetup: () => _tanstack_react_query.UseMutationResult<any, Error, {
653
+ method: string;
654
+ token: string;
655
+ }, unknown>;
656
+
657
+ declare const useRequestSetupTotp: () => _tanstack_react_query.UseMutationResult<any, Error, {
658
+ method: string;
659
+ token: string;
660
+ }, unknown>;
661
+
662
+ declare const useSettingsWebRead2fa: () => _tanstack_react_query.UseMutationResult<any, Error, {
663
+ method: string;
664
+ model: string;
665
+ kwargs: any;
666
+ token: string;
667
+ }, unknown>;
668
+
669
+ declare const useVerifyTotp: () => _tanstack_react_query.UseMutationResult<any, Error, {
670
+ method: string;
671
+ action_token: string;
672
+ code: string;
673
+ }, unknown>;
674
+
675
+ declare const MainProvider: ({ children }: {
676
+ children: ReactNode;
677
+ }) => JSX.Element;
678
+
679
+ declare const ReactQueryProvider: ({ children }: {
680
+ children: ReactNode;
681
+ }) => JSX.Element;
682
+
683
+ declare const VersionGate: ({ children }: {
684
+ children: ReactNode;
685
+ }) => JSX.Element | null;
686
+
687
+ declare const ActionService: {
688
+ loadAction({ idAction, context, }: {
689
+ idAction: number;
690
+ context: ContextApi;
691
+ }): Promise<any>;
692
+ callButton({ model, ids, context, method, }: {
693
+ model: string;
694
+ ids: Record<string, any>[] | any;
695
+ context: ContextApi;
696
+ method: any;
697
+ }): Promise<any>;
698
+ removeRows({ model, ids, context, }: {
699
+ model: string;
700
+ ids: Record<string, any>[] | any;
701
+ context: ContextApi;
702
+ }): Promise<any>;
703
+ duplicateRecord({ model, id, context, }: {
704
+ model: string;
705
+ id: any;
706
+ context: ContextApi;
707
+ }): Promise<any>;
708
+ getPrintReportName({ id }: {
709
+ id: number;
710
+ }): Promise<any>;
711
+ print({ id, report, db }: {
712
+ id: number;
713
+ report: any;
714
+ db: any;
715
+ }): Promise<any>;
716
+ runAction({ idAction, context, }: {
717
+ idAction: number;
718
+ context: ContextApi;
719
+ }): Promise<any>;
720
+ };
721
+
722
+ declare const AuthService: {
723
+ login(body: LoginCredentialBody): Promise<any>;
724
+ forgotPassword(email: string): Promise<any>;
725
+ forgotPasswordSSO({ email, with_context, method, }: {
726
+ email: string;
727
+ with_context: any;
728
+ method: string;
729
+ }): Promise<any>;
730
+ resetPassword(data: ResetPasswordRequest, token: string | null): Promise<any>;
731
+ resetPasswordSSO({ method, password, with_context, }: {
732
+ method: any;
733
+ password: string;
734
+ with_context: any;
735
+ }): Promise<any>;
736
+ updatePassword(data: UpdatePasswordRequest, token: string | null): Promise<any>;
737
+ isValidToken(token: string | null): Promise<any>;
738
+ isValidActionToken(actionToken: string | null, path: string): Promise<any>;
739
+ loginSocial({ db, state, access_token, }: {
740
+ db: string;
741
+ state: object;
742
+ access_token: string;
743
+ }): Promise<any>;
744
+ getProviders(db?: string): Promise<any>;
745
+ getAccessByCode(code: string): Promise<any>;
746
+ logout(data: string): Promise<any>;
747
+ };
748
+
749
+ declare const CompanyService: {
750
+ getCurrentCompany(): Promise<any>;
751
+ getInfoCompany(id: number): Promise<any>;
752
+ };
753
+
754
+ declare const ExcelService: {
755
+ uploadFile({ formData }: {
756
+ formData: any;
757
+ }): Promise<any>;
758
+ uploadIdFile({ formData }: {
759
+ formData: any;
760
+ }): Promise<any>;
761
+ parsePreview({ id, selectedSheet, isHeader, context, }: {
762
+ id: any;
763
+ selectedSheet: any;
764
+ isHeader: boolean;
765
+ context: any;
766
+ }): Promise<any>;
767
+ executeImport({ columns, fields, idFile, options, dryrun, context, }: {
768
+ columns: any;
769
+ fields: any;
770
+ idFile: any;
771
+ options: any;
772
+ dryrun: any;
773
+ context: any;
774
+ }): Promise<any>;
775
+ getFileExcel({ model }: {
776
+ model: string;
777
+ }): Promise<any>;
778
+ getFieldExport({ ids, model, isShow, parentField, fieldType, parentName, prefix, name, context, importCompat, }: {
779
+ ids: any;
780
+ model: string;
781
+ isShow?: boolean;
782
+ parentField?: any;
783
+ fieldType?: any;
784
+ parentName?: any;
785
+ prefix?: any;
786
+ name?: any;
787
+ context: any;
788
+ importCompat?: any;
789
+ }): Promise<any>;
790
+ exportExcel({ model, domain, ids, fields, type, importCompat, context, groupby, }: {
791
+ model: string;
792
+ domain: any;
793
+ ids: any;
794
+ fields: any;
795
+ type: any;
796
+ importCompat: any;
797
+ context: any;
798
+ groupby: any;
799
+ }): Promise<any>;
800
+ };
801
+
802
+ type TFormView = {
803
+ model: string;
804
+ id?: number | null;
805
+ context?: any;
806
+ };
807
+ declare const FormService: {
808
+ getComment({ data }: {
809
+ data: any;
810
+ }): Promise<any>;
811
+ sentComment({ data }: any): Promise<any>;
812
+ deleteComment({ data }: {
813
+ data: any;
814
+ }): Promise<any>;
815
+ getImage({ data }: {
816
+ data: any;
817
+ }): Promise<any>;
818
+ uploadImage({ data }: {
819
+ data: any;
820
+ }): Promise<any>;
821
+ getFormView({ data }: {
822
+ data: TFormView;
823
+ }): Promise<any>;
824
+ changeStatus({ data }: any): Promise<any>;
825
+ };
826
+
827
+ declare const KanbanServices: {
828
+ getGroups({ model, width_context, }: {
829
+ model: string;
830
+ width_context: any;
831
+ }): Promise<any>;
832
+ getProgressBar({ field, color, model, width_context, }: {
833
+ field: any;
834
+ color: any;
835
+ model: string;
836
+ width_context: string;
837
+ }): Promise<any>;
838
+ };
839
+
840
+ declare const ModelService: {
841
+ getListMyBankAccount({ domain, spectification, model, }: {
842
+ domain: any;
843
+ spectification: any;
844
+ model: string;
845
+ }): Promise<any>;
846
+ getCurrency(): Promise<any>;
847
+ getConversionRate(): Promise<any>;
848
+ getAll({ data }: {
849
+ data: any;
850
+ }): Promise<any>;
851
+ getListCalendar({ data }: {
852
+ data: any;
853
+ }): Promise<any>;
854
+ getList({ model, ids, specification, domain, offset, order, context, limit, }: GetListParams): Promise<any>;
855
+ getDetail({ ids, model, specification, context, }: GetDetailParams): Promise<any>;
856
+ save({ model, ids, data, specification, context, path, }: SaveParams): Promise<any>;
857
+ delete({ ids, model }: DeleteParams): Promise<any>;
858
+ onChange({ ids, model, object, specification, context, fieldChange, }: OnChangeParams): Promise<any>;
859
+ getListFieldsOnchange({ model }: {
860
+ model: string;
861
+ }): Promise<any>;
862
+ parseORMOdoo(data: Record<string, any>): Record<string, any>;
863
+ toDataJS(data: Record<string, any>, viewData?: ViewData, model?: string): Record<string, any>;
864
+ };
865
+
866
+ declare const UserService: {
867
+ getProfile(path?: string): Promise<any>;
868
+ getUser({ context, id }: {
869
+ context: any;
870
+ id: any;
871
+ }): Promise<any>;
872
+ switchUserLocale: ({ id, values }: any) => Promise<any>;
873
+ };
874
+
875
+ declare const ViewService: {
876
+ getView({ model, views, context, options, aid, }: GetViewParams): Promise<any>;
877
+ getMenu(context: any): Promise<any>;
878
+ getActionDetail(aid: number, context: any): Promise<any>;
879
+ getResequence({ model, ids, context, offset, }: {
880
+ model: string;
881
+ ids: any;
882
+ context: any;
883
+ offset: any;
884
+ }): Promise<any>;
885
+ getSelectionItem({ data }: {
886
+ data: GetSelectionType;
887
+ }): Promise<any>;
888
+ loadMessages(): Promise<any>;
889
+ getVersion(): Promise<any>;
890
+ get2FAMethods({ method, with_context, }: {
891
+ method: string;
892
+ with_context: any;
893
+ }): Promise<any>;
894
+ verify2FA({ method, with_context, code, device, location, }: {
895
+ method: string;
896
+ with_context: any;
897
+ code: string;
898
+ device: string;
899
+ location: string;
900
+ }): Promise<any>;
901
+ signInSSO({ redirect_uri, state, client_id, response_type, path, }: {
902
+ redirect_uri: string;
903
+ state: string;
904
+ client_id: string;
905
+ response_type: string;
906
+ path: string;
907
+ }): Promise<any>;
908
+ grantAccess({ redirect_uri, state, client_id, scopes, }: {
909
+ redirect_uri: string;
910
+ state: string;
911
+ client_id: string;
912
+ scopes: string[];
913
+ }): Promise<any>;
914
+ getFieldsViewSecurity({ method, token, views, }: {
915
+ method: string;
916
+ token: string;
917
+ views: any;
918
+ }): Promise<any>;
919
+ settingsWebRead2fa({ method, model, kwargs, token, }: {
920
+ method: string;
921
+ token: string;
922
+ kwargs: any;
923
+ model: string;
924
+ }): Promise<any>;
925
+ requestSetupTotp({ method, token }: {
926
+ method: string;
927
+ token: string;
928
+ }): Promise<any>;
929
+ verifyTotp({ method, action_token, code, }: {
930
+ method: string;
931
+ action_token: string;
932
+ code: string;
933
+ }): Promise<any>;
934
+ removeTotpSetUp({ method, token }: {
935
+ method: string;
936
+ token: string;
937
+ }): Promise<any>;
938
+ };
939
+
940
+ interface UserInfor {
941
+ address?: {
942
+ country?: boolean;
943
+ formatted?: string;
944
+ locality?: boolean;
945
+ postal_code?: boolean;
946
+ region?: boolean;
947
+ street_address?: boolean;
948
+ };
949
+ email?: string;
950
+ locale?: string;
951
+ name?: string;
952
+ partner_id?: {
953
+ id?: number;
954
+ stud_id?: boolean;
955
+ };
956
+ phone_number?: boolean;
957
+ sub?: number;
958
+ updated_at?: string;
959
+ username?: string;
960
+ website?: boolean;
961
+ zoneinfo?: string;
962
+ image?: string;
963
+ }
964
+ interface ProfileStateType {
965
+ profile: UserInfor;
966
+ }
967
+ declare const profileSlice: _reduxjs_toolkit.Slice<ProfileStateType, {
968
+ setProfile: (state: immer.WritableDraft<ProfileStateType>, action: {
969
+ payload: any;
970
+ type: string;
971
+ }) => void;
972
+ }, "profile", "profile", _reduxjs_toolkit.SliceSelectors<ProfileStateType>>;
973
+ declare const setProfile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "profile/setProfile">;
974
+ declare const selectProfile: (state: RootState) => ProfileStateType;
975
+
976
+ interface ExcelState {
977
+ dataParse: any | null;
978
+ idFile: any | null;
979
+ isFileLoaded: boolean;
980
+ loadingImport: any;
981
+ selectedFile: any;
982
+ errorData: any;
983
+ }
984
+ declare const excelSlice: _reduxjs_toolkit.Slice<ExcelState, {
985
+ setDataParse: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
986
+ setIdFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
987
+ setIsFileLoaded: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
988
+ setLoadingImport: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
989
+ setSelectedFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
990
+ setErrorData: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
991
+ }, "excel", "excel", _reduxjs_toolkit.SliceSelectors<ExcelState>>;
992
+ declare const setDataParse: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setDataParse">;
993
+ declare const setIdFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIdFile">;
994
+ declare const setIsFileLoaded: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIsFileLoaded">;
995
+ declare const setLoadingImport: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setLoadingImport">;
996
+ declare const setSelectedFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setSelectedFile">;
997
+ declare const setErrorData: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setErrorData">;
998
+ declare const selectExcel: (state: RootState) => ExcelState;
999
+
1000
+ interface LoginStateType {
1001
+ db: string;
1002
+ redirectTo: string;
1003
+ forgotPasswordUrl: string;
1004
+ }
1005
+ declare const loginSlice: _reduxjs_toolkit.Slice<LoginStateType, {
1006
+ setDb: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
1007
+ setRedirectTo: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
1008
+ setForgotPasswordUrl: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
1009
+ }, "login", "login", _reduxjs_toolkit.SliceSelectors<LoginStateType>>;
1010
+ declare const setDb: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setDb">;
1011
+ declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setRedirectTo">;
1012
+ declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setForgotPasswordUrl">;
1013
+ declare const selectLogin: (state: RootState) => LoginStateType;
1014
+
1015
+ interface Breadcrumb {
1016
+ title?: string;
1017
+ path?: string;
1018
+ view: 'list' | 'detail' | 'edit' | 'tree';
1019
+ aid: string | number;
1020
+ model: string;
1021
+ id: string | number;
1022
+ }
1023
+ interface BreadcrumbsState {
1024
+ breadCrumbs: Breadcrumb[];
1025
+ }
1026
+ declare const breadcrumbsSlice: _reduxjs_toolkit.Slice<BreadcrumbsState, {
1027
+ setBreadCrumbs: (state: BreadcrumbsState, action: PayloadAction<Breadcrumb>) => void;
1028
+ }, "breadcrumbs", "breadcrumbs", _reduxjs_toolkit.SliceSelectors<BreadcrumbsState>>;
1029
+ declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
1030
+ declare const selectBreadCrumbs: (state: RootState) => BreadcrumbsState;
1031
+
1032
+ interface ViewDataStore {
1033
+ [key: string]: any;
1034
+ }
1035
+ interface FormState {
1036
+ viewDataStore: ViewDataStore;
1037
+ isShowingModalDetail: boolean;
1038
+ isShowModalTranslate: boolean;
1039
+ formSubmitComponent: Record<string, React.ReactNode>;
1040
+ fieldTranslation: any;
1041
+ listSubject: any;
1042
+ dataUser: any;
1043
+ }
1044
+ declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
1045
+ setViewDataStore: (state: FormState, action: PayloadAction<ViewDataStore>) => void;
1046
+ setIsShowingModalDetail: (state: FormState, action: PayloadAction<boolean>) => void;
1047
+ setIsShowModalTranslate: (state: FormState, action: PayloadAction<boolean>) => void;
1048
+ setFormSubmitComponent: (state: immer.WritableDraft<FormState>, action: PayloadAction<{
1049
+ key: string;
1050
+ component: any;
1051
+ }>) => void;
1052
+ setFieldTranslate: (state: FormState, action: PayloadAction<any>) => void;
1053
+ setListSubject: (state: FormState, action: PayloadAction<any>) => void;
1054
+ setDataUser: (state: FormState, action: PayloadAction<any>) => void;
1055
+ }, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
1056
+ declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithPayload<ViewDataStore, "form/setViewDataStore">;
1057
+ declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowingModalDetail">;
1058
+ declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowModalTranslate">;
1059
+ declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithPayload<{
1060
+ key: string;
1061
+ component: any;
1062
+ }, "form/setFormSubmitComponent">;
1063
+ declare const setFieldTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setFieldTranslate">;
1064
+ declare const setListSubject: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setListSubject">;
1065
+ declare const setDataUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setDataUser">;
1066
+ declare const selectForm: (state: RootState) => FormState;
1067
+
1068
+ interface SearchState {
1069
+ groupByDomain: any;
1070
+ searchBy: any;
1071
+ searchString: string;
1072
+ hoveredIndexSearchList: any;
1073
+ selectedTags: [];
1074
+ firstDomain: any;
1075
+ searchMap: Record<string, any[]>;
1076
+ filterBy: any;
1077
+ groupBy: any;
1078
+ }
1079
+ declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
1080
+ setGroupByDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string | null>) => void;
1081
+ setSearchBy: (state: immer.WritableDraft<SearchState>, action: any) => void;
1082
+ setSearchString: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string>) => void;
1083
+ setHoveredIndexSearchList: (state: immer.WritableDraft<SearchState>, action: PayloadAction<number | null>) => void;
1084
+ setSelectedTags: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
1085
+ setFirstDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
1086
+ setFilterBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
1087
+ setGroupBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
1088
+ setSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<Record<string, any>>) => void;
1089
+ updateSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
1090
+ key: string;
1091
+ value: any;
1092
+ }>) => void;
1093
+ removeKeyFromSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
1094
+ key: string;
1095
+ item?: any;
1096
+ }>) => void;
1097
+ clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
1098
+ }, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
1099
+ declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
1100
+ declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
1101
+ declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
1102
+ declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
1103
+ declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
1104
+ declare const setSearchBy: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchBy"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setSearchBy">;
1105
+ declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
1106
+ declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
1107
+ declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
1108
+ key: string;
1109
+ value: any;
1110
+ }, "search/updateSearchMap">;
1111
+ declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
1112
+ key: string;
1113
+ item?: any;
1114
+ }, "search/removeKeyFromSearchMap">;
1115
+ declare const setGroupBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setGroupBy">;
1116
+ declare const clearSearchMap: _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/clearSearchMap">;
1117
+ declare const selectSearch: (state: RootState) => SearchState;
1118
+ declare const selectSearchMap: (state: RootState) => Record<string, any[]>;
1119
+
1120
+ interface ListState {
1121
+ pageLimit: number;
1122
+ fields: Record<string, any>;
1123
+ order: string | null;
1124
+ selectedRowKeys: number[];
1125
+ selectedRadioKey: any;
1126
+ indexRowTableModal: number;
1127
+ isUpdateTableModal: boolean;
1128
+ footerGroupTable: Record<string, any>;
1129
+ page: number;
1130
+ transferDetail?: any;
1131
+ domainTable?: any;
1132
+ }
1133
+ declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
1134
+ setPageLimit: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
1135
+ setFields: (state: immer.WritableDraft<ListState>, action: PayloadAction<Record<string, any>>) => void;
1136
+ setOrder: (state: immer.WritableDraft<ListState>, action: PayloadAction<string | null>) => void;
1137
+ setSelectedRowKeys: (state: immer.WritableDraft<ListState>, action: PayloadAction<number[]>) => void;
1138
+ setSelectedRadioKey: (state: immer.WritableDraft<ListState>, action: any) => void;
1139
+ setIndexRowTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
1140
+ setTransferDetail: (state: immer.WritableDraft<ListState>, action: any) => void;
1141
+ setIsUpdateTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<boolean>) => void;
1142
+ setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
1143
+ setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
1144
+ }, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
1145
+ declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPageLimit">;
1146
+ declare const setFields: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "list/setFields">;
1147
+ declare const setOrder: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "list/setOrder">;
1148
+ declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithPayload<number[], "list/setSelectedRowKeys">;
1149
+ declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setIndexRowTableModal">;
1150
+ declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "list/setIsUpdateTableModal">;
1151
+ declare const setPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPage">;
1152
+ declare const setSelectedRadioKey: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setSelectedRadioKey"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setSelectedRadioKey">;
1153
+ declare const setTransferDetail: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setTransferDetail"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setTransferDetail">;
1154
+ declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
1155
+ declare const selectList: (state: RootState) => ListState;
1156
+
1157
+ interface NavbarStateType {
1158
+ menuFocus: any;
1159
+ menuAction: any;
1160
+ navbarWidth: number;
1161
+ menuList: any;
1162
+ }
1163
+ declare const navbarSlice: _reduxjs_toolkit.Slice<NavbarStateType, {
1164
+ setMenuFocus: (state: immer.WritableDraft<NavbarStateType>, action: {
1165
+ payload: any;
1166
+ type: string;
1167
+ }) => void;
1168
+ setMenuFocusAction: (state: immer.WritableDraft<NavbarStateType>, action: {
1169
+ payload: any;
1170
+ type: string;
1171
+ }) => void;
1172
+ setNavbarWidth: (state: immer.WritableDraft<NavbarStateType>, action: {
1173
+ payload: any;
1174
+ type: string;
1175
+ }) => void;
1176
+ setMenuList: (state: immer.WritableDraft<NavbarStateType>, action: {
1177
+ payload: any;
1178
+ type: string;
1179
+ }) => void;
1180
+ }, "navbar", "navbar", _reduxjs_toolkit.SliceSelectors<NavbarStateType>>;
1181
+ declare const setMenuFocus: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocus">;
1182
+ declare const setMenuFocusAction: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocusAction">;
1183
+ declare const setNavbarWidth: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setNavbarWidth">;
1184
+ declare const setMenuList: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuList">;
1185
+ declare const selectNavbar: (state: RootState) => NavbarStateType;
1186
+
1187
+ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
1188
+ env: {
1189
+ baseUrl: string;
1190
+ requests: null;
1191
+ companies: never[];
1192
+ user: {};
1193
+ config: null;
1194
+ envFile: null;
1195
+ defaultCompany: {
1196
+ id: null;
1197
+ logo: string;
1198
+ secondary_color: string;
1199
+ primary_color: string;
1200
+ };
1201
+ context: {
1202
+ uid: null;
1203
+ allowed_company_ids: never[];
1204
+ lang: string;
1205
+ tz: string;
1206
+ };
1207
+ };
1208
+ header: {
1209
+ value: {
1210
+ allowedCompanyIds: never[];
1211
+ };
1212
+ };
1213
+ navbar: NavbarStateType;
1214
+ list: ListState;
1215
+ search: SearchState;
1216
+ form: FormState;
1217
+ breadcrumbs: BreadcrumbsState;
1218
+ login: LoginStateType;
1219
+ excel: ExcelState;
1220
+ profile: ProfileStateType;
1221
+ }, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
1222
+ dispatch: redux_thunk.ThunkDispatch<{
1223
+ env: {
1224
+ baseUrl: string;
1225
+ requests: null;
1226
+ companies: never[];
1227
+ user: {};
1228
+ config: null;
1229
+ envFile: null;
1230
+ defaultCompany: {
1231
+ id: null;
1232
+ logo: string;
1233
+ secondary_color: string;
1234
+ primary_color: string;
1235
+ };
1236
+ context: {
1237
+ uid: null;
1238
+ allowed_company_ids: never[];
1239
+ lang: string;
1240
+ tz: string;
1241
+ };
1242
+ };
1243
+ header: {
1244
+ value: {
1245
+ allowedCompanyIds: never[];
1246
+ };
1247
+ };
1248
+ navbar: NavbarStateType;
1249
+ list: ListState;
1250
+ search: SearchState;
1251
+ form: FormState;
1252
+ breadcrumbs: BreadcrumbsState;
1253
+ login: LoginStateType;
1254
+ excel: ExcelState;
1255
+ profile: ProfileStateType;
1256
+ }, undefined, redux.UnknownAction>;
1257
+ }>, redux.StoreEnhancer]>>;
1258
+
1259
+ declare const envSlice: _reduxjs_toolkit.Slice<{
1260
+ baseUrl: string;
1261
+ requests: null;
1262
+ companies: never[];
1263
+ user: {};
1264
+ config: null;
1265
+ envFile: null;
1266
+ defaultCompany: {
1267
+ id: null;
1268
+ logo: string;
1269
+ secondary_color: string;
1270
+ primary_color: string;
1271
+ };
1272
+ context: {
1273
+ uid: null;
1274
+ allowed_company_ids: never[];
1275
+ lang: string;
1276
+ tz: string;
1277
+ };
1278
+ }, {
1279
+ setEnv: (state: immer.WritableDraft<{
1280
+ baseUrl: string;
1281
+ requests: null;
1282
+ companies: never[];
1283
+ user: {};
1284
+ config: null;
1285
+ envFile: null;
1286
+ defaultCompany: {
1287
+ id: null;
1288
+ logo: string;
1289
+ secondary_color: string;
1290
+ primary_color: string;
1291
+ };
1292
+ context: {
1293
+ uid: null;
1294
+ allowed_company_ids: never[];
1295
+ lang: string;
1296
+ tz: string;
1297
+ };
1298
+ }>, action: {
1299
+ payload: any;
1300
+ type: string;
1301
+ }) => void;
1302
+ setUid: (state: immer.WritableDraft<{
1303
+ baseUrl: string;
1304
+ requests: null;
1305
+ companies: never[];
1306
+ user: {};
1307
+ config: null;
1308
+ envFile: null;
1309
+ defaultCompany: {
1310
+ id: null;
1311
+ logo: string;
1312
+ secondary_color: string;
1313
+ primary_color: string;
1314
+ };
1315
+ context: {
1316
+ uid: null;
1317
+ allowed_company_ids: never[];
1318
+ lang: string;
1319
+ tz: string;
1320
+ };
1321
+ }>, action: {
1322
+ payload: any;
1323
+ type: string;
1324
+ }) => void;
1325
+ setAllowCompanies: (state: immer.WritableDraft<{
1326
+ baseUrl: string;
1327
+ requests: null;
1328
+ companies: never[];
1329
+ user: {};
1330
+ config: null;
1331
+ envFile: null;
1332
+ defaultCompany: {
1333
+ id: null;
1334
+ logo: string;
1335
+ secondary_color: string;
1336
+ primary_color: string;
1337
+ };
1338
+ context: {
1339
+ uid: null;
1340
+ allowed_company_ids: never[];
1341
+ lang: string;
1342
+ tz: string;
1343
+ };
1344
+ }>, action: {
1345
+ payload: any;
1346
+ type: string;
1347
+ }) => void;
1348
+ setCompanies: (state: immer.WritableDraft<{
1349
+ baseUrl: string;
1350
+ requests: null;
1351
+ companies: never[];
1352
+ user: {};
1353
+ config: null;
1354
+ envFile: null;
1355
+ defaultCompany: {
1356
+ id: null;
1357
+ logo: string;
1358
+ secondary_color: string;
1359
+ primary_color: string;
1360
+ };
1361
+ context: {
1362
+ uid: null;
1363
+ allowed_company_ids: never[];
1364
+ lang: string;
1365
+ tz: string;
1366
+ };
1367
+ }>, action: {
1368
+ payload: any;
1369
+ type: string;
1370
+ }) => void;
1371
+ setDefaultCompany: (state: immer.WritableDraft<{
1372
+ baseUrl: string;
1373
+ requests: null;
1374
+ companies: never[];
1375
+ user: {};
1376
+ config: null;
1377
+ envFile: null;
1378
+ defaultCompany: {
1379
+ id: null;
1380
+ logo: string;
1381
+ secondary_color: string;
1382
+ primary_color: string;
1383
+ };
1384
+ context: {
1385
+ uid: null;
1386
+ allowed_company_ids: never[];
1387
+ lang: string;
1388
+ tz: string;
1389
+ };
1390
+ }>, action: {
1391
+ payload: any;
1392
+ type: string;
1393
+ }) => void;
1394
+ setLang: (state: immer.WritableDraft<{
1395
+ baseUrl: string;
1396
+ requests: null;
1397
+ companies: never[];
1398
+ user: {};
1399
+ config: null;
1400
+ envFile: null;
1401
+ defaultCompany: {
1402
+ id: null;
1403
+ logo: string;
1404
+ secondary_color: string;
1405
+ primary_color: string;
1406
+ };
1407
+ context: {
1408
+ uid: null;
1409
+ allowed_company_ids: never[];
1410
+ lang: string;
1411
+ tz: string;
1412
+ };
1413
+ }>, action: {
1414
+ payload: any;
1415
+ type: string;
1416
+ }) => void;
1417
+ setUser: (state: immer.WritableDraft<{
1418
+ baseUrl: string;
1419
+ requests: null;
1420
+ companies: never[];
1421
+ user: {};
1422
+ config: null;
1423
+ envFile: null;
1424
+ defaultCompany: {
1425
+ id: null;
1426
+ logo: string;
1427
+ secondary_color: string;
1428
+ primary_color: string;
1429
+ };
1430
+ context: {
1431
+ uid: null;
1432
+ allowed_company_ids: never[];
1433
+ lang: string;
1434
+ tz: string;
1435
+ };
1436
+ }>, action: {
1437
+ payload: any;
1438
+ type: string;
1439
+ }) => void;
1440
+ setConfig: (state: immer.WritableDraft<{
1441
+ baseUrl: string;
1442
+ requests: null;
1443
+ companies: never[];
1444
+ user: {};
1445
+ config: null;
1446
+ envFile: null;
1447
+ defaultCompany: {
1448
+ id: null;
1449
+ logo: string;
1450
+ secondary_color: string;
1451
+ primary_color: string;
1452
+ };
1453
+ context: {
1454
+ uid: null;
1455
+ allowed_company_ids: never[];
1456
+ lang: string;
1457
+ tz: string;
1458
+ };
1459
+ }>, action: {
1460
+ payload: any;
1461
+ type: string;
1462
+ }) => void;
1463
+ setEnvFile: (state: immer.WritableDraft<{
1464
+ baseUrl: string;
1465
+ requests: null;
1466
+ companies: never[];
1467
+ user: {};
1468
+ config: null;
1469
+ envFile: null;
1470
+ defaultCompany: {
1471
+ id: null;
1472
+ logo: string;
1473
+ secondary_color: string;
1474
+ primary_color: string;
1475
+ };
1476
+ context: {
1477
+ uid: null;
1478
+ allowed_company_ids: never[];
1479
+ lang: string;
1480
+ tz: string;
1481
+ };
1482
+ }>, action: {
1483
+ payload: any;
1484
+ type: string;
1485
+ }) => void;
1486
+ }, "env", "env", _reduxjs_toolkit.SliceSelectors<{
1487
+ baseUrl: string;
1488
+ requests: null;
1489
+ companies: never[];
1490
+ user: {};
1491
+ config: null;
1492
+ envFile: null;
1493
+ defaultCompany: {
1494
+ id: null;
1495
+ logo: string;
1496
+ secondary_color: string;
1497
+ primary_color: string;
1498
+ };
1499
+ context: {
1500
+ uid: null;
1501
+ allowed_company_ids: never[];
1502
+ lang: string;
1503
+ tz: string;
1504
+ };
1505
+ }>>;
1506
+ declare const setEnv: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnv">;
1507
+ declare const setUid: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUid">;
1508
+ declare const setLang: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setLang">;
1509
+ declare const setAllowCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setAllowCompanies">;
1510
+ declare const setCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setCompanies">;
1511
+ declare const setDefaultCompany: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setDefaultCompany">;
1512
+ declare const setUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUser">;
1513
+ declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setConfig">;
1514
+ declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
1515
+ declare const selectEnv: (state: RootState) => {
1516
+ baseUrl: string;
1517
+ requests: null;
1518
+ companies: never[];
1519
+ user: {};
1520
+ config: null;
1521
+ envFile: null;
1522
+ defaultCompany: {
1523
+ id: null;
1524
+ logo: string;
1525
+ secondary_color: string;
1526
+ primary_color: string;
1527
+ };
1528
+ context: {
1529
+ uid: null;
1530
+ allowed_company_ids: never[];
1531
+ lang: string;
1532
+ tz: string;
1533
+ };
1534
+ };
1535
+
1536
+ declare const headerSlice: _reduxjs_toolkit.Slice<{
1537
+ value: {
1538
+ allowedCompanyIds: never[];
1539
+ };
1540
+ }, {
1541
+ setHeader: (state: immer.WritableDraft<{
1542
+ value: {
1543
+ allowedCompanyIds: never[];
1544
+ };
1545
+ }>, action: {
1546
+ payload: any;
1547
+ type: string;
1548
+ }) => void;
1549
+ setAllowedCompanyIds: (state: immer.WritableDraft<{
1550
+ value: {
1551
+ allowedCompanyIds: never[];
1552
+ };
1553
+ }>, action: {
1554
+ payload: any;
1555
+ type: string;
1556
+ }) => void;
1557
+ }, "header", "header", _reduxjs_toolkit.SliceSelectors<{
1558
+ value: {
1559
+ allowedCompanyIds: never[];
1560
+ };
1561
+ }>>;
1562
+ declare const setAllowedCompanyIds: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setAllowedCompanyIds">;
1563
+ declare const setHeader: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setHeader">;
1564
+ declare const selectHeader: (state: RootState) => {
1565
+ value: {
1566
+ allowedCompanyIds: never[];
1567
+ };
1568
+ };
1569
+
1570
+ type RootState = ReturnType<typeof envStore.getState>;
1571
+ type AppDispatch = typeof envStore.dispatch;
1572
+ declare const useAppDispatch: () => AppDispatch;
1573
+ declare const useAppSelector: TypedUseSelectorHook<RootState>;
1574
+
1575
+ declare class WesapError extends Error {
1576
+ code: number;
1577
+ constructor(message: string, code: number);
1578
+ }
1579
+ declare function handleError(error: Error, env: {
1580
+ services: {
1581
+ notification: {
1582
+ error: (message: string) => void;
1583
+ };
1584
+ };
1585
+ }): void;
1586
+
1587
+ declare const formatCurrency: (amount: number, currency?: string) => string;
1588
+ declare const formatDate: (date: string | Date, locale?: string) => string;
1589
+ declare const validateAndParseDate: (input: string, isDateTime?: boolean) => string | null;
1590
+
1591
+ type AST = {
1592
+ type: number;
1593
+ value: any;
1594
+ };
1595
+ type Condition = [string | 0 | 1, string, any];
1596
+ type DomainListRepr = ('&' | '|' | '!' | Condition)[];
1597
+ type DomainRepr = DomainListRepr | string | Domain;
1598
+ declare class Domain {
1599
+ ast: AST;
1600
+ static TRUE: Domain;
1601
+ static FALSE: Domain;
1602
+ static combine(domains: DomainRepr[], operator: 'AND' | 'OR'): Domain;
1603
+ static and(domains: DomainRepr[]): Domain;
1604
+ static or(domains: DomainRepr[]): Domain;
1605
+ static not(domain: DomainRepr): Domain;
1606
+ static removeDomainLeaves(domain: DomainRepr, keysToRemove: string[]): Domain;
1607
+ constructor(descr?: DomainRepr);
1608
+ contains(record: any): boolean;
1609
+ toString(): string;
1610
+ toList(context: Record<string, any>): DomainListRepr;
1611
+ toJson(): DomainListRepr | string;
1612
+ }
1613
+
1614
+ declare const evalJSONContext: (_context: any, context?: {}) => any;
1615
+ declare const evalJSONDomain: (domain: any, context: any) => any;
1616
+ declare const formatSortingString: (input: string | null | undefined) => string | null;
1617
+ declare const domainHelper: {
1618
+ checkDomain: (context: any, domain: any) => boolean;
1619
+ matchDomains: (context: any, domains: any) => boolean;
1620
+ Domain: typeof Domain;
1621
+ };
1622
+ declare const toQueryString: (params: Record<string, string | number | boolean>) => string;
1623
+ declare const convertFloatToTime: (floatValue: number) => string;
1624
+ declare const convertTimeToFloat: (timeString: string) => number;
1625
+ declare const stringToColor: (name: string, id: number) => string;
1626
+ declare const getFieldsOnChange: (fields: any) => any;
1627
+ declare const filterFieldDirty: ({ id, viewData, formValues, dirtyFields, model, defaultData, }: {
1628
+ id?: any;
1629
+ viewData?: any;
1630
+ formValues?: any;
1631
+ dirtyFields?: any;
1632
+ model?: any;
1633
+ defaultData?: any;
1634
+ }) => any;
1635
+ type MergeableObject = {
1636
+ [key: string]: any;
1637
+ } | null | undefined;
1638
+ declare const mergeObjects: <T extends MergeableObject, U extends MergeableObject>(object1: T, object2: U) => (T & U) | undefined;
1639
+ declare const formatUrlPath: ({ viewType, aid, model, id, actionPath, }: {
1640
+ viewType: "list" | "form" | "kanban" | any;
1641
+ actionPath: string;
1642
+ aid: string | number;
1643
+ model: string;
1644
+ id?: string | number;
1645
+ }) => string;
1646
+ declare const removeUndefinedFields: <T extends Record<string, any>>(obj: T) => Partial<T>;
1647
+ declare const useTabModel: (viewData: any, onchangeData: any) => any;
1648
+ declare const isBase64File: (str: any) => boolean;
1649
+ declare const isBase64Image: (str: any) => boolean;
1650
+ declare const checkIsImageLink: (url: any) => boolean;
1651
+ declare const formatFileSize: (size: any) => string;
1652
+ declare const getSubdomain: (url?: string) => string | null;
1653
+ declare const resequence: (arr: any, start: any, end: any) => any;
1654
+ declare const getOffSet: (arr: any, start: any, end: any) => any;
1655
+ declare const copyTextToClipboard: (text: string) => Promise<void>;
1656
+ declare const updateTokenParamInOriginalRequest: (originalRequest: {
1657
+ data?: any;
1658
+ }, newAccessToken: string) => any;
1659
+ declare const isObjectEmpty: (obj: object) => boolean;
1660
+ declare const useField: (props: any) => {
1661
+ invisible: boolean;
1662
+ required: boolean;
1663
+ readonly: boolean;
1664
+ nameField: string | null;
1665
+ };
1666
+
1667
+ interface Config {
1668
+ baseUrl: string;
1669
+ grantType: string;
1670
+ clientId: string;
1671
+ clientSecret: string;
1672
+ }
1673
+
1674
+ interface Context {
1675
+ uid: number;
1676
+ lang: string;
1677
+ allowCompanys: number[];
1678
+ [key: string]: any;
1679
+ }
1680
+
1681
+ export { ActionService, type AppDispatch, AuthService, type BreadcrumbsState, CompanyService, ComponentType, type Config, type Context, type ContextApi, type DeleteParams, EnvStore, ExcelService, type ExcelState, FieldTypeConstants, type ForgotPasswordBody, FormService, type FormState, type GetAllParams, type GetDetailParams, type GetListParams, type GetSelectionType, type GetViewParams, KanbanServices as KanbanService, KeyConstants, type ListState, type LoginCredentialBody, type LoginStateType, MainProvider, MethodConstants, MethodType, ModelConstants, ModelService, type NavbarStateType, type OnChangeParams, type ProfileStateType, ReactQueryProvider, type ResetPasswordRequest, type RootState, type SaveParams, type SearchState, SearchType, type SocialTokenBody, type Specification, type UpdatePasswordRequest, UriConstants, type UserInfor, UserService, VersionGate, type View, type ViewData, type ViewDataStore, ViewService, WIDGETAVATAR, WIDGETCOLOR, WIDGETCURRENCY, WIDGETNOSTRING, WIDGETSTATUS, WesapError, axiosClient, breadcrumbsSlice, checkIsImageLink, clearSearchMap, convertFloatToTime, convertTimeToFloat, copyTextToClipboard, domainHelper, env, envSlice, envStore, evalJSONContext, evalJSONDomain, excelSlice, filterFieldDirty, formSlice, formatCurrency, formatDate, formatFileSize, formatSortingString, formatUrlPath, getEnv, getFieldsOnChange, getOffSet, getSubdomain, handleError, headerSlice, initEnv, isBase64File, isBase64Image, isObjectEmpty, listSlice, loginSlice, mergeObjects, navbarSlice, profileSlice, removeKeyFromSearchMap, removeUndefinedFields, resequence, searchSlice, selectBreadCrumbs, selectEnv, selectExcel, selectForm, selectHeader, selectList, selectLogin, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setAllowedCompanyIds, setBreadCrumbs, setCompanies, setConfig, setDataParse, setDataUser, setDb, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setForgotPasswordUrl, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHeader, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setIsUpdateTableModal, setLang, setListSubject, setLoadingImport, setMenuFocus, setMenuFocusAction, setMenuList, setNavbarWidth, setOrder, setPage, setPageLimit, setProfile, setRedirectTo, setSearchBy, setSearchMap, setSearchString, setSelectedFile, setSelectedRadioKey, setSelectedRowKeys, setSelectedTags, setTransferDetail, setUid, setUser, setViewDataStore, stringToColor, toQueryString, type updatePasswordBody, updateSearchMap, updateTokenParamInOriginalRequest, useAppDispatch, useAppSelector, useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useField, useForgotPassword, useForgotPasswordSSO, useGet2FAMethods, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFieldsViewSecurity, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetPrintReport, useGetProGressBar, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetUser, useGetView, useGrantAccess, useIsValidToken, useLoadAction, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useTabModel, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp, validateAndParseDate };