@fctc/interface-logic 3.2.9 → 3.3.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.
package/dist/hooks.mjs CHANGED
@@ -20,6 +20,8 @@ var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
20
20
  UriConstants2["UPLOAD_FILE_EXCEL_PATH"] = `/upload/file`;
21
21
  UriConstants2["UPLOAD_FILE_PATH"] = `/web/binary/upload_attachment`;
22
22
  UriConstants2["GET_MESSAGE"] = `/chatter/thread/messages`;
23
+ UriConstants2["GET_THREAD_DATA"] = `/mail/thread/data`;
24
+ UriConstants2["GET_THREAD_MESSAGES"] = `/mail/thread/messages`;
23
25
  UriConstants2["SENT_MESSAGE"] = `/chatter/message/post`;
24
26
  UriConstants2["UPLOAD_IMAGE"] = `/mail/attachment/upload`;
25
27
  UriConstants2["DELETE_MESSAGE"] = `/chatter/message/update_content`;
@@ -3616,6 +3618,39 @@ function useFormService() {
3616
3618
  },
3617
3619
  [env]
3618
3620
  );
3621
+ const getThreadData = useCallback6(
3622
+ async ({ data }) => {
3623
+ const jsonData = {
3624
+ thread_id: data?.thread_id,
3625
+ thread_model: data?.thread_model,
3626
+ limit: data?.limit,
3627
+ with_context: data?.with_context,
3628
+ request_list: data?.request_list
3629
+ };
3630
+ return env.requests.post("/mail/thread/data" /* GET_THREAD_DATA */, jsonData, {
3631
+ headers: {
3632
+ "Content-Type": "application/json"
3633
+ }
3634
+ });
3635
+ },
3636
+ [env]
3637
+ );
3638
+ const getThreadMessages = useCallback6(
3639
+ async ({ data }) => {
3640
+ const jsonData = {
3641
+ thread_id: data?.thread_id,
3642
+ thread_model: data?.thread_model,
3643
+ limit: data?.limit,
3644
+ with_context: data?.with_context
3645
+ };
3646
+ return env.requests.post("/mail/thread/messages" /* GET_THREAD_MESSAGES */, jsonData, {
3647
+ headers: {
3648
+ "Content-Type": "application/json"
3649
+ }
3650
+ });
3651
+ },
3652
+ [env]
3653
+ );
3619
3654
  const sentComment = useCallback6(
3620
3655
  async ({ data }) => {
3621
3656
  const jsonData = {
@@ -3738,7 +3773,9 @@ function useFormService() {
3738
3773
  uploadImage,
3739
3774
  getFormView,
3740
3775
  changeStatus,
3741
- uploadFile
3776
+ uploadFile,
3777
+ getThreadMessages,
3778
+ getThreadData
3742
3779
  };
3743
3780
  }
3744
3781
 
@@ -5347,7 +5384,7 @@ function useViewService() {
5347
5384
  order_id: orderId,
5348
5385
  state
5349
5386
  };
5350
- return env?.requests.post(
5387
+ return env?.requests.put(
5351
5388
  "/pos-order/status" /* POS_ORDER_STATUS */,
5352
5389
  jsonData,
5353
5390
  {
@@ -5933,6 +5970,48 @@ var useUploadFile = () => {
5933
5970
  };
5934
5971
  var use_upload_file_default = useUploadFile;
5935
5972
 
5973
+ // src/hooks/form/use-get-thread-data.ts
5974
+ import { useQuery as useQuery6 } from "@tanstack/react-query";
5975
+ var useGetThreadData = ({
5976
+ data,
5977
+ queryKey,
5978
+ enabled
5979
+ }) => {
5980
+ const { getThreadData } = useFormService();
5981
+ return useQuery6({
5982
+ queryKey,
5983
+ queryFn: () => getThreadData({ data }).then((res) => {
5984
+ if (res) {
5985
+ return res;
5986
+ }
5987
+ }),
5988
+ enabled,
5989
+ refetchOnWindowFocus: false
5990
+ });
5991
+ };
5992
+ var use_get_thread_data_default = useGetThreadData;
5993
+
5994
+ // src/hooks/form/use-get-thread-messages.ts
5995
+ import { useQuery as useQuery7 } from "@tanstack/react-query";
5996
+ var useGetThreadMessages = ({
5997
+ data,
5998
+ queryKey,
5999
+ enabled
6000
+ }) => {
6001
+ const { getThreadMessages } = useFormService();
6002
+ return useQuery7({
6003
+ queryKey,
6004
+ queryFn: () => getThreadMessages({ data }).then((res) => {
6005
+ if (res) {
6006
+ return res;
6007
+ }
6008
+ }),
6009
+ enabled,
6010
+ refetchOnWindowFocus: false
6011
+ });
6012
+ };
6013
+ var use_get_thread_messages_default = useGetThreadMessages;
6014
+
5936
6015
  // src/hooks/model/use-delete.ts
5937
6016
  import { useMutation as useMutation28 } from "@tanstack/react-query";
5938
6017
  var useDelete = () => {
@@ -5944,10 +6023,10 @@ var useDelete = () => {
5944
6023
  var use_delete_default = useDelete;
5945
6024
 
5946
6025
  // src/hooks/model/use-get-all.ts
5947
- import { useQuery as useQuery6 } from "@tanstack/react-query";
6026
+ import { useQuery as useQuery8 } from "@tanstack/react-query";
5948
6027
  var useGetAll = ({ data, queryKey, viewResponse }) => {
5949
6028
  const { getAll } = useModelService();
5950
- return useQuery6({
6029
+ return useQuery8({
5951
6030
  queryKey,
5952
6031
  queryFn: () => getAll({ data }).then((res) => {
5953
6032
  if (res) {
@@ -5961,10 +6040,10 @@ var useGetAll = ({ data, queryKey, viewResponse }) => {
5961
6040
  var use_get_all_default = useGetAll;
5962
6041
 
5963
6042
  // src/hooks/model/use-get-conversion-rate.ts
5964
- import { useQuery as useQuery7 } from "@tanstack/react-query";
6043
+ import { useQuery as useQuery9 } from "@tanstack/react-query";
5965
6044
  var useGetConversionRate = () => {
5966
6045
  const { getConversionRate } = useModelService();
5967
- return useQuery7({
6046
+ return useQuery9({
5968
6047
  queryKey: ["currency-rate"],
5969
6048
  queryFn: () => getConversionRate().then((res) => {
5970
6049
  if (res) {
@@ -5977,10 +6056,10 @@ var useGetConversionRate = () => {
5977
6056
  var use_get_conversion_rate_default = useGetConversionRate;
5978
6057
 
5979
6058
  // src/hooks/model/use-get-currency.ts
5980
- import { useQuery as useQuery8 } from "@tanstack/react-query";
6059
+ import { useQuery as useQuery10 } from "@tanstack/react-query";
5981
6060
  var useGetCurrency = () => {
5982
6061
  const { getCurrency } = useModelService();
5983
- return useQuery8({
6062
+ return useQuery10({
5984
6063
  queryKey: ["currency"],
5985
6064
  queryFn: () => getCurrency().then((res) => {
5986
6065
  if (res) {
@@ -6017,14 +6096,14 @@ var useGetDetail = () => {
6017
6096
  var use_get_detail_default = useGetDetail;
6018
6097
 
6019
6098
  // src/hooks/model/use-get-field-onchange.ts
6020
- import { useQuery as useQuery9 } from "@tanstack/react-query";
6099
+ import { useQuery as useQuery11 } from "@tanstack/react-query";
6021
6100
  var useGetFieldOnChange = ({
6022
6101
  model,
6023
6102
  service,
6024
6103
  xNode
6025
6104
  }) => {
6026
6105
  const { getListFieldsOnchange } = useModelService();
6027
- return useQuery9({
6106
+ return useQuery11({
6028
6107
  queryKey: [`field-onchange-${model}`, model],
6029
6108
  queryFn: () => getListFieldsOnchange({
6030
6109
  model,
@@ -6042,14 +6121,14 @@ var useGetFieldOnChange = ({
6042
6121
  var use_get_field_onchange_default = useGetFieldOnChange;
6043
6122
 
6044
6123
  // src/hooks/model/use-get-list-my-bank-account.ts
6045
- import { useQuery as useQuery10 } from "@tanstack/react-query";
6124
+ import { useQuery as useQuery12 } from "@tanstack/react-query";
6046
6125
  var useGetListMyBankAccount = ({
6047
6126
  domain,
6048
6127
  spectification,
6049
6128
  model
6050
6129
  }) => {
6051
6130
  const { getListMyBankAccount } = useModelService();
6052
- return useQuery10({
6131
+ return useQuery12({
6053
6132
  queryKey: ["bank-account", model, domain],
6054
6133
  queryFn: () => getListMyBankAccount({
6055
6134
  domain,
@@ -6334,7 +6413,7 @@ var useDuplicateRecord = () => {
6334
6413
  var use_duplicate_record_default = useDuplicateRecord;
6335
6414
 
6336
6415
  // src/hooks/view/use-get-action-detail.ts
6337
- import { useQuery as useQuery11 } from "@tanstack/react-query";
6416
+ import { useQuery as useQuery13 } from "@tanstack/react-query";
6338
6417
  var useGetActionDetail = ({
6339
6418
  aid,
6340
6419
  context,
@@ -6349,7 +6428,7 @@ var useGetActionDetail = ({
6349
6428
  model: model ?? "",
6350
6429
  context
6351
6430
  };
6352
- return useQuery11({
6431
+ return useQuery13({
6353
6432
  queryKey,
6354
6433
  queryFn: async () => {
6355
6434
  if (aid) {
@@ -6367,10 +6446,10 @@ var useGetActionDetail = ({
6367
6446
  var use_get_action_detail_default = useGetActionDetail;
6368
6447
 
6369
6448
  // src/hooks/view/use-get-calendar.ts
6370
- import { useQuery as useQuery12 } from "@tanstack/react-query";
6449
+ import { useQuery as useQuery14 } from "@tanstack/react-query";
6371
6450
  var useGetCalendar = (listDataProps, queryKey, enabled) => {
6372
6451
  const { getListCalendar } = useModelService();
6373
- return useQuery12({
6452
+ return useQuery14({
6374
6453
  queryKey,
6375
6454
  queryFn: () => getListCalendar({ data: listDataProps }).then((res) => {
6376
6455
  if (res) {
@@ -6386,13 +6465,13 @@ var useGetCalendar = (listDataProps, queryKey, enabled) => {
6386
6465
  var use_get_calendar_default = useGetCalendar;
6387
6466
 
6388
6467
  // src/hooks/view/use-get-groups.ts
6389
- import { useQuery as useQuery13 } from "@tanstack/react-query";
6468
+ import { useQuery as useQuery15 } from "@tanstack/react-query";
6390
6469
  var useGetGroups = ({
6391
6470
  model,
6392
6471
  width_context
6393
6472
  }) => {
6394
6473
  const { getGroups } = useKanbanService();
6395
- return useQuery13({
6474
+ return useQuery15({
6396
6475
  queryKey: [model, width_context],
6397
6476
  queryFn: () => getGroups({
6398
6477
  model,
@@ -6409,10 +6488,10 @@ var useGetGroups = ({
6409
6488
  var use_get_groups_default = useGetGroups;
6410
6489
 
6411
6490
  // src/hooks/view/use-get-list-data.ts
6412
- import { useQuery as useQuery14 } from "@tanstack/react-query";
6491
+ import { useQuery as useQuery16 } from "@tanstack/react-query";
6413
6492
  var useGetListData = (listDataProps, queryKey, enabled, service, xNode) => {
6414
6493
  const { getAll } = useModelService();
6415
- return useQuery14({
6494
+ return useQuery16({
6416
6495
  queryKey,
6417
6496
  queryFn: () => getAll({ data: listDataProps, service, xNode }).then((res) => {
6418
6497
  if (res) {
@@ -6428,10 +6507,10 @@ var useGetListData = (listDataProps, queryKey, enabled, service, xNode) => {
6428
6507
  var use_get_list_data_default = useGetListData;
6429
6508
 
6430
6509
  // src/hooks/view/use-get-menu.ts
6431
- import { useQuery as useQuery15 } from "@tanstack/react-query";
6510
+ import { useQuery as useQuery17 } from "@tanstack/react-query";
6432
6511
  var useGetMenu = (context, specification, enabled, domain, service) => {
6433
6512
  const { getMenu } = useViewService();
6434
- return useQuery15({
6513
+ return useQuery17({
6435
6514
  queryKey: ["menus" /* MENU */, context],
6436
6515
  queryFn: () => getMenu(context, specification, domain, service).then((res) => {
6437
6516
  if (res && res?.records && res?.records?.length > 0) {
@@ -6459,7 +6538,7 @@ var useGetPrintReport = () => {
6459
6538
  var use_get_print_report_default = useGetPrintReport;
6460
6539
 
6461
6540
  // src/hooks/view/use-get-progress-bar.ts
6462
- import { useQuery as useQuery16 } from "@tanstack/react-query";
6541
+ import { useQuery as useQuery18 } from "@tanstack/react-query";
6463
6542
  var useGetProGressBar = ({
6464
6543
  field,
6465
6544
  color,
@@ -6467,7 +6546,7 @@ var useGetProGressBar = ({
6467
6546
  width_context
6468
6547
  }) => {
6469
6548
  const { getProgressBar } = useKanbanService();
6470
- return useQuery16({
6549
+ return useQuery18({
6471
6550
  queryKey: [],
6472
6551
  queryFn: () => getProgressBar({
6473
6552
  field,
@@ -6486,7 +6565,7 @@ var useGetProGressBar = ({
6486
6565
  var use_get_progress_bar_default = useGetProGressBar;
6487
6566
 
6488
6567
  // src/hooks/view/use-get-selection.ts
6489
- import { useQuery as useQuery17 } from "@tanstack/react-query";
6568
+ import { useQuery as useQuery19 } from "@tanstack/react-query";
6490
6569
  var useGetSelection = ({
6491
6570
  data,
6492
6571
  queryKey,
@@ -6495,7 +6574,7 @@ var useGetSelection = ({
6495
6574
  xNode
6496
6575
  }) => {
6497
6576
  const { getSelectionItem } = useViewService();
6498
- return useQuery17({
6577
+ return useQuery19({
6499
6578
  queryKey,
6500
6579
  queryFn: () => getSelectionItem({ data, service, xNode }),
6501
6580
  enabled,
@@ -6505,10 +6584,10 @@ var useGetSelection = ({
6505
6584
  var use_get_selection_default = useGetSelection;
6506
6585
 
6507
6586
  // src/hooks/view/use-get-view.ts
6508
- import { useQuery as useQuery18 } from "@tanstack/react-query";
6587
+ import { useQuery as useQuery20 } from "@tanstack/react-query";
6509
6588
  var useGetView = ({ viewParams, enabled }) => {
6510
6589
  const { getView } = useViewService();
6511
- return useQuery18({
6590
+ return useQuery20({
6512
6591
  queryKey: [
6513
6592
  "get_view_by_action" /* GET_VIEW_BY_ACTION */,
6514
6593
  viewParams?.model,
@@ -6547,10 +6626,10 @@ var useLoadAction = () => {
6547
6626
  var use_load_action_default = useLoadAction;
6548
6627
 
6549
6628
  // src/hooks/view/use-load-message.ts
6550
- import { useQuery as useQuery19 } from "@tanstack/react-query";
6629
+ import { useQuery as useQuery21 } from "@tanstack/react-query";
6551
6630
  var useLoadMessage = () => {
6552
6631
  const { loadMessages } = useViewService();
6553
- return useQuery19({
6632
+ return useQuery21({
6554
6633
  queryKey: [`load-message-failure`],
6555
6634
  queryFn: () => loadMessages(),
6556
6635
  refetchOnWindowFocus: false
@@ -6595,10 +6674,10 @@ var useRemoveRow = () => {
6595
6674
  var use_remove_row_default = useRemoveRow;
6596
6675
 
6597
6676
  // src/hooks/view/use-resequence.ts
6598
- import { useQuery as useQuery20 } from "@tanstack/react-query";
6677
+ import { useQuery as useQuery22 } from "@tanstack/react-query";
6599
6678
  var useGetResequence = (model, resIds, context, offset) => {
6600
6679
  const { getResequence } = useViewService();
6601
- return useQuery20({
6680
+ return useQuery22({
6602
6681
  queryKey: [],
6603
6682
  queryFn: () => getResequence({
6604
6683
  model,
@@ -7425,6 +7504,8 @@ export {
7425
7504
  use_resequence_default as useGetResequence,
7426
7505
  use_get_selection_default as useGetSelection,
7427
7506
  use_get_tenant_mapping_default as useGetTenantMapping,
7507
+ use_get_thread_data_default as useGetThreadData,
7508
+ use_get_thread_messages_default as useGetThreadMessages,
7428
7509
  use_get_token_default as useGetToken,
7429
7510
  use_get_user_default as useGetUser,
7430
7511
  use_get_view_default as useGetView,
@@ -1,9 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
3
  import { L as LocalStorageUtilsType } from './local-storage-BPvoMGYJ.mjs';
4
- import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment, useHandleCloseSession, useHandleClosingDetailSession, useCreatePosConfig, useSearchJournal, useGetTenantMapping, useGetToken, useGetPreparationDisplayData, useChangeOrderPreparaionState as useChangeOrderPreparationState, useUpdateOrderStatus } from './hooks.mjs';
4
+ import { g as useForgotPassword, h as useForgotPasswordSSO, G as useGetProvider, L as useIsValidToken, O as useLoginCredential, P as useLoginSocial, W as useResetPassword, X as useResetPasswordSSO, a1 as useUpdatePassword, a7 as useLogout, a6 as useGetAccessByCode, ad as useValidateActionToken, n as useGetCompanyInfo, q as useGetCurrentCompany, z as useGetListCompany, e as useExecuteImport, f as useExportExcel, s as useGetFieldExport, v as useGetFileExcel, T as useParsePreview, a2 as useUploadFileExcel, a3 as useUploadIdFile, a as useChangeStatus, c as useDeleteComment, m as useGetComment, w as useGetFormView, y as useGetImage, _ as useSendComment, a4 as useUploadImage, b as useDelete, k as useGetAll, o as useGetConversionRate, p as useGetCurrency, r as useGetDetail, t as useGetFieldOnChange, B as useGetListMyBankAccount, Q as useModel, R as useOdooDataTransform, S as useOnChangeForm, Z as useSave, E as useGetProfile, J as useGetUser, a0 as useSwitchLocale, u as useButton, d as useDuplicateRecord, i as useGet2FAMethods, j as useGetActionDetail, l as useGetCalendar, x as useGetGroups, A as useGetListData, C as useGetMenu, D as useGetPrintReport, F as useGetProGressBar, H as useGetResequence, I as useGetSelection, K as useGetView, M as useLoadAction, N as useLoadMessage, U as usePrint, V as useRemoveRow, Y as useRunAction, $ as useSignInSSO, a5 as useVerify2FA, a8 as useGrantAccess, a9 as useRemoveTotpSetup, aa as useRequestSetupTotp, ab as useSettingsWebRead2fa, ac as useVerifyTotp, ae as useUploadFile, al as useCreateEntity, af as useGetASession, aj as useCreateSession, ao as useDeleteEntity, am as useGetList, ak as useGetPos, ai as useHandleClosingSession, ah as useManageSession, ag as useUpdateClosedSession, an as useUpdateEntity, ap as useLoadDataPosSession, aq as useManageOnChange, ar as useGenSerialNumber, as as useGetOrderLine, at as useGetProductImage, au as useAddEntity, av as useCheckPayment, aw as useHandleCloseSession, ax as useHandleClosingDetailSession, ay as useCreatePosConfig, az as useSearchJournal, aA as useGetTenantMapping, aB as useGetToken, aC as useGetPreparationDisplayData, aD as useChangeOrderPreparationState, aE as useUpdateOrderStatus } from './use-update-order-status-CSc8DlPR.mjs';
5
5
  import '@tanstack/react-query';
6
- import './view-type-xxw9OeSR.mjs';
6
+ import './view-type-LCI2KPYD.mjs';
7
7
  import './base-model-type-DD8uZnDP.mjs';
8
8
  import './models.mjs';
9
9
 
@@ -1,9 +1,9 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
3
  import { L as LocalStorageUtilsType } from './local-storage-BPvoMGYJ.js';
4
- import { useForgotPassword, useForgotPasswordSSO, useGetProvider, useIsValidToken, useLoginCredential, useLoginSocial, useResetPassword, useResetPasswordSSO, useUpdatePassword, useLogout, useGetAccessByCode, useValidateActionToken, useGetCompanyInfo, useGetCurrentCompany, useGetListCompany, useExecuteImport, useExportExcel, useGetFieldExport, useGetFileExcel, useParsePreview, useUploadFileExcel, useUploadIdFile, useChangeStatus, useDeleteComment, useGetComment, useGetFormView, useGetImage, useSendComment, useUploadImage, useDelete, useGetAll, useGetConversionRate, useGetCurrency, useGetDetail, useGetFieldOnChange, useGetListMyBankAccount, useModel, useOdooDataTransform, useOnChangeForm, useSave, useGetProfile, useGetUser, useSwitchLocale, useButton, useDuplicateRecord, useGet2FAMethods, useGetActionDetail, useGetCalendar, useGetGroups, useGetListData, useGetMenu, useGetPrintReport, useGetProGressBar, useGetResequence, useGetSelection, useGetView, useLoadAction, useLoadMessage, usePrint, useRemoveRow, useRunAction, useSignInSSO, useVerify2FA, useGrantAccess, useRemoveTotpSetup, useRequestSetupTotp, useSettingsWebRead2fa, useVerifyTotp, useUploadFile, useCreateEntity, useGetASession, useCreateSession, useDeleteEntity, useGetList, useGetPos, useHandleClosingSession, useManageSession, useUpdateClosedSession, useUpdateEntity, useLoadDataPosSession, useManageOnChange, useGenSerialNumber, useGetOrderLine, useGetProductImage, useAddEntity, useCheckPayment, useHandleCloseSession, useHandleClosingDetailSession, useCreatePosConfig, useSearchJournal, useGetTenantMapping, useGetToken, useGetPreparationDisplayData, useChangeOrderPreparaionState as useChangeOrderPreparationState, useUpdateOrderStatus } from './hooks.js';
4
+ import { g as useForgotPassword, h as useForgotPasswordSSO, G as useGetProvider, L as useIsValidToken, O as useLoginCredential, P as useLoginSocial, W as useResetPassword, X as useResetPasswordSSO, a1 as useUpdatePassword, a7 as useLogout, a6 as useGetAccessByCode, ad as useValidateActionToken, n as useGetCompanyInfo, q as useGetCurrentCompany, z as useGetListCompany, e as useExecuteImport, f as useExportExcel, s as useGetFieldExport, v as useGetFileExcel, T as useParsePreview, a2 as useUploadFileExcel, a3 as useUploadIdFile, a as useChangeStatus, c as useDeleteComment, m as useGetComment, w as useGetFormView, y as useGetImage, _ as useSendComment, a4 as useUploadImage, b as useDelete, k as useGetAll, o as useGetConversionRate, p as useGetCurrency, r as useGetDetail, t as useGetFieldOnChange, B as useGetListMyBankAccount, Q as useModel, R as useOdooDataTransform, S as useOnChangeForm, Z as useSave, E as useGetProfile, J as useGetUser, a0 as useSwitchLocale, u as useButton, d as useDuplicateRecord, i as useGet2FAMethods, j as useGetActionDetail, l as useGetCalendar, x as useGetGroups, A as useGetListData, C as useGetMenu, D as useGetPrintReport, F as useGetProGressBar, H as useGetResequence, I as useGetSelection, K as useGetView, M as useLoadAction, N as useLoadMessage, U as usePrint, V as useRemoveRow, Y as useRunAction, $ as useSignInSSO, a5 as useVerify2FA, a8 as useGrantAccess, a9 as useRemoveTotpSetup, aa as useRequestSetupTotp, ab as useSettingsWebRead2fa, ac as useVerifyTotp, ae as useUploadFile, al as useCreateEntity, af as useGetASession, aj as useCreateSession, ao as useDeleteEntity, am as useGetList, ak as useGetPos, ai as useHandleClosingSession, ah as useManageSession, ag as useUpdateClosedSession, an as useUpdateEntity, ap as useLoadDataPosSession, aq as useManageOnChange, ar as useGenSerialNumber, as as useGetOrderLine, at as useGetProductImage, au as useAddEntity, av as useCheckPayment, aw as useHandleCloseSession, ax as useHandleClosingDetailSession, ay as useCreatePosConfig, az as useSearchJournal, aA as useGetTenantMapping, aB as useGetToken, aC as useGetPreparationDisplayData, aD as useChangeOrderPreparationState, aE as useUpdateOrderStatus } from './use-update-order-status-CwYVNouf.js';
5
5
  import '@tanstack/react-query';
6
- import './view-type-xxw9OeSR.js';
6
+ import './view-type-LCI2KPYD.js';
7
7
  import './base-model-type-DD8uZnDP.js';
8
8
  import './models.js';
9
9