@fctc/interface-logic 3.2.7 → 3.2.8
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/constants.d.mts +6 -2
- package/dist/constants.d.ts +6 -2
- package/dist/constants.js +4 -0
- package/dist/constants.mjs +4 -0
- package/dist/hooks.d.mts +15 -1
- package/dist/hooks.d.ts +15 -1
- package/dist/hooks.js +107 -1
- package/dist/hooks.mjs +105 -1
- package/dist/provider.d.mts +3 -1
- package/dist/provider.d.ts +3 -1
- package/dist/provider.js +106 -2
- package/dist/provider.mjs +106 -2
- package/dist/services.d.mts +12 -0
- package/dist/services.d.ts +12 -0
- package/dist/services.js +65 -1
- package/dist/services.mjs +65 -1
- package/package.json +90 -90
package/dist/constants.d.mts
CHANGED
|
@@ -24,7 +24,9 @@ declare enum MethodConstants {
|
|
|
24
24
|
CREATE = "create",
|
|
25
25
|
LOAD_DATA = "load_data",
|
|
26
26
|
CHECK = "check",
|
|
27
|
-
GET_CLOSING_CONTROL_DATA = "get_closing_control_data"
|
|
27
|
+
GET_CLOSING_CONTROL_DATA = "get_closing_control_data",
|
|
28
|
+
GET_PREPARATION_DISPLAY_DATA = "get_preparation_display_data",
|
|
29
|
+
CHANGE_ORDER_STAGE = "change_order_stage"
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
declare enum UriConstants {
|
|
@@ -96,7 +98,9 @@ declare enum ModelConstants {
|
|
|
96
98
|
COMPANY = "res.company",
|
|
97
99
|
WINDOW_ACTION = "ir.actions.act_window",
|
|
98
100
|
BASE_IMPORT = "base_import.import",
|
|
99
|
-
GET_IMPORT = "get_import_templates"
|
|
101
|
+
GET_IMPORT = "get_import_templates",
|
|
102
|
+
POS_PREPARATION_DISPLAY = "pos_preparation_display.display",
|
|
103
|
+
POS_PREPARATION_ORDER = "pos_preparation_display.order"
|
|
100
104
|
}
|
|
101
105
|
|
|
102
106
|
declare enum ComponentType {
|
package/dist/constants.d.ts
CHANGED
|
@@ -24,7 +24,9 @@ declare enum MethodConstants {
|
|
|
24
24
|
CREATE = "create",
|
|
25
25
|
LOAD_DATA = "load_data",
|
|
26
26
|
CHECK = "check",
|
|
27
|
-
GET_CLOSING_CONTROL_DATA = "get_closing_control_data"
|
|
27
|
+
GET_CLOSING_CONTROL_DATA = "get_closing_control_data",
|
|
28
|
+
GET_PREPARATION_DISPLAY_DATA = "get_preparation_display_data",
|
|
29
|
+
CHANGE_ORDER_STAGE = "change_order_stage"
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
declare enum UriConstants {
|
|
@@ -96,7 +98,9 @@ declare enum ModelConstants {
|
|
|
96
98
|
COMPANY = "res.company",
|
|
97
99
|
WINDOW_ACTION = "ir.actions.act_window",
|
|
98
100
|
BASE_IMPORT = "base_import.import",
|
|
99
|
-
GET_IMPORT = "get_import_templates"
|
|
101
|
+
GET_IMPORT = "get_import_templates",
|
|
102
|
+
POS_PREPARATION_DISPLAY = "pos_preparation_display.display",
|
|
103
|
+
POS_PREPARATION_ORDER = "pos_preparation_display.order"
|
|
100
104
|
}
|
|
101
105
|
|
|
102
106
|
declare enum ComponentType {
|
package/dist/constants.js
CHANGED
|
@@ -66,6 +66,8 @@ var MethodConstants = /* @__PURE__ */ ((MethodConstants2) => {
|
|
|
66
66
|
MethodConstants2["LOAD_DATA"] = "load_data";
|
|
67
67
|
MethodConstants2["CHECK"] = "check";
|
|
68
68
|
MethodConstants2["GET_CLOSING_CONTROL_DATA"] = "get_closing_control_data";
|
|
69
|
+
MethodConstants2["GET_PREPARATION_DISPLAY_DATA"] = "get_preparation_display_data";
|
|
70
|
+
MethodConstants2["CHANGE_ORDER_STAGE"] = "change_order_stage";
|
|
69
71
|
return MethodConstants2;
|
|
70
72
|
})(MethodConstants || {});
|
|
71
73
|
|
|
@@ -146,6 +148,8 @@ var ModelConstants = /* @__PURE__ */ ((ModelConstants2) => {
|
|
|
146
148
|
ModelConstants2["WINDOW_ACTION"] = "ir.actions.act_window";
|
|
147
149
|
ModelConstants2["BASE_IMPORT"] = "base_import.import";
|
|
148
150
|
ModelConstants2["GET_IMPORT"] = "get_import_templates";
|
|
151
|
+
ModelConstants2["POS_PREPARATION_DISPLAY"] = "pos_preparation_display.display";
|
|
152
|
+
ModelConstants2["POS_PREPARATION_ORDER"] = "pos_preparation_display.order";
|
|
149
153
|
return ModelConstants2;
|
|
150
154
|
})(ModelConstants || {});
|
|
151
155
|
|
package/dist/constants.mjs
CHANGED
|
@@ -28,6 +28,8 @@ var MethodConstants = /* @__PURE__ */ ((MethodConstants2) => {
|
|
|
28
28
|
MethodConstants2["LOAD_DATA"] = "load_data";
|
|
29
29
|
MethodConstants2["CHECK"] = "check";
|
|
30
30
|
MethodConstants2["GET_CLOSING_CONTROL_DATA"] = "get_closing_control_data";
|
|
31
|
+
MethodConstants2["GET_PREPARATION_DISPLAY_DATA"] = "get_preparation_display_data";
|
|
32
|
+
MethodConstants2["CHANGE_ORDER_STAGE"] = "change_order_stage";
|
|
31
33
|
return MethodConstants2;
|
|
32
34
|
})(MethodConstants || {});
|
|
33
35
|
|
|
@@ -108,6 +110,8 @@ var ModelConstants = /* @__PURE__ */ ((ModelConstants2) => {
|
|
|
108
110
|
ModelConstants2["WINDOW_ACTION"] = "ir.actions.act_window";
|
|
109
111
|
ModelConstants2["BASE_IMPORT"] = "base_import.import";
|
|
110
112
|
ModelConstants2["GET_IMPORT"] = "get_import_templates";
|
|
113
|
+
ModelConstants2["POS_PREPARATION_DISPLAY"] = "pos_preparation_display.display";
|
|
114
|
+
ModelConstants2["POS_PREPARATION_ORDER"] = "pos_preparation_display.order";
|
|
111
115
|
return ModelConstants2;
|
|
112
116
|
})(ModelConstants || {});
|
|
113
117
|
|
package/dist/hooks.d.mts
CHANGED
|
@@ -575,4 +575,18 @@ declare const useSearchJournal: () => _tanstack_react_query.UseMutationResult<un
|
|
|
575
575
|
xNode?: string;
|
|
576
576
|
}, unknown>;
|
|
577
577
|
|
|
578
|
-
|
|
578
|
+
declare const useGetPreparationDisplayData: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
579
|
+
ids: any;
|
|
580
|
+
service?: string;
|
|
581
|
+
xNode?: string;
|
|
582
|
+
}, unknown>;
|
|
583
|
+
|
|
584
|
+
declare const useChangeOrderPreparationState: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
585
|
+
orderId: number;
|
|
586
|
+
stageId: number;
|
|
587
|
+
preparationDisplayId: number;
|
|
588
|
+
service?: string;
|
|
589
|
+
xNode?: string;
|
|
590
|
+
}, unknown>;
|
|
591
|
+
|
|
592
|
+
export { useAddEntity, useButton, useChangeOrderPreparationState as useChangeOrderPreparaionState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetToken, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSearchJournal, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|
package/dist/hooks.d.ts
CHANGED
|
@@ -575,4 +575,18 @@ declare const useSearchJournal: () => _tanstack_react_query.UseMutationResult<un
|
|
|
575
575
|
xNode?: string;
|
|
576
576
|
}, unknown>;
|
|
577
577
|
|
|
578
|
-
|
|
578
|
+
declare const useGetPreparationDisplayData: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
579
|
+
ids: any;
|
|
580
|
+
service?: string;
|
|
581
|
+
xNode?: string;
|
|
582
|
+
}, unknown>;
|
|
583
|
+
|
|
584
|
+
declare const useChangeOrderPreparationState: () => _tanstack_react_query.UseMutationResult<unknown, Error, {
|
|
585
|
+
orderId: number;
|
|
586
|
+
stageId: number;
|
|
587
|
+
preparationDisplayId: number;
|
|
588
|
+
service?: string;
|
|
589
|
+
xNode?: string;
|
|
590
|
+
}, unknown>;
|
|
591
|
+
|
|
592
|
+
export { useAddEntity, useButton, useChangeOrderPreparationState as useChangeOrderPreparaionState, useChangeStatus, useCheckPayment, useCreateEntity, useCreatePosConfig, useCreateSession, useDelete, useDeleteComment, useDeleteEntity, useDuplicateRecord, useExecuteImport, useExportExcel, useForgotPassword, useForgotPasswordSSO, useGenSerialNumber, useGet2FAMethods, useGetASession, useGetAccessByCode, useGetActionDetail, useGetAll, useGetCalendar, useGetComment, useGetCompanyInfo, useGetConversionRate, useGetCurrency, useGetCurrentCompany, useGetDetail, useGetFieldExport, useGetFieldOnChange, useGetFileExcel, useGetFormView, useGetGroups, useGetImage, useGetList, useGetListCompany, useGetListData, useGetListMyBankAccount, useGetMenu, useGetOrderLine, useGetPos, useGetPreparationDisplayData, useGetPrintReport, useGetProGressBar, useGetProductImage, useGetProfile, useGetProvider, useGetResequence, useGetSelection, useGetTenantMapping, useGetToken, useGetUser, useGetView, useGrantAccess, useHandleCloseSession, useHandleClosingDetailSession, useHandleClosingSession, useIsValidToken, useLoadAction, useLoadDataPosSession, useLoadMessage, useLoginCredential, useLoginSocial, useLogout, useManageOnChange, useManageSession, useModel, useOdooDataTransform, useOnChangeForm, useParsePreview, usePrint, useRemoveRow, useRemoveTotpSetup, useRequestSetupTotp, useResetPassword, useResetPasswordSSO, useRunAction, useSave, useSearchJournal, useSendComment, useSettingsWebRead2fa, useSignInSSO, useSwitchLocale, useUpdateClosedSession, useUpdateEntity, useUpdatePassword, useUploadFile, useUploadFileExcel, useUploadIdFile, useUploadImage, useValidateActionToken, useVerify2FA, useVerifyTotp };
|
package/dist/hooks.js
CHANGED
|
@@ -32,6 +32,7 @@ var hooks_exports = {};
|
|
|
32
32
|
__export(hooks_exports, {
|
|
33
33
|
useAddEntity: () => use_add_entity_default,
|
|
34
34
|
useButton: () => use_button_default,
|
|
35
|
+
useChangeOrderPreparaionState: () => useChangeOrderPreparaionState_default,
|
|
35
36
|
useChangeStatus: () => use_change_status_default,
|
|
36
37
|
useCheckPayment: () => use_check_payment_default,
|
|
37
38
|
useCreateEntity: () => use_create_entity_default,
|
|
@@ -71,6 +72,7 @@ __export(hooks_exports, {
|
|
|
71
72
|
useGetMenu: () => use_get_menu_default,
|
|
72
73
|
useGetOrderLine: () => use_get_order_line_default,
|
|
73
74
|
useGetPos: () => use_get_pos_default,
|
|
75
|
+
useGetPreparationDisplayData: () => useGetPreparaionDisplayData_default,
|
|
74
76
|
useGetPrintReport: () => use_get_print_report_default,
|
|
75
77
|
useGetProGressBar: () => use_get_progress_bar_default,
|
|
76
78
|
useGetProductImage: () => use_get_product_image_default,
|
|
@@ -5175,6 +5177,31 @@ function useViewService() {
|
|
|
5175
5177
|
},
|
|
5176
5178
|
[env]
|
|
5177
5179
|
);
|
|
5180
|
+
const getPreparaionDisplayData = (0, import_react14.useCallback)(
|
|
5181
|
+
({
|
|
5182
|
+
ids,
|
|
5183
|
+
xNode,
|
|
5184
|
+
service
|
|
5185
|
+
}) => {
|
|
5186
|
+
const jsonData = {
|
|
5187
|
+
model: "pos_preparation_display.display" /* POS_PREPARATION_DISPLAY */,
|
|
5188
|
+
method: "get_preparation_display_data" /* GET_PREPARATION_DISPLAY_DATA */,
|
|
5189
|
+
ids
|
|
5190
|
+
};
|
|
5191
|
+
return env?.requests.post(
|
|
5192
|
+
"/call" /* CALL_PATH */,
|
|
5193
|
+
jsonData,
|
|
5194
|
+
{
|
|
5195
|
+
headers: {
|
|
5196
|
+
"Content-Type": "application/json",
|
|
5197
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5198
|
+
}
|
|
5199
|
+
},
|
|
5200
|
+
service
|
|
5201
|
+
);
|
|
5202
|
+
},
|
|
5203
|
+
[env]
|
|
5204
|
+
);
|
|
5178
5205
|
const manageOnChange = (0, import_react14.useCallback)(
|
|
5179
5206
|
({
|
|
5180
5207
|
model,
|
|
@@ -5406,6 +5433,37 @@ function useViewService() {
|
|
|
5406
5433
|
},
|
|
5407
5434
|
[env]
|
|
5408
5435
|
);
|
|
5436
|
+
const changeOrderPreparaionState = (0, import_react14.useCallback)(
|
|
5437
|
+
({
|
|
5438
|
+
orderId,
|
|
5439
|
+
stageId,
|
|
5440
|
+
preparationDisplayId,
|
|
5441
|
+
xNode,
|
|
5442
|
+
service
|
|
5443
|
+
}) => {
|
|
5444
|
+
const jsonData = {
|
|
5445
|
+
model: "pos_preparation_display.order" /* POS_PREPARATION_ORDER */,
|
|
5446
|
+
method: "change_order_stage" /* CHANGE_ORDER_STAGE */,
|
|
5447
|
+
ids: orderId,
|
|
5448
|
+
kwargs: {
|
|
5449
|
+
stage_id: stageId,
|
|
5450
|
+
preparation_display_id: preparationDisplayId
|
|
5451
|
+
}
|
|
5452
|
+
};
|
|
5453
|
+
return env?.requests.post(
|
|
5454
|
+
"/call" /* CALL_PATH */,
|
|
5455
|
+
jsonData,
|
|
5456
|
+
{
|
|
5457
|
+
headers: {
|
|
5458
|
+
"Content-Type": "application/json",
|
|
5459
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5460
|
+
}
|
|
5461
|
+
},
|
|
5462
|
+
service
|
|
5463
|
+
);
|
|
5464
|
+
},
|
|
5465
|
+
[env]
|
|
5466
|
+
);
|
|
5409
5467
|
return {
|
|
5410
5468
|
getView,
|
|
5411
5469
|
getMenu,
|
|
@@ -5441,7 +5499,9 @@ function useViewService() {
|
|
|
5441
5499
|
handleCloseSession,
|
|
5442
5500
|
handleClosingDetailSession,
|
|
5443
5501
|
createPosConfig,
|
|
5444
|
-
searchJournal
|
|
5502
|
+
searchJournal,
|
|
5503
|
+
getPreparaionDisplayData,
|
|
5504
|
+
changeOrderPreparaionState
|
|
5445
5505
|
};
|
|
5446
5506
|
}
|
|
5447
5507
|
|
|
@@ -7349,10 +7409,55 @@ var useSearchJournal = () => {
|
|
|
7349
7409
|
});
|
|
7350
7410
|
};
|
|
7351
7411
|
var use_search_journal_default = useSearchJournal;
|
|
7412
|
+
|
|
7413
|
+
// src/hooks/view/useGetPreparaionDisplayData.ts
|
|
7414
|
+
var import_react_query93 = require("@tanstack/react-query");
|
|
7415
|
+
var useGetPreparationDisplayData = () => {
|
|
7416
|
+
const { getPreparaionDisplayData } = useViewService();
|
|
7417
|
+
return (0, import_react_query93.useMutation)({
|
|
7418
|
+
mutationFn: ({
|
|
7419
|
+
ids,
|
|
7420
|
+
service,
|
|
7421
|
+
xNode
|
|
7422
|
+
}) => {
|
|
7423
|
+
return getPreparaionDisplayData({
|
|
7424
|
+
ids,
|
|
7425
|
+
service,
|
|
7426
|
+
xNode
|
|
7427
|
+
});
|
|
7428
|
+
}
|
|
7429
|
+
});
|
|
7430
|
+
};
|
|
7431
|
+
var useGetPreparaionDisplayData_default = useGetPreparationDisplayData;
|
|
7432
|
+
|
|
7433
|
+
// src/hooks/view/useChangeOrderPreparaionState.ts
|
|
7434
|
+
var import_react_query94 = require("@tanstack/react-query");
|
|
7435
|
+
var useChangeOrderPreparationState = () => {
|
|
7436
|
+
const { changeOrderPreparaionState } = useViewService();
|
|
7437
|
+
return (0, import_react_query94.useMutation)({
|
|
7438
|
+
mutationFn: ({
|
|
7439
|
+
orderId,
|
|
7440
|
+
stageId,
|
|
7441
|
+
preparationDisplayId,
|
|
7442
|
+
service,
|
|
7443
|
+
xNode
|
|
7444
|
+
}) => {
|
|
7445
|
+
return changeOrderPreparaionState({
|
|
7446
|
+
orderId,
|
|
7447
|
+
stageId,
|
|
7448
|
+
preparationDisplayId,
|
|
7449
|
+
service,
|
|
7450
|
+
xNode
|
|
7451
|
+
});
|
|
7452
|
+
}
|
|
7453
|
+
});
|
|
7454
|
+
};
|
|
7455
|
+
var useChangeOrderPreparaionState_default = useChangeOrderPreparationState;
|
|
7352
7456
|
// Annotate the CommonJS export names for ESM import in node:
|
|
7353
7457
|
0 && (module.exports = {
|
|
7354
7458
|
useAddEntity,
|
|
7355
7459
|
useButton,
|
|
7460
|
+
useChangeOrderPreparaionState,
|
|
7356
7461
|
useChangeStatus,
|
|
7357
7462
|
useCheckPayment,
|
|
7358
7463
|
useCreateEntity,
|
|
@@ -7392,6 +7497,7 @@ var use_search_journal_default = useSearchJournal;
|
|
|
7392
7497
|
useGetMenu,
|
|
7393
7498
|
useGetOrderLine,
|
|
7394
7499
|
useGetPos,
|
|
7500
|
+
useGetPreparationDisplayData,
|
|
7395
7501
|
useGetPrintReport,
|
|
7396
7502
|
useGetProGressBar,
|
|
7397
7503
|
useGetProductImage,
|
package/dist/hooks.mjs
CHANGED
|
@@ -5048,6 +5048,31 @@ function useViewService() {
|
|
|
5048
5048
|
},
|
|
5049
5049
|
[env]
|
|
5050
5050
|
);
|
|
5051
|
+
const getPreparaionDisplayData = useCallback10(
|
|
5052
|
+
({
|
|
5053
|
+
ids,
|
|
5054
|
+
xNode,
|
|
5055
|
+
service
|
|
5056
|
+
}) => {
|
|
5057
|
+
const jsonData = {
|
|
5058
|
+
model: "pos_preparation_display.display" /* POS_PREPARATION_DISPLAY */,
|
|
5059
|
+
method: "get_preparation_display_data" /* GET_PREPARATION_DISPLAY_DATA */,
|
|
5060
|
+
ids
|
|
5061
|
+
};
|
|
5062
|
+
return env?.requests.post(
|
|
5063
|
+
"/call" /* CALL_PATH */,
|
|
5064
|
+
jsonData,
|
|
5065
|
+
{
|
|
5066
|
+
headers: {
|
|
5067
|
+
"Content-Type": "application/json",
|
|
5068
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5069
|
+
}
|
|
5070
|
+
},
|
|
5071
|
+
service
|
|
5072
|
+
);
|
|
5073
|
+
},
|
|
5074
|
+
[env]
|
|
5075
|
+
);
|
|
5051
5076
|
const manageOnChange = useCallback10(
|
|
5052
5077
|
({
|
|
5053
5078
|
model,
|
|
@@ -5279,6 +5304,37 @@ function useViewService() {
|
|
|
5279
5304
|
},
|
|
5280
5305
|
[env]
|
|
5281
5306
|
);
|
|
5307
|
+
const changeOrderPreparaionState = useCallback10(
|
|
5308
|
+
({
|
|
5309
|
+
orderId,
|
|
5310
|
+
stageId,
|
|
5311
|
+
preparationDisplayId,
|
|
5312
|
+
xNode,
|
|
5313
|
+
service
|
|
5314
|
+
}) => {
|
|
5315
|
+
const jsonData = {
|
|
5316
|
+
model: "pos_preparation_display.order" /* POS_PREPARATION_ORDER */,
|
|
5317
|
+
method: "change_order_stage" /* CHANGE_ORDER_STAGE */,
|
|
5318
|
+
ids: orderId,
|
|
5319
|
+
kwargs: {
|
|
5320
|
+
stage_id: stageId,
|
|
5321
|
+
preparation_display_id: preparationDisplayId
|
|
5322
|
+
}
|
|
5323
|
+
};
|
|
5324
|
+
return env?.requests.post(
|
|
5325
|
+
"/call" /* CALL_PATH */,
|
|
5326
|
+
jsonData,
|
|
5327
|
+
{
|
|
5328
|
+
headers: {
|
|
5329
|
+
"Content-Type": "application/json",
|
|
5330
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5331
|
+
}
|
|
5332
|
+
},
|
|
5333
|
+
service
|
|
5334
|
+
);
|
|
5335
|
+
},
|
|
5336
|
+
[env]
|
|
5337
|
+
);
|
|
5282
5338
|
return {
|
|
5283
5339
|
getView,
|
|
5284
5340
|
getMenu,
|
|
@@ -5314,7 +5370,9 @@ function useViewService() {
|
|
|
5314
5370
|
handleCloseSession,
|
|
5315
5371
|
handleClosingDetailSession,
|
|
5316
5372
|
createPosConfig,
|
|
5317
|
-
searchJournal
|
|
5373
|
+
searchJournal,
|
|
5374
|
+
getPreparaionDisplayData,
|
|
5375
|
+
changeOrderPreparaionState
|
|
5318
5376
|
};
|
|
5319
5377
|
}
|
|
5320
5378
|
|
|
@@ -7222,9 +7280,54 @@ var useSearchJournal = () => {
|
|
|
7222
7280
|
});
|
|
7223
7281
|
};
|
|
7224
7282
|
var use_search_journal_default = useSearchJournal;
|
|
7283
|
+
|
|
7284
|
+
// src/hooks/view/useGetPreparaionDisplayData.ts
|
|
7285
|
+
import { useMutation as useMutation71 } from "@tanstack/react-query";
|
|
7286
|
+
var useGetPreparationDisplayData = () => {
|
|
7287
|
+
const { getPreparaionDisplayData } = useViewService();
|
|
7288
|
+
return useMutation71({
|
|
7289
|
+
mutationFn: ({
|
|
7290
|
+
ids,
|
|
7291
|
+
service,
|
|
7292
|
+
xNode
|
|
7293
|
+
}) => {
|
|
7294
|
+
return getPreparaionDisplayData({
|
|
7295
|
+
ids,
|
|
7296
|
+
service,
|
|
7297
|
+
xNode
|
|
7298
|
+
});
|
|
7299
|
+
}
|
|
7300
|
+
});
|
|
7301
|
+
};
|
|
7302
|
+
var useGetPreparaionDisplayData_default = useGetPreparationDisplayData;
|
|
7303
|
+
|
|
7304
|
+
// src/hooks/view/useChangeOrderPreparaionState.ts
|
|
7305
|
+
import { useMutation as useMutation72 } from "@tanstack/react-query";
|
|
7306
|
+
var useChangeOrderPreparationState = () => {
|
|
7307
|
+
const { changeOrderPreparaionState } = useViewService();
|
|
7308
|
+
return useMutation72({
|
|
7309
|
+
mutationFn: ({
|
|
7310
|
+
orderId,
|
|
7311
|
+
stageId,
|
|
7312
|
+
preparationDisplayId,
|
|
7313
|
+
service,
|
|
7314
|
+
xNode
|
|
7315
|
+
}) => {
|
|
7316
|
+
return changeOrderPreparaionState({
|
|
7317
|
+
orderId,
|
|
7318
|
+
stageId,
|
|
7319
|
+
preparationDisplayId,
|
|
7320
|
+
service,
|
|
7321
|
+
xNode
|
|
7322
|
+
});
|
|
7323
|
+
}
|
|
7324
|
+
});
|
|
7325
|
+
};
|
|
7326
|
+
var useChangeOrderPreparaionState_default = useChangeOrderPreparationState;
|
|
7225
7327
|
export {
|
|
7226
7328
|
use_add_entity_default as useAddEntity,
|
|
7227
7329
|
use_button_default as useButton,
|
|
7330
|
+
useChangeOrderPreparaionState_default as useChangeOrderPreparaionState,
|
|
7228
7331
|
use_change_status_default as useChangeStatus,
|
|
7229
7332
|
use_check_payment_default as useCheckPayment,
|
|
7230
7333
|
use_create_entity_default as useCreateEntity,
|
|
@@ -7264,6 +7367,7 @@ export {
|
|
|
7264
7367
|
use_get_menu_default as useGetMenu,
|
|
7265
7368
|
use_get_order_line_default as useGetOrderLine,
|
|
7266
7369
|
use_get_pos_default as useGetPos,
|
|
7370
|
+
useGetPreparaionDisplayData_default as useGetPreparationDisplayData,
|
|
7267
7371
|
use_get_print_report_default as useGetPrintReport,
|
|
7268
7372
|
use_get_progress_bar_default as useGetProGressBar,
|
|
7269
7373
|
use_get_product_image_default as useGetProductImage,
|
package/dist/provider.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 } from './hooks.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 } from './hooks.mjs';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import './view-type-xxw9OeSR.mjs';
|
|
7
7
|
import './base-model-type-DD8uZnDP.mjs';
|
|
@@ -157,6 +157,8 @@ interface ServiceContextType {
|
|
|
157
157
|
useSearchJournal: typeof useSearchJournal;
|
|
158
158
|
useGetTenantMapping: typeof useGetTenantMapping;
|
|
159
159
|
useGetToken: typeof useGetToken;
|
|
160
|
+
useGetPreparationDisplayData: typeof useGetPreparationDisplayData;
|
|
161
|
+
useChangeOrderPreparaionState: typeof useChangeOrderPreparationState;
|
|
160
162
|
}
|
|
161
163
|
declare const ServiceProvider: ({ children, }: {
|
|
162
164
|
children: React.ReactNode;
|
package/dist/provider.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 } from './hooks.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 } from './hooks.js';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import './view-type-xxw9OeSR.js';
|
|
7
7
|
import './base-model-type-DD8uZnDP.js';
|
|
@@ -157,6 +157,8 @@ interface ServiceContextType {
|
|
|
157
157
|
useSearchJournal: typeof useSearchJournal;
|
|
158
158
|
useGetTenantMapping: typeof useGetTenantMapping;
|
|
159
159
|
useGetToken: typeof useGetToken;
|
|
160
|
+
useGetPreparationDisplayData: typeof useGetPreparationDisplayData;
|
|
161
|
+
useChangeOrderPreparaionState: typeof useChangeOrderPreparationState;
|
|
160
162
|
}
|
|
161
163
|
declare const ServiceProvider: ({ children, }: {
|
|
162
164
|
children: React.ReactNode;
|
package/dist/provider.js
CHANGED
|
@@ -5177,6 +5177,31 @@ function useViewService() {
|
|
|
5177
5177
|
},
|
|
5178
5178
|
[env]
|
|
5179
5179
|
);
|
|
5180
|
+
const getPreparaionDisplayData = (0, import_react10.useCallback)(
|
|
5181
|
+
({
|
|
5182
|
+
ids,
|
|
5183
|
+
xNode,
|
|
5184
|
+
service
|
|
5185
|
+
}) => {
|
|
5186
|
+
const jsonData = {
|
|
5187
|
+
model: "pos_preparation_display.display" /* POS_PREPARATION_DISPLAY */,
|
|
5188
|
+
method: "get_preparation_display_data" /* GET_PREPARATION_DISPLAY_DATA */,
|
|
5189
|
+
ids
|
|
5190
|
+
};
|
|
5191
|
+
return env?.requests.post(
|
|
5192
|
+
"/call" /* CALL_PATH */,
|
|
5193
|
+
jsonData,
|
|
5194
|
+
{
|
|
5195
|
+
headers: {
|
|
5196
|
+
"Content-Type": "application/json",
|
|
5197
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5198
|
+
}
|
|
5199
|
+
},
|
|
5200
|
+
service
|
|
5201
|
+
);
|
|
5202
|
+
},
|
|
5203
|
+
[env]
|
|
5204
|
+
);
|
|
5180
5205
|
const manageOnChange = (0, import_react10.useCallback)(
|
|
5181
5206
|
({
|
|
5182
5207
|
model,
|
|
@@ -5408,6 +5433,37 @@ function useViewService() {
|
|
|
5408
5433
|
},
|
|
5409
5434
|
[env]
|
|
5410
5435
|
);
|
|
5436
|
+
const changeOrderPreparaionState = (0, import_react10.useCallback)(
|
|
5437
|
+
({
|
|
5438
|
+
orderId,
|
|
5439
|
+
stageId,
|
|
5440
|
+
preparationDisplayId,
|
|
5441
|
+
xNode,
|
|
5442
|
+
service
|
|
5443
|
+
}) => {
|
|
5444
|
+
const jsonData = {
|
|
5445
|
+
model: "pos_preparation_display.order" /* POS_PREPARATION_ORDER */,
|
|
5446
|
+
method: "change_order_stage" /* CHANGE_ORDER_STAGE */,
|
|
5447
|
+
ids: orderId,
|
|
5448
|
+
kwargs: {
|
|
5449
|
+
stage_id: stageId,
|
|
5450
|
+
preparation_display_id: preparationDisplayId
|
|
5451
|
+
}
|
|
5452
|
+
};
|
|
5453
|
+
return env?.requests.post(
|
|
5454
|
+
"/call" /* CALL_PATH */,
|
|
5455
|
+
jsonData,
|
|
5456
|
+
{
|
|
5457
|
+
headers: {
|
|
5458
|
+
"Content-Type": "application/json",
|
|
5459
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5460
|
+
}
|
|
5461
|
+
},
|
|
5462
|
+
service
|
|
5463
|
+
);
|
|
5464
|
+
},
|
|
5465
|
+
[env]
|
|
5466
|
+
);
|
|
5411
5467
|
return {
|
|
5412
5468
|
getView,
|
|
5413
5469
|
getMenu,
|
|
@@ -5443,7 +5499,9 @@ function useViewService() {
|
|
|
5443
5499
|
handleCloseSession,
|
|
5444
5500
|
handleClosingDetailSession,
|
|
5445
5501
|
createPosConfig,
|
|
5446
|
-
searchJournal
|
|
5502
|
+
searchJournal,
|
|
5503
|
+
getPreparaionDisplayData,
|
|
5504
|
+
changeOrderPreparaionState
|
|
5447
5505
|
};
|
|
5448
5506
|
}
|
|
5449
5507
|
|
|
@@ -7735,6 +7793,50 @@ var useSearchJournal = () => {
|
|
|
7735
7793
|
};
|
|
7736
7794
|
var use_search_journal_default = useSearchJournal;
|
|
7737
7795
|
|
|
7796
|
+
// src/hooks/view/useGetPreparaionDisplayData.ts
|
|
7797
|
+
var import_react_query93 = require("@tanstack/react-query");
|
|
7798
|
+
var useGetPreparationDisplayData = () => {
|
|
7799
|
+
const { getPreparaionDisplayData } = useViewService();
|
|
7800
|
+
return (0, import_react_query93.useMutation)({
|
|
7801
|
+
mutationFn: ({
|
|
7802
|
+
ids,
|
|
7803
|
+
service,
|
|
7804
|
+
xNode
|
|
7805
|
+
}) => {
|
|
7806
|
+
return getPreparaionDisplayData({
|
|
7807
|
+
ids,
|
|
7808
|
+
service,
|
|
7809
|
+
xNode
|
|
7810
|
+
});
|
|
7811
|
+
}
|
|
7812
|
+
});
|
|
7813
|
+
};
|
|
7814
|
+
var useGetPreparaionDisplayData_default = useGetPreparationDisplayData;
|
|
7815
|
+
|
|
7816
|
+
// src/hooks/view/useChangeOrderPreparaionState.ts
|
|
7817
|
+
var import_react_query94 = require("@tanstack/react-query");
|
|
7818
|
+
var useChangeOrderPreparationState = () => {
|
|
7819
|
+
const { changeOrderPreparaionState } = useViewService();
|
|
7820
|
+
return (0, import_react_query94.useMutation)({
|
|
7821
|
+
mutationFn: ({
|
|
7822
|
+
orderId,
|
|
7823
|
+
stageId,
|
|
7824
|
+
preparationDisplayId,
|
|
7825
|
+
service,
|
|
7826
|
+
xNode
|
|
7827
|
+
}) => {
|
|
7828
|
+
return changeOrderPreparaionState({
|
|
7829
|
+
orderId,
|
|
7830
|
+
stageId,
|
|
7831
|
+
preparationDisplayId,
|
|
7832
|
+
service,
|
|
7833
|
+
xNode
|
|
7834
|
+
});
|
|
7835
|
+
}
|
|
7836
|
+
});
|
|
7837
|
+
};
|
|
7838
|
+
var useChangeOrderPreparaionState_default = useChangeOrderPreparationState;
|
|
7839
|
+
|
|
7738
7840
|
// src/provider/service-provider.tsx
|
|
7739
7841
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
7740
7842
|
var ServiceContext = (0, import_react13.createContext)(null);
|
|
@@ -7833,7 +7935,9 @@ var ServiceProvider = ({
|
|
|
7833
7935
|
useCreatePosConfig: use_create_pos_config_default,
|
|
7834
7936
|
useSearchJournal: use_search_journal_default,
|
|
7835
7937
|
useGetTenantMapping: use_get_tenant_mapping_default,
|
|
7836
|
-
useGetToken: use_get_token_default
|
|
7938
|
+
useGetToken: use_get_token_default,
|
|
7939
|
+
useGetPreparationDisplayData: useGetPreparaionDisplayData_default,
|
|
7940
|
+
useChangeOrderPreparaionState: useChangeOrderPreparaionState_default
|
|
7837
7941
|
};
|
|
7838
7942
|
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ServiceContext.Provider, { value: services, children });
|
|
7839
7943
|
};
|
package/dist/provider.mjs
CHANGED
|
@@ -5134,6 +5134,31 @@ function useViewService() {
|
|
|
5134
5134
|
},
|
|
5135
5135
|
[env]
|
|
5136
5136
|
);
|
|
5137
|
+
const getPreparaionDisplayData = useCallback9(
|
|
5138
|
+
({
|
|
5139
|
+
ids,
|
|
5140
|
+
xNode,
|
|
5141
|
+
service
|
|
5142
|
+
}) => {
|
|
5143
|
+
const jsonData = {
|
|
5144
|
+
model: "pos_preparation_display.display" /* POS_PREPARATION_DISPLAY */,
|
|
5145
|
+
method: "get_preparation_display_data" /* GET_PREPARATION_DISPLAY_DATA */,
|
|
5146
|
+
ids
|
|
5147
|
+
};
|
|
5148
|
+
return env?.requests.post(
|
|
5149
|
+
"/call" /* CALL_PATH */,
|
|
5150
|
+
jsonData,
|
|
5151
|
+
{
|
|
5152
|
+
headers: {
|
|
5153
|
+
"Content-Type": "application/json",
|
|
5154
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5155
|
+
}
|
|
5156
|
+
},
|
|
5157
|
+
service
|
|
5158
|
+
);
|
|
5159
|
+
},
|
|
5160
|
+
[env]
|
|
5161
|
+
);
|
|
5137
5162
|
const manageOnChange = useCallback9(
|
|
5138
5163
|
({
|
|
5139
5164
|
model,
|
|
@@ -5365,6 +5390,37 @@ function useViewService() {
|
|
|
5365
5390
|
},
|
|
5366
5391
|
[env]
|
|
5367
5392
|
);
|
|
5393
|
+
const changeOrderPreparaionState = useCallback9(
|
|
5394
|
+
({
|
|
5395
|
+
orderId,
|
|
5396
|
+
stageId,
|
|
5397
|
+
preparationDisplayId,
|
|
5398
|
+
xNode,
|
|
5399
|
+
service
|
|
5400
|
+
}) => {
|
|
5401
|
+
const jsonData = {
|
|
5402
|
+
model: "pos_preparation_display.order" /* POS_PREPARATION_ORDER */,
|
|
5403
|
+
method: "change_order_stage" /* CHANGE_ORDER_STAGE */,
|
|
5404
|
+
ids: orderId,
|
|
5405
|
+
kwargs: {
|
|
5406
|
+
stage_id: stageId,
|
|
5407
|
+
preparation_display_id: preparationDisplayId
|
|
5408
|
+
}
|
|
5409
|
+
};
|
|
5410
|
+
return env?.requests.post(
|
|
5411
|
+
"/call" /* CALL_PATH */,
|
|
5412
|
+
jsonData,
|
|
5413
|
+
{
|
|
5414
|
+
headers: {
|
|
5415
|
+
"Content-Type": "application/json",
|
|
5416
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5417
|
+
}
|
|
5418
|
+
},
|
|
5419
|
+
service
|
|
5420
|
+
);
|
|
5421
|
+
},
|
|
5422
|
+
[env]
|
|
5423
|
+
);
|
|
5368
5424
|
return {
|
|
5369
5425
|
getView,
|
|
5370
5426
|
getMenu,
|
|
@@ -5400,7 +5456,9 @@ function useViewService() {
|
|
|
5400
5456
|
handleCloseSession,
|
|
5401
5457
|
handleClosingDetailSession,
|
|
5402
5458
|
createPosConfig,
|
|
5403
|
-
searchJournal
|
|
5459
|
+
searchJournal,
|
|
5460
|
+
getPreparaionDisplayData,
|
|
5461
|
+
changeOrderPreparaionState
|
|
5404
5462
|
};
|
|
5405
5463
|
}
|
|
5406
5464
|
|
|
@@ -7692,6 +7750,50 @@ var useSearchJournal = () => {
|
|
|
7692
7750
|
};
|
|
7693
7751
|
var use_search_journal_default = useSearchJournal;
|
|
7694
7752
|
|
|
7753
|
+
// src/hooks/view/useGetPreparaionDisplayData.ts
|
|
7754
|
+
import { useMutation as useMutation71 } from "@tanstack/react-query";
|
|
7755
|
+
var useGetPreparationDisplayData = () => {
|
|
7756
|
+
const { getPreparaionDisplayData } = useViewService();
|
|
7757
|
+
return useMutation71({
|
|
7758
|
+
mutationFn: ({
|
|
7759
|
+
ids,
|
|
7760
|
+
service,
|
|
7761
|
+
xNode
|
|
7762
|
+
}) => {
|
|
7763
|
+
return getPreparaionDisplayData({
|
|
7764
|
+
ids,
|
|
7765
|
+
service,
|
|
7766
|
+
xNode
|
|
7767
|
+
});
|
|
7768
|
+
}
|
|
7769
|
+
});
|
|
7770
|
+
};
|
|
7771
|
+
var useGetPreparaionDisplayData_default = useGetPreparationDisplayData;
|
|
7772
|
+
|
|
7773
|
+
// src/hooks/view/useChangeOrderPreparaionState.ts
|
|
7774
|
+
import { useMutation as useMutation72 } from "@tanstack/react-query";
|
|
7775
|
+
var useChangeOrderPreparationState = () => {
|
|
7776
|
+
const { changeOrderPreparaionState } = useViewService();
|
|
7777
|
+
return useMutation72({
|
|
7778
|
+
mutationFn: ({
|
|
7779
|
+
orderId,
|
|
7780
|
+
stageId,
|
|
7781
|
+
preparationDisplayId,
|
|
7782
|
+
service,
|
|
7783
|
+
xNode
|
|
7784
|
+
}) => {
|
|
7785
|
+
return changeOrderPreparaionState({
|
|
7786
|
+
orderId,
|
|
7787
|
+
stageId,
|
|
7788
|
+
preparationDisplayId,
|
|
7789
|
+
service,
|
|
7790
|
+
xNode
|
|
7791
|
+
});
|
|
7792
|
+
}
|
|
7793
|
+
});
|
|
7794
|
+
};
|
|
7795
|
+
var useChangeOrderPreparaionState_default = useChangeOrderPreparationState;
|
|
7796
|
+
|
|
7695
7797
|
// src/provider/service-provider.tsx
|
|
7696
7798
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
7697
7799
|
var ServiceContext = createContext2(null);
|
|
@@ -7790,7 +7892,9 @@ var ServiceProvider = ({
|
|
|
7790
7892
|
useCreatePosConfig: use_create_pos_config_default,
|
|
7791
7893
|
useSearchJournal: use_search_journal_default,
|
|
7792
7894
|
useGetTenantMapping: use_get_tenant_mapping_default,
|
|
7793
|
-
useGetToken: use_get_token_default
|
|
7895
|
+
useGetToken: use_get_token_default,
|
|
7896
|
+
useGetPreparationDisplayData: useGetPreparaionDisplayData_default,
|
|
7897
|
+
useChangeOrderPreparaionState: useChangeOrderPreparaionState_default
|
|
7794
7898
|
};
|
|
7795
7899
|
return /* @__PURE__ */ jsx6(ServiceContext.Provider, { value: services, children });
|
|
7796
7900
|
};
|
package/dist/services.d.mts
CHANGED
|
@@ -449,6 +449,18 @@ declare function useViewService(): {
|
|
|
449
449
|
service?: string;
|
|
450
450
|
xNode?: string;
|
|
451
451
|
}) => any;
|
|
452
|
+
getPreparaionDisplayData: ({ ids, xNode, service, }: {
|
|
453
|
+
ids: any;
|
|
454
|
+
service?: string;
|
|
455
|
+
xNode?: string;
|
|
456
|
+
}) => any;
|
|
457
|
+
changeOrderPreparaionState: ({ orderId, stageId, preparationDisplayId, xNode, service, }: {
|
|
458
|
+
orderId: number;
|
|
459
|
+
stageId: number;
|
|
460
|
+
preparationDisplayId: number;
|
|
461
|
+
service?: string;
|
|
462
|
+
xNode?: string;
|
|
463
|
+
}) => any;
|
|
452
464
|
};
|
|
453
465
|
|
|
454
466
|
export { useActionService, useAuthService, useCompanyService, useExcelService, useFormService, useKanbanService, useModelService, useUserService, useViewService };
|
package/dist/services.d.ts
CHANGED
|
@@ -449,6 +449,18 @@ declare function useViewService(): {
|
|
|
449
449
|
service?: string;
|
|
450
450
|
xNode?: string;
|
|
451
451
|
}) => any;
|
|
452
|
+
getPreparaionDisplayData: ({ ids, xNode, service, }: {
|
|
453
|
+
ids: any;
|
|
454
|
+
service?: string;
|
|
455
|
+
xNode?: string;
|
|
456
|
+
}) => any;
|
|
457
|
+
changeOrderPreparaionState: ({ orderId, stageId, preparationDisplayId, xNode, service, }: {
|
|
458
|
+
orderId: number;
|
|
459
|
+
stageId: number;
|
|
460
|
+
preparationDisplayId: number;
|
|
461
|
+
service?: string;
|
|
462
|
+
xNode?: string;
|
|
463
|
+
}) => any;
|
|
452
464
|
};
|
|
453
465
|
|
|
454
466
|
export { useActionService, useAuthService, useCompanyService, useExcelService, useFormService, useKanbanService, useModelService, useUserService, useViewService };
|
package/dist/services.js
CHANGED
|
@@ -3129,6 +3129,12 @@ var import_react_query91 = require("@tanstack/react-query");
|
|
|
3129
3129
|
// src/hooks/view/use-search-journal.ts
|
|
3130
3130
|
var import_react_query92 = require("@tanstack/react-query");
|
|
3131
3131
|
|
|
3132
|
+
// src/hooks/view/useGetPreparaionDisplayData.ts
|
|
3133
|
+
var import_react_query93 = require("@tanstack/react-query");
|
|
3134
|
+
|
|
3135
|
+
// src/hooks/view/useChangeOrderPreparaionState.ts
|
|
3136
|
+
var import_react_query94 = require("@tanstack/react-query");
|
|
3137
|
+
|
|
3132
3138
|
// src/provider/service-provider.tsx
|
|
3133
3139
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
3134
3140
|
var ServiceContext = (0, import_react4.createContext)(null);
|
|
@@ -5339,6 +5345,31 @@ function useViewService() {
|
|
|
5339
5345
|
},
|
|
5340
5346
|
[env]
|
|
5341
5347
|
);
|
|
5348
|
+
const getPreparaionDisplayData = (0, import_react14.useCallback)(
|
|
5349
|
+
({
|
|
5350
|
+
ids,
|
|
5351
|
+
xNode,
|
|
5352
|
+
service
|
|
5353
|
+
}) => {
|
|
5354
|
+
const jsonData = {
|
|
5355
|
+
model: "pos_preparation_display.display" /* POS_PREPARATION_DISPLAY */,
|
|
5356
|
+
method: "get_preparation_display_data" /* GET_PREPARATION_DISPLAY_DATA */,
|
|
5357
|
+
ids
|
|
5358
|
+
};
|
|
5359
|
+
return env?.requests.post(
|
|
5360
|
+
"/call" /* CALL_PATH */,
|
|
5361
|
+
jsonData,
|
|
5362
|
+
{
|
|
5363
|
+
headers: {
|
|
5364
|
+
"Content-Type": "application/json",
|
|
5365
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5366
|
+
}
|
|
5367
|
+
},
|
|
5368
|
+
service
|
|
5369
|
+
);
|
|
5370
|
+
},
|
|
5371
|
+
[env]
|
|
5372
|
+
);
|
|
5342
5373
|
const manageOnChange = (0, import_react14.useCallback)(
|
|
5343
5374
|
({
|
|
5344
5375
|
model,
|
|
@@ -5570,6 +5601,37 @@ function useViewService() {
|
|
|
5570
5601
|
},
|
|
5571
5602
|
[env]
|
|
5572
5603
|
);
|
|
5604
|
+
const changeOrderPreparaionState = (0, import_react14.useCallback)(
|
|
5605
|
+
({
|
|
5606
|
+
orderId,
|
|
5607
|
+
stageId,
|
|
5608
|
+
preparationDisplayId,
|
|
5609
|
+
xNode,
|
|
5610
|
+
service
|
|
5611
|
+
}) => {
|
|
5612
|
+
const jsonData = {
|
|
5613
|
+
model: "pos_preparation_display.order" /* POS_PREPARATION_ORDER */,
|
|
5614
|
+
method: "change_order_stage" /* CHANGE_ORDER_STAGE */,
|
|
5615
|
+
ids: orderId,
|
|
5616
|
+
kwargs: {
|
|
5617
|
+
stage_id: stageId,
|
|
5618
|
+
preparation_display_id: preparationDisplayId
|
|
5619
|
+
}
|
|
5620
|
+
};
|
|
5621
|
+
return env?.requests.post(
|
|
5622
|
+
"/call" /* CALL_PATH */,
|
|
5623
|
+
jsonData,
|
|
5624
|
+
{
|
|
5625
|
+
headers: {
|
|
5626
|
+
"Content-Type": "application/json",
|
|
5627
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5628
|
+
}
|
|
5629
|
+
},
|
|
5630
|
+
service
|
|
5631
|
+
);
|
|
5632
|
+
},
|
|
5633
|
+
[env]
|
|
5634
|
+
);
|
|
5573
5635
|
return {
|
|
5574
5636
|
getView,
|
|
5575
5637
|
getMenu,
|
|
@@ -5605,7 +5667,9 @@ function useViewService() {
|
|
|
5605
5667
|
handleCloseSession,
|
|
5606
5668
|
handleClosingDetailSession,
|
|
5607
5669
|
createPosConfig,
|
|
5608
|
-
searchJournal
|
|
5670
|
+
searchJournal,
|
|
5671
|
+
getPreparaionDisplayData,
|
|
5672
|
+
changeOrderPreparaionState
|
|
5609
5673
|
};
|
|
5610
5674
|
}
|
|
5611
5675
|
// Annotate the CommonJS export names for ESM import in node:
|
package/dist/services.mjs
CHANGED
|
@@ -3085,6 +3085,12 @@ import { useMutation as useMutation69 } from "@tanstack/react-query";
|
|
|
3085
3085
|
// src/hooks/view/use-search-journal.ts
|
|
3086
3086
|
import { useMutation as useMutation70 } from "@tanstack/react-query";
|
|
3087
3087
|
|
|
3088
|
+
// src/hooks/view/useGetPreparaionDisplayData.ts
|
|
3089
|
+
import { useMutation as useMutation71 } from "@tanstack/react-query";
|
|
3090
|
+
|
|
3091
|
+
// src/hooks/view/useChangeOrderPreparaionState.ts
|
|
3092
|
+
import { useMutation as useMutation72 } from "@tanstack/react-query";
|
|
3093
|
+
|
|
3088
3094
|
// src/provider/service-provider.tsx
|
|
3089
3095
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
3090
3096
|
var ServiceContext = createContext2(null);
|
|
@@ -5295,6 +5301,31 @@ function useViewService() {
|
|
|
5295
5301
|
},
|
|
5296
5302
|
[env]
|
|
5297
5303
|
);
|
|
5304
|
+
const getPreparaionDisplayData = useCallback10(
|
|
5305
|
+
({
|
|
5306
|
+
ids,
|
|
5307
|
+
xNode,
|
|
5308
|
+
service
|
|
5309
|
+
}) => {
|
|
5310
|
+
const jsonData = {
|
|
5311
|
+
model: "pos_preparation_display.display" /* POS_PREPARATION_DISPLAY */,
|
|
5312
|
+
method: "get_preparation_display_data" /* GET_PREPARATION_DISPLAY_DATA */,
|
|
5313
|
+
ids
|
|
5314
|
+
};
|
|
5315
|
+
return env?.requests.post(
|
|
5316
|
+
"/call" /* CALL_PATH */,
|
|
5317
|
+
jsonData,
|
|
5318
|
+
{
|
|
5319
|
+
headers: {
|
|
5320
|
+
"Content-Type": "application/json",
|
|
5321
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5322
|
+
}
|
|
5323
|
+
},
|
|
5324
|
+
service
|
|
5325
|
+
);
|
|
5326
|
+
},
|
|
5327
|
+
[env]
|
|
5328
|
+
);
|
|
5298
5329
|
const manageOnChange = useCallback10(
|
|
5299
5330
|
({
|
|
5300
5331
|
model,
|
|
@@ -5526,6 +5557,37 @@ function useViewService() {
|
|
|
5526
5557
|
},
|
|
5527
5558
|
[env]
|
|
5528
5559
|
);
|
|
5560
|
+
const changeOrderPreparaionState = useCallback10(
|
|
5561
|
+
({
|
|
5562
|
+
orderId,
|
|
5563
|
+
stageId,
|
|
5564
|
+
preparationDisplayId,
|
|
5565
|
+
xNode,
|
|
5566
|
+
service
|
|
5567
|
+
}) => {
|
|
5568
|
+
const jsonData = {
|
|
5569
|
+
model: "pos_preparation_display.order" /* POS_PREPARATION_ORDER */,
|
|
5570
|
+
method: "change_order_stage" /* CHANGE_ORDER_STAGE */,
|
|
5571
|
+
ids: orderId,
|
|
5572
|
+
kwargs: {
|
|
5573
|
+
stage_id: stageId,
|
|
5574
|
+
preparation_display_id: preparationDisplayId
|
|
5575
|
+
}
|
|
5576
|
+
};
|
|
5577
|
+
return env?.requests.post(
|
|
5578
|
+
"/call" /* CALL_PATH */,
|
|
5579
|
+
jsonData,
|
|
5580
|
+
{
|
|
5581
|
+
headers: {
|
|
5582
|
+
"Content-Type": "application/json",
|
|
5583
|
+
...xNode ? { "X-Node": xNode } : {}
|
|
5584
|
+
}
|
|
5585
|
+
},
|
|
5586
|
+
service
|
|
5587
|
+
);
|
|
5588
|
+
},
|
|
5589
|
+
[env]
|
|
5590
|
+
);
|
|
5529
5591
|
return {
|
|
5530
5592
|
getView,
|
|
5531
5593
|
getMenu,
|
|
@@ -5561,7 +5623,9 @@ function useViewService() {
|
|
|
5561
5623
|
handleCloseSession,
|
|
5562
5624
|
handleClosingDetailSession,
|
|
5563
5625
|
createPosConfig,
|
|
5564
|
-
searchJournal
|
|
5626
|
+
searchJournal,
|
|
5627
|
+
getPreparaionDisplayData,
|
|
5628
|
+
changeOrderPreparaionState
|
|
5565
5629
|
};
|
|
5566
5630
|
}
|
|
5567
5631
|
export {
|
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fctc/interface-logic",
|
|
3
|
-
"version": "3.2.
|
|
4
|
-
"types": "dist/index.d.ts",
|
|
5
|
-
"main": "dist/index.cjs",
|
|
6
|
-
"module": "dist/index.mjs",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": {
|
|
9
|
-
"types": "./dist/index.d.ts",
|
|
10
|
-
"import": "./dist/index.mjs",
|
|
11
|
-
"require": "./dist/index.cjs"
|
|
12
|
-
},
|
|
13
|
-
"./configs": {
|
|
14
|
-
"types": "./dist/configs.d.ts",
|
|
15
|
-
"import": "./dist/configs.mjs",
|
|
16
|
-
"require": "./dist/configs.cjs"
|
|
17
|
-
},
|
|
18
|
-
"./constants": {
|
|
19
|
-
"types": "./dist/constants.d.ts",
|
|
20
|
-
"import": "./dist/constants.mjs",
|
|
21
|
-
"require": "./dist/constants.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./environment": {
|
|
24
|
-
"types": "./dist/environment.d.ts",
|
|
25
|
-
"import": "./dist/environment.mjs",
|
|
26
|
-
"require": "./dist/environment.cjs"
|
|
27
|
-
},
|
|
28
|
-
"./hooks": {
|
|
29
|
-
"types": "./dist/hooks.d.ts",
|
|
30
|
-
"import": "./dist/hooks.mjs",
|
|
31
|
-
"require": "./dist/hooks.cjs"
|
|
32
|
-
},
|
|
33
|
-
"./provider": {
|
|
34
|
-
"types": "./dist/provider.d.ts",
|
|
35
|
-
"import": "./dist/provider.mjs",
|
|
36
|
-
"require": "./dist/provider.cjs"
|
|
37
|
-
},
|
|
38
|
-
"./services": {
|
|
39
|
-
"types": "./dist/services.d.ts",
|
|
40
|
-
"import": "./dist/services.mjs",
|
|
41
|
-
"require": "./dist/services.cjs"
|
|
42
|
-
},
|
|
43
|
-
"./store": {
|
|
44
|
-
"types": "./dist/store.d.ts",
|
|
45
|
-
"import": "./dist/store.mjs",
|
|
46
|
-
"require": "./dist/store.cjs"
|
|
47
|
-
},
|
|
48
|
-
"./utils": {
|
|
49
|
-
"types": "./dist/utils.d.ts",
|
|
50
|
-
"import": "./dist/utils.mjs",
|
|
51
|
-
"require": "./dist/utils.cjs"
|
|
52
|
-
},
|
|
53
|
-
"./types": {
|
|
54
|
-
"types": "./dist/types.d.ts",
|
|
55
|
-
"import": "./dist/types.mjs",
|
|
56
|
-
"require": "./dist/types.cjs"
|
|
57
|
-
},
|
|
58
|
-
"./models": {
|
|
59
|
-
"types": "./dist/models.d.ts",
|
|
60
|
-
"import": "./dist/models.mjs",
|
|
61
|
-
"require": "./dist/models.cjs"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
"files": [
|
|
65
|
-
"dist"
|
|
66
|
-
],
|
|
67
|
-
"scripts": {
|
|
68
|
-
"build": "tsup",
|
|
69
|
-
"test": "jest"
|
|
70
|
-
},
|
|
71
|
-
"peerDependencies": {
|
|
72
|
-
"react": "18.0.0",
|
|
73
|
-
"@tanstack/react-query": "^5.83.0"
|
|
74
|
-
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
-
"@tanstack/react-query": "^5.83.0",
|
|
78
|
-
"axios": "^1.11.0",
|
|
79
|
-
"moment": "^2.30.1",
|
|
80
|
-
"react-redux": "^9.2.0"
|
|
81
|
-
},
|
|
82
|
-
"devDependencies": {
|
|
83
|
-
"@types/react": "^18.3.1",
|
|
84
|
-
"react": "18.0.0",
|
|
85
|
-
"jest": "^29.7.0",
|
|
86
|
-
"tsup": "^8.0.0",
|
|
87
|
-
"typescript": "^5.8.2"
|
|
88
|
-
},
|
|
89
|
-
"packageManager": "yarn@1.22.0"
|
|
90
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fctc/interface-logic",
|
|
3
|
+
"version": "3.2.8",
|
|
4
|
+
"types": "dist/index.d.ts",
|
|
5
|
+
"main": "dist/index.cjs",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.mjs",
|
|
11
|
+
"require": "./dist/index.cjs"
|
|
12
|
+
},
|
|
13
|
+
"./configs": {
|
|
14
|
+
"types": "./dist/configs.d.ts",
|
|
15
|
+
"import": "./dist/configs.mjs",
|
|
16
|
+
"require": "./dist/configs.cjs"
|
|
17
|
+
},
|
|
18
|
+
"./constants": {
|
|
19
|
+
"types": "./dist/constants.d.ts",
|
|
20
|
+
"import": "./dist/constants.mjs",
|
|
21
|
+
"require": "./dist/constants.cjs"
|
|
22
|
+
},
|
|
23
|
+
"./environment": {
|
|
24
|
+
"types": "./dist/environment.d.ts",
|
|
25
|
+
"import": "./dist/environment.mjs",
|
|
26
|
+
"require": "./dist/environment.cjs"
|
|
27
|
+
},
|
|
28
|
+
"./hooks": {
|
|
29
|
+
"types": "./dist/hooks.d.ts",
|
|
30
|
+
"import": "./dist/hooks.mjs",
|
|
31
|
+
"require": "./dist/hooks.cjs"
|
|
32
|
+
},
|
|
33
|
+
"./provider": {
|
|
34
|
+
"types": "./dist/provider.d.ts",
|
|
35
|
+
"import": "./dist/provider.mjs",
|
|
36
|
+
"require": "./dist/provider.cjs"
|
|
37
|
+
},
|
|
38
|
+
"./services": {
|
|
39
|
+
"types": "./dist/services.d.ts",
|
|
40
|
+
"import": "./dist/services.mjs",
|
|
41
|
+
"require": "./dist/services.cjs"
|
|
42
|
+
},
|
|
43
|
+
"./store": {
|
|
44
|
+
"types": "./dist/store.d.ts",
|
|
45
|
+
"import": "./dist/store.mjs",
|
|
46
|
+
"require": "./dist/store.cjs"
|
|
47
|
+
},
|
|
48
|
+
"./utils": {
|
|
49
|
+
"types": "./dist/utils.d.ts",
|
|
50
|
+
"import": "./dist/utils.mjs",
|
|
51
|
+
"require": "./dist/utils.cjs"
|
|
52
|
+
},
|
|
53
|
+
"./types": {
|
|
54
|
+
"types": "./dist/types.d.ts",
|
|
55
|
+
"import": "./dist/types.mjs",
|
|
56
|
+
"require": "./dist/types.cjs"
|
|
57
|
+
},
|
|
58
|
+
"./models": {
|
|
59
|
+
"types": "./dist/models.d.ts",
|
|
60
|
+
"import": "./dist/models.mjs",
|
|
61
|
+
"require": "./dist/models.cjs"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"files": [
|
|
65
|
+
"dist"
|
|
66
|
+
],
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "tsup",
|
|
69
|
+
"test": "jest"
|
|
70
|
+
},
|
|
71
|
+
"peerDependencies": {
|
|
72
|
+
"react": "18.0.0",
|
|
73
|
+
"@tanstack/react-query": "^5.83.0"
|
|
74
|
+
},
|
|
75
|
+
"dependencies": {
|
|
76
|
+
"@reduxjs/toolkit": "^2.8.2",
|
|
77
|
+
"@tanstack/react-query": "^5.83.0",
|
|
78
|
+
"axios": "^1.11.0",
|
|
79
|
+
"moment": "^2.30.1",
|
|
80
|
+
"react-redux": "^9.2.0"
|
|
81
|
+
},
|
|
82
|
+
"devDependencies": {
|
|
83
|
+
"@types/react": "^18.3.1",
|
|
84
|
+
"react": "18.0.0",
|
|
85
|
+
"jest": "^29.7.0",
|
|
86
|
+
"tsup": "^8.0.0",
|
|
87
|
+
"typescript": "^5.8.2"
|
|
88
|
+
},
|
|
89
|
+
"packageManager": "yarn@1.22.0"
|
|
90
|
+
}
|