@fctc/edu-logic-lib 1.0.4 → 1.0.6

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.
package/dist/index.d.mts CHANGED
@@ -163,6 +163,13 @@ declare function getEnv(): EnvStore;
163
163
 
164
164
  declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
165
165
 
166
+ type ProviderPropsType = {
167
+ db: string;
168
+ };
169
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
170
+
171
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
172
+
166
173
  interface Specification {
167
174
  [key: string]: any;
168
175
  }
@@ -288,11 +295,133 @@ interface GetViewParams {
288
295
  aid?: number | string | null | boolean;
289
296
  }
290
297
 
298
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
299
+
300
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
301
+
302
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
303
+
304
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
305
+
306
+ declare const useField: (props: any) => {
307
+ invisible: boolean;
308
+ required: boolean;
309
+ readonly: boolean;
310
+ nameField: string | null;
311
+ };
312
+
313
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
314
+
315
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
316
+
317
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
318
+ data: any;
319
+ }, unknown>;
320
+
321
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
322
+ data: any;
323
+ }, unknown>;
324
+
325
+ declare const useGetComment: ({ data, queryKey }: {
326
+ data: any;
327
+ queryKey: any;
328
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
329
+
291
330
  type TFormView = {
292
331
  model: string;
293
332
  id?: number | null;
294
333
  context?: any;
295
334
  };
335
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
336
+ data: TFormView;
337
+ queryKey?: any;
338
+ enabled?: any;
339
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
340
+
341
+ declare const useGetImage: ({ data, queryKey, src, }: {
342
+ data: any;
343
+ queryKey: any;
344
+ src: any;
345
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
346
+
347
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
348
+ data: any;
349
+ }, unknown>;
350
+
351
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
352
+ data: any;
353
+ }, unknown>;
354
+
355
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
356
+ model: string;
357
+ domain: any;
358
+ ids: any;
359
+ fields: any;
360
+ type: any;
361
+ importCompat: any;
362
+ context: any;
363
+ groupby: any;
364
+ }, unknown>;
365
+
366
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
367
+ ids: any;
368
+ model: string;
369
+ isShow?: boolean;
370
+ parentField?: any;
371
+ fieldType?: any;
372
+ parentName?: any;
373
+ prefix?: any;
374
+ name?: any;
375
+ context: any;
376
+ importCompat?: any;
377
+ }, unknown>;
378
+
379
+ declare const useGetFileExcel: ({ model, context, }: {
380
+ model: string;
381
+ context: any;
382
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
383
+
384
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
385
+ id: any;
386
+ selectedSheet: any;
387
+ isHeader: boolean;
388
+ context: any;
389
+ }, unknown>;
390
+
391
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
392
+ formData: any;
393
+ }, unknown>;
394
+
395
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
396
+ formData: any;
397
+ }, unknown>;
398
+
399
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
400
+ fields: any;
401
+ columns: any;
402
+ idFile: any;
403
+ options: any;
404
+ dryrun: any;
405
+ context: any;
406
+ }, unknown>;
407
+
408
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
409
+ ids: any;
410
+ model: string;
411
+ }, unknown>;
412
+
413
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
414
+
415
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
416
+ model?: string;
417
+ ids: any;
418
+ specification?: any;
419
+ context?: any;
420
+ }, unknown>;
421
+
422
+ declare const useGetFieldOnChange: ({ model }: {
423
+ model: string;
424
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
296
425
 
297
426
  interface BaseModelInit {
298
427
  name: string;
@@ -312,12 +441,101 @@ declare class BaseModel {
312
441
  getSpecification(): Record<string, any>;
313
442
  }
314
443
 
444
+ declare const useModel: () => {
445
+ initModel: (modelData: BaseModelInit) => BaseModel;
446
+ };
447
+
448
+ declare const useOdooDataTransform: () => {
449
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => Record<string, any>;
450
+ parseORM: (data: Record<string, any>) => Record<string, any>;
451
+ };
452
+
453
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
454
+ ids: any;
455
+ model: string;
456
+ specification: any;
457
+ context: any;
458
+ object: any;
459
+ fieldChange?: any;
460
+ }, unknown>;
461
+
462
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
463
+ ids: any;
464
+ model: string;
465
+ data: any;
466
+ specification?: any;
467
+ context: any;
468
+ }, unknown>;
469
+
470
+ declare const useGetProfile: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
471
+
472
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
473
+ id: any;
474
+ context: ContextApi;
475
+ }, unknown>;
476
+
477
+ type SwitchUserLocaleParams = {
478
+ data: {
479
+ id: number;
480
+ values: any;
481
+ };
482
+ };
483
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
484
+
485
+ declare const useButton: () => _tanstack_react_query.UseMutationResult<any, Error, {
486
+ model: string;
487
+ ids: Record<string, any>[] | any;
488
+ context: ContextApi;
489
+ method: any;
490
+ }, unknown>;
491
+
492
+ declare const useDuplicateRecord: () => _tanstack_react_query.UseMutationResult<any, Error, {
493
+ id: any;
494
+ model: string;
495
+ context: ContextApi;
496
+ }, unknown>;
497
+
498
+ declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
499
+
500
+ interface UseGetMenuParams {
501
+ context: any;
502
+ enabled?: boolean;
503
+ queryKey?: any;
504
+ }
505
+ declare const useGetMenu: ({ context, enabled, queryKey }: UseGetMenuParams) => _tanstack_react_query.UseQueryResult<any, Error>;
506
+
315
507
  type GetSelectionType = {
316
508
  domain: any;
317
509
  context: any;
318
510
  model: string;
319
511
  specification?: any;
320
512
  };
513
+ declare const useGetSelection: ({ data, queryKey, enabled, }: {
514
+ data: GetSelectionType;
515
+ queryKey: any[];
516
+ enabled?: boolean;
517
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
518
+
519
+ declare const useGetView: (viewParams: GetViewParams, actData?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
520
+
521
+ declare const useLoadAction: ({ idAction, context, }: {
522
+ idAction: any;
523
+ context: ContextApi;
524
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
525
+
526
+ declare const usePrint: () => _tanstack_react_query.UseMutationResult<any, Error, {
527
+ id: number;
528
+ report: any;
529
+ db: any;
530
+ }, unknown>;
531
+
532
+ declare const useRemoveRow: () => _tanstack_react_query.UseMutationResult<any, Error, {
533
+ model: string;
534
+ ids: Record<string, any>[] | any;
535
+ context: ContextApi;
536
+ }, unknown>;
537
+
538
+ declare const useRunAction: ({ idAction, context }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
321
539
 
322
540
  declare const MainProvider: ({ children }: {
323
541
  children: ReactNode;
@@ -1073,4 +1291,4 @@ declare const axiosClient: {
1073
1291
  };
1074
1292
  };
1075
1293
 
1076
- export { ActionService, type AppDispatch, AuthService, BaseModel, type BaseModelInit$1 as BaseModelInit, CompanyModel, CompanyService, ComponentType, type Config, type Context, type ContextApi, type DeleteParams, EnvStore, ExcelService, FieldTypeConstants, type ForgotPasswordBody, FormService, type GetAllParams, type GetDetailParams, type GetListParams, type GetViewParams, KeyConstants, type LoginCredentialBody, MainProvider, MethodConstants, MethodType, ModelConstants, ModelService, type OnChangeParams, ReactQueryProvider, type ResetPasswordRequest, type RootState, type SaveParams, SearchType, type SocialTokenBody, type Specification, type UpdatePasswordRequest, UriConstants, UserModel, UserService, VersionGate, type View, type ViewData, ViewService, WIDGETAVATAR, WIDGETCOLOR, WIDGETNOSTRING, WIDGETSTATUS, axiosClient, checkIsImageLink, clearSearchMap, domainHelper, env, envSlice, envStore, evalJSONContext, evalJSONDomain, excelSlice, formSlice, formatFileSize, formatSortingString, formatUrlPath, getEnv, getFieldsOnChange, getSubdomain, initEnv, isBase64File, isBase64Image, listSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, removeUndefinedFields, searchSlice, selectEnv, selectExcel, selectForm, selectList, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setCompanies, setDataParse, setDataUser, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setLang, setListSubject, setLoadingImport, setMenuList, setModelSearch, setOrder, setPage, setPageLimit, setProfile, setSearchMap, setSearchString, setSelectedFile, setSelectedRowKeys, setSelectedTags, setTableHead, setTypeFieldsSearch, setUid, setUser, setViewDataStore, stringToColor, toQueryString, type updatePasswordBody, updateSearchMap, useAppDispatch, useAppSelector, useForgotPassword, useTabModel };
1294
+ export { ActionService, type AppDispatch, AuthService, BaseModel, type BaseModelInit$1 as BaseModelInit, CompanyModel, CompanyService, ComponentType, type Config, type Context, type ContextApi, type DeleteParams, EnvStore, ExcelService, FieldTypeConstants, type ForgotPasswordBody, FormService, type GetAllParams, type GetDetailParams, type GetListParams, type GetViewParams, KeyConstants, type LoginCredentialBody, MainProvider, MethodConstants, MethodType, ModelConstants, ModelService, type OnChangeParams, ReactQueryProvider, type ResetPasswordRequest, type RootState, type SaveParams, SearchType, type SocialTokenBody, type Specification, type UpdatePasswordRequest, UriConstants, UserModel, UserService, VersionGate, type View, type ViewData, ViewService, WIDGETAVATAR, WIDGETCOLOR, WIDGETNOSTRING, WIDGETSTATUS, axiosClient, checkIsImageLink, clearSearchMap, domainHelper, env, envSlice, envStore, evalJSONContext, evalJSONDomain, excelSlice, formSlice, formatFileSize, formatSortingString, formatUrlPath, getEnv, getFieldsOnChange, getSubdomain, initEnv, isBase64File, isBase64Image, listSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, removeUndefinedFields, searchSlice, selectEnv, selectExcel, selectForm, selectList, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setCompanies, setDataParse, setDataUser, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setLang, setListSubject, setLoadingImport, setMenuList, setModelSearch, setOrder, setPage, setPageLimit, setProfile, setSearchMap, setSearchString, setSelectedFile, setSelectedRowKeys, setSelectedTags, setTableHead, setTypeFieldsSearch, setUid, setUser, setViewDataStore, stringToColor, toQueryString, type updatePasswordBody, updateSearchMap, useAppDispatch, useAppSelector, useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useField, useForgotPassword, useGetAll, useGetComment, useGetCompanyInfo, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetImage, useGetListData, useGetMenu, useGetProfile, useGetProvider, useGetSelection, useGetUser, useGetView, useIsValidToken, useLoadAction, useLoginCredential, useLoginSocial, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useResetPassword, useRunAction, useSave, useSendComment, useSwitchLocale, useTabModel, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage };
package/dist/index.d.ts CHANGED
@@ -163,6 +163,13 @@ declare function getEnv(): EnvStore;
163
163
 
164
164
  declare const useForgotPassword: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
165
165
 
166
+ type ProviderPropsType = {
167
+ db: string;
168
+ };
169
+ declare const useGetProvider: () => _tanstack_react_query.UseMutationResult<any, Error, ProviderPropsType, unknown>;
170
+
171
+ declare const useIsValidToken: () => _tanstack_react_query.UseMutationResult<any, Error, string, unknown>;
172
+
166
173
  interface Specification {
167
174
  [key: string]: any;
168
175
  }
@@ -288,11 +295,133 @@ interface GetViewParams {
288
295
  aid?: number | string | null | boolean;
289
296
  }
290
297
 
298
+ declare const useLoginCredential: () => _tanstack_react_query.UseMutationResult<any, Error, LoginCredentialBody, unknown>;
299
+
300
+ declare const useLoginSocial: () => _tanstack_react_query.UseMutationResult<any, Error, SocialTokenBody, unknown>;
301
+
302
+ declare const useResetPassword: () => _tanstack_react_query.UseMutationResult<any, Error, ForgotPasswordBody, unknown>;
303
+
304
+ declare const useUpdatePassword: () => _tanstack_react_query.UseMutationResult<any, Error, updatePasswordBody, unknown>;
305
+
306
+ declare const useField: (props: any) => {
307
+ invisible: boolean;
308
+ required: boolean;
309
+ readonly: boolean;
310
+ nameField: string | null;
311
+ };
312
+
313
+ declare const useGetCompanyInfo: () => _tanstack_react_query.UseMutationResult<any, Error, number, unknown>;
314
+
315
+ declare const useGetCurrentCompany: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
316
+
317
+ declare const useChangeStatus: () => _tanstack_react_query.UseMutationResult<any, Error, {
318
+ data: any;
319
+ }, unknown>;
320
+
321
+ declare const useDeleteComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
322
+ data: any;
323
+ }, unknown>;
324
+
325
+ declare const useGetComment: ({ data, queryKey }: {
326
+ data: any;
327
+ queryKey: any;
328
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
329
+
291
330
  type TFormView = {
292
331
  model: string;
293
332
  id?: number | null;
294
333
  context?: any;
295
334
  };
335
+ declare const useGetFormView: ({ data, queryKey, enabled, }: {
336
+ data: TFormView;
337
+ queryKey?: any;
338
+ enabled?: any;
339
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
340
+
341
+ declare const useGetImage: ({ data, queryKey, src, }: {
342
+ data: any;
343
+ queryKey: any;
344
+ src: any;
345
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
346
+
347
+ declare const useSendComment: () => _tanstack_react_query.UseMutationResult<any, Error, {
348
+ data: any;
349
+ }, unknown>;
350
+
351
+ declare const useUploadImage: () => _tanstack_react_query.UseMutationResult<any, Error, {
352
+ data: any;
353
+ }, unknown>;
354
+
355
+ declare const useExportExcel: () => _tanstack_react_query.UseMutationResult<any, Error, {
356
+ model: string;
357
+ domain: any;
358
+ ids: any;
359
+ fields: any;
360
+ type: any;
361
+ importCompat: any;
362
+ context: any;
363
+ groupby: any;
364
+ }, unknown>;
365
+
366
+ declare const useGetFieldExport: () => _tanstack_react_query.UseMutationResult<any, Error, {
367
+ ids: any;
368
+ model: string;
369
+ isShow?: boolean;
370
+ parentField?: any;
371
+ fieldType?: any;
372
+ parentName?: any;
373
+ prefix?: any;
374
+ name?: any;
375
+ context: any;
376
+ importCompat?: any;
377
+ }, unknown>;
378
+
379
+ declare const useGetFileExcel: ({ model, context, }: {
380
+ model: string;
381
+ context: any;
382
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
383
+
384
+ declare const useParsePreview: () => _tanstack_react_query.UseMutationResult<any, Error, {
385
+ id: any;
386
+ selectedSheet: any;
387
+ isHeader: boolean;
388
+ context: any;
389
+ }, unknown>;
390
+
391
+ declare const useUploadFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
392
+ formData: any;
393
+ }, unknown>;
394
+
395
+ declare const useUploadIdFile: () => _tanstack_react_query.UseMutationResult<any, Error, {
396
+ formData: any;
397
+ }, unknown>;
398
+
399
+ declare const useExecuteImport: () => _tanstack_react_query.UseMutationResult<any, Error, {
400
+ fields: any;
401
+ columns: any;
402
+ idFile: any;
403
+ options: any;
404
+ dryrun: any;
405
+ context: any;
406
+ }, unknown>;
407
+
408
+ declare const useDelete: () => _tanstack_react_query.UseMutationResult<any, Error, {
409
+ ids: any;
410
+ model: string;
411
+ }, unknown>;
412
+
413
+ declare const useGetAll: ({ data, queryKey, viewResponse }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
414
+
415
+ declare const useGetDetail: () => _tanstack_react_query.UseMutationResult<any, Error, {
416
+ model?: string;
417
+ ids: any;
418
+ specification?: any;
419
+ context?: any;
420
+ }, unknown>;
421
+
422
+ declare const useGetFieldOnChange: ({ model }: {
423
+ model: string;
424
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
296
425
 
297
426
  interface BaseModelInit {
298
427
  name: string;
@@ -312,12 +441,101 @@ declare class BaseModel {
312
441
  getSpecification(): Record<string, any>;
313
442
  }
314
443
 
444
+ declare const useModel: () => {
445
+ initModel: (modelData: BaseModelInit) => BaseModel;
446
+ };
447
+
448
+ declare const useOdooDataTransform: () => {
449
+ toDataJS: (data: Record<string, any>, viewData?: ViewData, model?: string) => Record<string, any>;
450
+ parseORM: (data: Record<string, any>) => Record<string, any>;
451
+ };
452
+
453
+ declare const useOnChangeForm: () => _tanstack_react_query.UseMutationResult<any, Error, {
454
+ ids: any;
455
+ model: string;
456
+ specification: any;
457
+ context: any;
458
+ object: any;
459
+ fieldChange?: any;
460
+ }, unknown>;
461
+
462
+ declare const useSave: () => _tanstack_react_query.UseMutationResult<any, Error, {
463
+ ids: any;
464
+ model: string;
465
+ data: any;
466
+ specification?: any;
467
+ context: any;
468
+ }, unknown>;
469
+
470
+ declare const useGetProfile: () => _tanstack_react_query.UseMutationResult<any, Error, void, unknown>;
471
+
472
+ declare const useGetUser: () => _tanstack_react_query.UseMutationResult<any, Error, {
473
+ id: any;
474
+ context: ContextApi;
475
+ }, unknown>;
476
+
477
+ type SwitchUserLocaleParams = {
478
+ data: {
479
+ id: number;
480
+ values: any;
481
+ };
482
+ };
483
+ declare const useSwitchLocale: () => _tanstack_react_query.UseMutationResult<any, Error, SwitchUserLocaleParams, unknown>;
484
+
485
+ declare const useButton: () => _tanstack_react_query.UseMutationResult<any, Error, {
486
+ model: string;
487
+ ids: Record<string, any>[] | any;
488
+ context: ContextApi;
489
+ method: any;
490
+ }, unknown>;
491
+
492
+ declare const useDuplicateRecord: () => _tanstack_react_query.UseMutationResult<any, Error, {
493
+ id: any;
494
+ model: string;
495
+ context: ContextApi;
496
+ }, unknown>;
497
+
498
+ declare const useGetListData: (listDataProps: any, queryKey?: any, enabled?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
499
+
500
+ interface UseGetMenuParams {
501
+ context: any;
502
+ enabled?: boolean;
503
+ queryKey?: any;
504
+ }
505
+ declare const useGetMenu: ({ context, enabled, queryKey }: UseGetMenuParams) => _tanstack_react_query.UseQueryResult<any, Error>;
506
+
315
507
  type GetSelectionType = {
316
508
  domain: any;
317
509
  context: any;
318
510
  model: string;
319
511
  specification?: any;
320
512
  };
513
+ declare const useGetSelection: ({ data, queryKey, enabled, }: {
514
+ data: GetSelectionType;
515
+ queryKey: any[];
516
+ enabled?: boolean;
517
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
518
+
519
+ declare const useGetView: (viewParams: GetViewParams, actData?: any) => _tanstack_react_query.UseQueryResult<any, Error>;
520
+
521
+ declare const useLoadAction: ({ idAction, context, }: {
522
+ idAction: any;
523
+ context: ContextApi;
524
+ }) => _tanstack_react_query.UseQueryResult<any, Error>;
525
+
526
+ declare const usePrint: () => _tanstack_react_query.UseMutationResult<any, Error, {
527
+ id: number;
528
+ report: any;
529
+ db: any;
530
+ }, unknown>;
531
+
532
+ declare const useRemoveRow: () => _tanstack_react_query.UseMutationResult<any, Error, {
533
+ model: string;
534
+ ids: Record<string, any>[] | any;
535
+ context: ContextApi;
536
+ }, unknown>;
537
+
538
+ declare const useRunAction: ({ idAction, context }: any) => _tanstack_react_query.UseQueryResult<any, Error>;
321
539
 
322
540
  declare const MainProvider: ({ children }: {
323
541
  children: ReactNode;
@@ -1073,4 +1291,4 @@ declare const axiosClient: {
1073
1291
  };
1074
1292
  };
1075
1293
 
1076
- export { ActionService, type AppDispatch, AuthService, BaseModel, type BaseModelInit$1 as BaseModelInit, CompanyModel, CompanyService, ComponentType, type Config, type Context, type ContextApi, type DeleteParams, EnvStore, ExcelService, FieldTypeConstants, type ForgotPasswordBody, FormService, type GetAllParams, type GetDetailParams, type GetListParams, type GetViewParams, KeyConstants, type LoginCredentialBody, MainProvider, MethodConstants, MethodType, ModelConstants, ModelService, type OnChangeParams, ReactQueryProvider, type ResetPasswordRequest, type RootState, type SaveParams, SearchType, type SocialTokenBody, type Specification, type UpdatePasswordRequest, UriConstants, UserModel, UserService, VersionGate, type View, type ViewData, ViewService, WIDGETAVATAR, WIDGETCOLOR, WIDGETNOSTRING, WIDGETSTATUS, axiosClient, checkIsImageLink, clearSearchMap, domainHelper, env, envSlice, envStore, evalJSONContext, evalJSONDomain, excelSlice, formSlice, formatFileSize, formatSortingString, formatUrlPath, getEnv, getFieldsOnChange, getSubdomain, initEnv, isBase64File, isBase64Image, listSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, removeUndefinedFields, searchSlice, selectEnv, selectExcel, selectForm, selectList, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setCompanies, setDataParse, setDataUser, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setLang, setListSubject, setLoadingImport, setMenuList, setModelSearch, setOrder, setPage, setPageLimit, setProfile, setSearchMap, setSearchString, setSelectedFile, setSelectedRowKeys, setSelectedTags, setTableHead, setTypeFieldsSearch, setUid, setUser, setViewDataStore, stringToColor, toQueryString, type updatePasswordBody, updateSearchMap, useAppDispatch, useAppSelector, useForgotPassword, useTabModel };
1294
+ export { ActionService, type AppDispatch, AuthService, BaseModel, type BaseModelInit$1 as BaseModelInit, CompanyModel, CompanyService, ComponentType, type Config, type Context, type ContextApi, type DeleteParams, EnvStore, ExcelService, FieldTypeConstants, type ForgotPasswordBody, FormService, type GetAllParams, type GetDetailParams, type GetListParams, type GetViewParams, KeyConstants, type LoginCredentialBody, MainProvider, MethodConstants, MethodType, ModelConstants, ModelService, type OnChangeParams, ReactQueryProvider, type ResetPasswordRequest, type RootState, type SaveParams, SearchType, type SocialTokenBody, type Specification, type UpdatePasswordRequest, UriConstants, UserModel, UserService, VersionGate, type View, type ViewData, ViewService, WIDGETAVATAR, WIDGETCOLOR, WIDGETNOSTRING, WIDGETSTATUS, axiosClient, checkIsImageLink, clearSearchMap, domainHelper, env, envSlice, envStore, evalJSONContext, evalJSONDomain, excelSlice, formSlice, formatFileSize, formatSortingString, formatUrlPath, getEnv, getFieldsOnChange, getSubdomain, initEnv, isBase64File, isBase64Image, listSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, removeUndefinedFields, searchSlice, selectEnv, selectExcel, selectForm, selectList, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setCompanies, setDataParse, setDataUser, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setLang, setListSubject, setLoadingImport, setMenuList, setModelSearch, setOrder, setPage, setPageLimit, setProfile, setSearchMap, setSearchString, setSelectedFile, setSelectedRowKeys, setSelectedTags, setTableHead, setTypeFieldsSearch, setUid, setUser, setViewDataStore, stringToColor, toQueryString, type updatePasswordBody, updateSearchMap, useAppDispatch, useAppSelector, useButton, useChangeStatus, useDelete, useDeleteComment, useDuplicateRecord, useExecuteImport, useExportExcel, useField, useForgotPassword, useGetAll, useGetComment, useGetCompanyInfo, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetImage, useGetListData, useGetMenu, useGetProfile, useGetProvider, useGetSelection, useGetUser, useGetView, useIsValidToken, useLoadAction, useLoginCredential, useLoginSocial, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useResetPassword, useRunAction, useSave, useSendComment, useSwitchLocale, useTabModel, useUpdatePassword, useUploadFile, useUploadIdFile, useUploadImage };