@fctc/interface-logic 4.9.9 → 5.0.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/constants.d.mts +3 -1
- package/dist/constants.d.ts +3 -1
- package/dist/constants.js +3 -1
- package/dist/constants.mjs +3 -1
- package/dist/hooks.js +72 -7
- package/dist/hooks.mjs +72 -7
- package/dist/index.js +72 -7
- package/dist/index.mjs +72 -7
- package/dist/provider.js +93 -28
- package/dist/provider.mjs +82 -17
- package/dist/services.d.mts +18 -0
- package/dist/services.d.ts +18 -0
- package/dist/services.js +179 -120
- package/dist/services.mjs +176 -117
- package/package.json +1 -1
package/dist/services.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/services/action-service/index.ts
|
|
2
|
-
import { useCallback as
|
|
2
|
+
import { useCallback as useCallback62 } from "react";
|
|
3
3
|
|
|
4
4
|
// src/constants/api/uri-constant.ts
|
|
5
5
|
var UriConstants = /* @__PURE__ */ ((UriConstants2) => {
|
|
@@ -104,6 +104,8 @@ var LoadDataModel = /* @__PURE__ */ ((LoadDataModel2) => {
|
|
|
104
104
|
LoadDataModel2["RESTAURANT_TABLE"] = "restaurant.table";
|
|
105
105
|
LoadDataModel2["RESTAURANT_FLOOR"] = "restaurant.floor";
|
|
106
106
|
LoadDataModel2["POS_MAKE_PAYMENT"] = "pos.make.payment";
|
|
107
|
+
LoadDataModel2["RES_COUNTRY_WARD"] = "res.country.ward";
|
|
108
|
+
LoadDataModel2["RES_PARTNER_TITLE"] = "res.partner.title";
|
|
107
109
|
return LoadDataModel2;
|
|
108
110
|
})(LoadDataModel || {});
|
|
109
111
|
var MODEL_TO_TABLE = {
|
|
@@ -128,7 +130,7 @@ var MODEL_TO_TABLE = {
|
|
|
128
130
|
["restaurant.floor" /* RESTAURANT_FLOOR */]: "restaurant_floors" /* RESTAURANT_FLOORS */,
|
|
129
131
|
["restaurant.table" /* RESTAURANT_TABLE */]: "restaurant_tables" /* RESTAURANT_TABLES */,
|
|
130
132
|
["res.country.state" /* RES_COUNTRY_STATE */]: "states" /* STATES */,
|
|
131
|
-
["res.country.ward" /*
|
|
133
|
+
["res.country.ward" /* RES_COUNTRY_WARD */]: "wards" /* WARDS */,
|
|
132
134
|
["res.partner.title" /* RES_PARTNER_TITLE */]: "partner_titles" /* PARTNER_TITLES */
|
|
133
135
|
};
|
|
134
136
|
|
|
@@ -3155,27 +3157,6 @@ import { useMutation as useMutation53 } from "@tanstack/react-query";
|
|
|
3155
3157
|
// src/hooks/view/use-get-ward.ts
|
|
3156
3158
|
import { useMutation as useMutation54 } from "@tanstack/react-query";
|
|
3157
3159
|
|
|
3158
|
-
// src/hooks/view/use-get-city.ts
|
|
3159
|
-
import { useMutation as useMutation55 } from "@tanstack/react-query";
|
|
3160
|
-
|
|
3161
|
-
// src/hooks/view/use-get-country.ts
|
|
3162
|
-
import { useMutation as useMutation56 } from "@tanstack/react-query";
|
|
3163
|
-
|
|
3164
|
-
// src/hooks/view/use-get-partner-title.ts
|
|
3165
|
-
import { useMutation as useMutation57 } from "@tanstack/react-query";
|
|
3166
|
-
|
|
3167
|
-
// src/hooks/view/use-action-server-home.ts
|
|
3168
|
-
import { useMutation as useMutation58 } from "@tanstack/react-query";
|
|
3169
|
-
|
|
3170
|
-
// src/hooks/chart/use-read-group.ts
|
|
3171
|
-
import { useQuery as useQuery24 } from "@tanstack/react-query";
|
|
3172
|
-
|
|
3173
|
-
// src/hooks/chart/use-get-data-chart.ts
|
|
3174
|
-
import { useQuery as useQuery25 } from "@tanstack/react-query";
|
|
3175
|
-
|
|
3176
|
-
// src/hooks/pos/use-add-entity.ts
|
|
3177
|
-
import { useMutation as useMutation59 } from "@tanstack/react-query";
|
|
3178
|
-
|
|
3179
3160
|
// src/services/pos-service/get-a-session.ts
|
|
3180
3161
|
import { useCallback as useCallback3 } from "react";
|
|
3181
3162
|
var getASessionService = (env) => {
|
|
@@ -5227,6 +5208,60 @@ var assignRoleService = (env) => {
|
|
|
5227
5208
|
};
|
|
5228
5209
|
};
|
|
5229
5210
|
|
|
5211
|
+
// src/services/pos-service/supabase/get-states.ts
|
|
5212
|
+
import { useCallback as useCallback59 } from "react";
|
|
5213
|
+
var getStatesSupabaseService = () => {
|
|
5214
|
+
const supabase = useSupabaseOptional();
|
|
5215
|
+
const getStatesSupabase = useCallback59(async () => {
|
|
5216
|
+
if (!supabase) return { data: [], fields: {}, relations: {} };
|
|
5217
|
+
const { data, error } = await supabase.from("states" /* STATES */).select("*");
|
|
5218
|
+
if (error) {
|
|
5219
|
+
console.error("Error fetching states:", error);
|
|
5220
|
+
return { data: [], fields: {}, relations: {} };
|
|
5221
|
+
}
|
|
5222
|
+
return { data: data || [], fields: {}, relations: {} };
|
|
5223
|
+
}, [supabase]);
|
|
5224
|
+
return {
|
|
5225
|
+
getStatesSupabase
|
|
5226
|
+
};
|
|
5227
|
+
};
|
|
5228
|
+
|
|
5229
|
+
// src/services/pos-service/supabase/get-wards.ts
|
|
5230
|
+
import { useCallback as useCallback60 } from "react";
|
|
5231
|
+
var getWardsSupabaseService = () => {
|
|
5232
|
+
const supabase = useSupabaseOptional();
|
|
5233
|
+
const getWardsSupabase = useCallback60(async () => {
|
|
5234
|
+
if (!supabase) return { data: [], fields: {}, relations: {} };
|
|
5235
|
+
const { data, error } = await supabase.from("wards" /* WARDS */).select("*");
|
|
5236
|
+
if (error) {
|
|
5237
|
+
console.error("Error fetching wards:", error);
|
|
5238
|
+
return { data: [], fields: {}, relations: {} };
|
|
5239
|
+
}
|
|
5240
|
+
return { data: data || [], fields: {}, relations: {} };
|
|
5241
|
+
}, [supabase]);
|
|
5242
|
+
return {
|
|
5243
|
+
getWardsSupabase
|
|
5244
|
+
};
|
|
5245
|
+
};
|
|
5246
|
+
|
|
5247
|
+
// src/services/pos-service/supabase/get-partner-titles.ts
|
|
5248
|
+
import { useCallback as useCallback61 } from "react";
|
|
5249
|
+
var getPartnerTitlesSupabaseService = () => {
|
|
5250
|
+
const supabase = useSupabaseOptional();
|
|
5251
|
+
const getPartnerTitlesSupabase = useCallback61(async () => {
|
|
5252
|
+
if (!supabase) return { data: [], fields: {}, relations: {} };
|
|
5253
|
+
const { data, error } = await supabase.from("partner_titles" /* PARTNER_TITLES */).select("*");
|
|
5254
|
+
if (error) {
|
|
5255
|
+
console.error("Error fetching partner titles:", error);
|
|
5256
|
+
return { data: [], fields: {}, relations: {} };
|
|
5257
|
+
}
|
|
5258
|
+
return { data: data || [], fields: {}, relations: {} };
|
|
5259
|
+
}, [supabase]);
|
|
5260
|
+
return {
|
|
5261
|
+
getPartnerTitlesSupabase
|
|
5262
|
+
};
|
|
5263
|
+
};
|
|
5264
|
+
|
|
5230
5265
|
// src/services/pos-service/index.ts
|
|
5231
5266
|
var serviceFactories = [
|
|
5232
5267
|
addEntityService,
|
|
@@ -5284,7 +5319,10 @@ var serviceFactories = [
|
|
|
5284
5319
|
uploadImageSupabaseService,
|
|
5285
5320
|
getListUsersService,
|
|
5286
5321
|
getListRolesService,
|
|
5287
|
-
assignRoleService
|
|
5322
|
+
assignRoleService,
|
|
5323
|
+
getStatesSupabaseService,
|
|
5324
|
+
getWardsSupabaseService,
|
|
5325
|
+
getPartnerTitlesSupabaseService
|
|
5288
5326
|
];
|
|
5289
5327
|
var usePosService = () => {
|
|
5290
5328
|
const { env } = useEnv();
|
|
@@ -5296,6 +5334,27 @@ var usePosService = () => {
|
|
|
5296
5334
|
return service;
|
|
5297
5335
|
};
|
|
5298
5336
|
|
|
5337
|
+
// src/hooks/view/use-get-city.ts
|
|
5338
|
+
import { useMutation as useMutation55 } from "@tanstack/react-query";
|
|
5339
|
+
|
|
5340
|
+
// src/hooks/view/use-get-country.ts
|
|
5341
|
+
import { useMutation as useMutation56 } from "@tanstack/react-query";
|
|
5342
|
+
|
|
5343
|
+
// src/hooks/view/use-get-partner-title.ts
|
|
5344
|
+
import { useMutation as useMutation57 } from "@tanstack/react-query";
|
|
5345
|
+
|
|
5346
|
+
// src/hooks/view/use-action-server-home.ts
|
|
5347
|
+
import { useMutation as useMutation58 } from "@tanstack/react-query";
|
|
5348
|
+
|
|
5349
|
+
// src/hooks/chart/use-read-group.ts
|
|
5350
|
+
import { useQuery as useQuery24 } from "@tanstack/react-query";
|
|
5351
|
+
|
|
5352
|
+
// src/hooks/chart/use-get-data-chart.ts
|
|
5353
|
+
import { useQuery as useQuery25 } from "@tanstack/react-query";
|
|
5354
|
+
|
|
5355
|
+
// src/hooks/pos/use-add-entity.ts
|
|
5356
|
+
import { useMutation as useMutation59 } from "@tanstack/react-query";
|
|
5357
|
+
|
|
5299
5358
|
// src/hooks/pos/use-get-a-session.ts
|
|
5300
5359
|
import { useMutation as useMutation60 } from "@tanstack/react-query";
|
|
5301
5360
|
|
|
@@ -5472,7 +5531,7 @@ import { Fragment as Fragment2, jsx as jsx8 } from "react/jsx-runtime";
|
|
|
5472
5531
|
// src/services/action-service/index.ts
|
|
5473
5532
|
function useActionService() {
|
|
5474
5533
|
const { env } = useEnv();
|
|
5475
|
-
const loadAction =
|
|
5534
|
+
const loadAction = useCallback62(
|
|
5476
5535
|
async ({
|
|
5477
5536
|
idAction,
|
|
5478
5537
|
context,
|
|
@@ -5496,7 +5555,7 @@ function useActionService() {
|
|
|
5496
5555
|
},
|
|
5497
5556
|
[env]
|
|
5498
5557
|
);
|
|
5499
|
-
const callButton =
|
|
5558
|
+
const callButton = useCallback62(
|
|
5500
5559
|
async ({
|
|
5501
5560
|
model,
|
|
5502
5561
|
ids = [],
|
|
@@ -5530,7 +5589,7 @@ function useActionService() {
|
|
|
5530
5589
|
},
|
|
5531
5590
|
[env]
|
|
5532
5591
|
);
|
|
5533
|
-
const removeRows =
|
|
5592
|
+
const removeRows = useCallback62(
|
|
5534
5593
|
async ({
|
|
5535
5594
|
model,
|
|
5536
5595
|
ids,
|
|
@@ -5556,7 +5615,7 @@ function useActionService() {
|
|
|
5556
5615
|
},
|
|
5557
5616
|
[env]
|
|
5558
5617
|
);
|
|
5559
|
-
const duplicateRecord =
|
|
5618
|
+
const duplicateRecord = useCallback62(
|
|
5560
5619
|
async ({
|
|
5561
5620
|
model,
|
|
5562
5621
|
id,
|
|
@@ -5582,7 +5641,7 @@ function useActionService() {
|
|
|
5582
5641
|
},
|
|
5583
5642
|
[env]
|
|
5584
5643
|
);
|
|
5585
|
-
const getPrintReportName =
|
|
5644
|
+
const getPrintReportName = useCallback62(
|
|
5586
5645
|
async ({ id }) => {
|
|
5587
5646
|
const jsonData = {
|
|
5588
5647
|
model: "ir.actions.report",
|
|
@@ -5600,7 +5659,7 @@ function useActionService() {
|
|
|
5600
5659
|
},
|
|
5601
5660
|
[env]
|
|
5602
5661
|
);
|
|
5603
|
-
const print =
|
|
5662
|
+
const print = useCallback62(
|
|
5604
5663
|
async ({ id, report, db }) => {
|
|
5605
5664
|
const jsonData = {
|
|
5606
5665
|
report,
|
|
@@ -5618,7 +5677,7 @@ function useActionService() {
|
|
|
5618
5677
|
},
|
|
5619
5678
|
[env]
|
|
5620
5679
|
);
|
|
5621
|
-
const runAction =
|
|
5680
|
+
const runAction = useCallback62(
|
|
5622
5681
|
async ({
|
|
5623
5682
|
idAction,
|
|
5624
5683
|
context,
|
|
@@ -5645,7 +5704,7 @@ function useActionService() {
|
|
|
5645
5704
|
},
|
|
5646
5705
|
[env]
|
|
5647
5706
|
);
|
|
5648
|
-
const generateSerialNumber =
|
|
5707
|
+
const generateSerialNumber = useCallback62(
|
|
5649
5708
|
async ({
|
|
5650
5709
|
kwargs,
|
|
5651
5710
|
context,
|
|
@@ -5670,7 +5729,7 @@ function useActionService() {
|
|
|
5670
5729
|
},
|
|
5671
5730
|
[env]
|
|
5672
5731
|
);
|
|
5673
|
-
const actionServerHome =
|
|
5732
|
+
const actionServerHome = useCallback62(async () => {
|
|
5674
5733
|
return env?.requests?.get("/action_server_home" /* ACTION_SERVER_HOME */);
|
|
5675
5734
|
}, [env]);
|
|
5676
5735
|
return {
|
|
@@ -5687,11 +5746,11 @@ function useActionService() {
|
|
|
5687
5746
|
}
|
|
5688
5747
|
|
|
5689
5748
|
// src/services/auth-service/index.ts
|
|
5690
|
-
import { useCallback as
|
|
5749
|
+
import { useCallback as useCallback63 } from "react";
|
|
5691
5750
|
function useAuthService() {
|
|
5692
5751
|
const { env } = useEnv();
|
|
5693
5752
|
const supabase = useSupabaseOptional();
|
|
5694
|
-
const login =
|
|
5753
|
+
const login = useCallback63(
|
|
5695
5754
|
async (body) => {
|
|
5696
5755
|
const payload = Object.fromEntries(
|
|
5697
5756
|
Object.entries({
|
|
@@ -5716,7 +5775,7 @@ function useAuthService() {
|
|
|
5716
5775
|
},
|
|
5717
5776
|
[env]
|
|
5718
5777
|
);
|
|
5719
|
-
const loginTenantUser =
|
|
5778
|
+
const loginTenantUser = useCallback63(
|
|
5720
5779
|
async (body) => {
|
|
5721
5780
|
const payload = {
|
|
5722
5781
|
email: body.email,
|
|
@@ -5731,7 +5790,7 @@ function useAuthService() {
|
|
|
5731
5790
|
},
|
|
5732
5791
|
[env]
|
|
5733
5792
|
);
|
|
5734
|
-
const forgotPassword =
|
|
5793
|
+
const forgotPassword = useCallback63(
|
|
5735
5794
|
async (email) => {
|
|
5736
5795
|
const bodyData = {
|
|
5737
5796
|
login: email,
|
|
@@ -5745,7 +5804,7 @@ function useAuthService() {
|
|
|
5745
5804
|
},
|
|
5746
5805
|
[env]
|
|
5747
5806
|
);
|
|
5748
|
-
const forgotPasswordSSO =
|
|
5807
|
+
const forgotPasswordSSO = useCallback63(
|
|
5749
5808
|
async ({
|
|
5750
5809
|
email,
|
|
5751
5810
|
with_context,
|
|
@@ -5768,7 +5827,7 @@ function useAuthService() {
|
|
|
5768
5827
|
},
|
|
5769
5828
|
[env]
|
|
5770
5829
|
);
|
|
5771
|
-
const resetPassword =
|
|
5830
|
+
const resetPassword = useCallback63(
|
|
5772
5831
|
async (data, token) => {
|
|
5773
5832
|
const bodyData = {
|
|
5774
5833
|
token,
|
|
@@ -5783,7 +5842,7 @@ function useAuthService() {
|
|
|
5783
5842
|
},
|
|
5784
5843
|
[env]
|
|
5785
5844
|
);
|
|
5786
|
-
const resetPasswordSSO =
|
|
5845
|
+
const resetPasswordSSO = useCallback63(
|
|
5787
5846
|
async ({
|
|
5788
5847
|
method,
|
|
5789
5848
|
password,
|
|
@@ -5806,7 +5865,7 @@ function useAuthService() {
|
|
|
5806
5865
|
},
|
|
5807
5866
|
[env]
|
|
5808
5867
|
);
|
|
5809
|
-
const updatePassword =
|
|
5868
|
+
const updatePassword = useCallback63(
|
|
5810
5869
|
async (data, token) => {
|
|
5811
5870
|
const bodyData = {
|
|
5812
5871
|
token,
|
|
@@ -5821,7 +5880,7 @@ function useAuthService() {
|
|
|
5821
5880
|
},
|
|
5822
5881
|
[env]
|
|
5823
5882
|
);
|
|
5824
|
-
const isValidToken =
|
|
5883
|
+
const isValidToken = useCallback63(
|
|
5825
5884
|
async (token) => {
|
|
5826
5885
|
const bodyData = {
|
|
5827
5886
|
token
|
|
@@ -5834,7 +5893,7 @@ function useAuthService() {
|
|
|
5834
5893
|
},
|
|
5835
5894
|
[env]
|
|
5836
5895
|
);
|
|
5837
|
-
const isValidActionToken =
|
|
5896
|
+
const isValidActionToken = useCallback63(
|
|
5838
5897
|
async (actionToken) => {
|
|
5839
5898
|
const bodyData = {};
|
|
5840
5899
|
return env?.requests?.post("/action-token/validate" /* VALIDATE_ACTION_TOKEN */, bodyData, {
|
|
@@ -5847,7 +5906,7 @@ function useAuthService() {
|
|
|
5847
5906
|
},
|
|
5848
5907
|
[env]
|
|
5849
5908
|
);
|
|
5850
|
-
const loginSocial =
|
|
5909
|
+
const loginSocial = useCallback63(
|
|
5851
5910
|
async ({
|
|
5852
5911
|
db,
|
|
5853
5912
|
state,
|
|
@@ -5865,13 +5924,13 @@ function useAuthService() {
|
|
|
5865
5924
|
},
|
|
5866
5925
|
[env]
|
|
5867
5926
|
);
|
|
5868
|
-
const getProviders =
|
|
5927
|
+
const getProviders = useCallback63(
|
|
5869
5928
|
async (db) => {
|
|
5870
5929
|
return env?.requests?.get("/oauth/providers", { params: { db } });
|
|
5871
5930
|
},
|
|
5872
5931
|
[env]
|
|
5873
5932
|
);
|
|
5874
|
-
const getAccessByCode =
|
|
5933
|
+
const getAccessByCode = useCallback63(
|
|
5875
5934
|
async (code) => {
|
|
5876
5935
|
const data = new URLSearchParams();
|
|
5877
5936
|
data.append("code", code);
|
|
@@ -5891,7 +5950,7 @@ function useAuthService() {
|
|
|
5891
5950
|
},
|
|
5892
5951
|
[env]
|
|
5893
5952
|
);
|
|
5894
|
-
const logout =
|
|
5953
|
+
const logout = useCallback63(
|
|
5895
5954
|
async (service) => {
|
|
5896
5955
|
return env?.requests?.post(
|
|
5897
5956
|
"/logout" /* LOGOUT */,
|
|
@@ -5908,7 +5967,7 @@ function useAuthService() {
|
|
|
5908
5967
|
},
|
|
5909
5968
|
[env]
|
|
5910
5969
|
);
|
|
5911
|
-
const getTenantMapping =
|
|
5970
|
+
const getTenantMapping = useCallback63(
|
|
5912
5971
|
async ({ shortName, service }) => {
|
|
5913
5972
|
const bodyData = {
|
|
5914
5973
|
short_name: shortName
|
|
@@ -5926,7 +5985,7 @@ function useAuthService() {
|
|
|
5926
5985
|
},
|
|
5927
5986
|
[env]
|
|
5928
5987
|
);
|
|
5929
|
-
const getToken =
|
|
5988
|
+
const getToken = useCallback63(
|
|
5930
5989
|
async ({
|
|
5931
5990
|
phone,
|
|
5932
5991
|
name,
|
|
@@ -5971,10 +6030,10 @@ function useAuthService() {
|
|
|
5971
6030
|
}
|
|
5972
6031
|
|
|
5973
6032
|
// src/services/company-service/index.ts
|
|
5974
|
-
import { useCallback as
|
|
6033
|
+
import { useCallback as useCallback64 } from "react";
|
|
5975
6034
|
function useCompanyService() {
|
|
5976
6035
|
const { env } = useEnv();
|
|
5977
|
-
const getCurrentCompany =
|
|
6036
|
+
const getCurrentCompany = useCallback64(
|
|
5978
6037
|
async (service, extraHeaders) => {
|
|
5979
6038
|
return await env.requests.get(
|
|
5980
6039
|
"/company" /* COMPANY_PATH */,
|
|
@@ -5991,7 +6050,7 @@ function useCompanyService() {
|
|
|
5991
6050
|
},
|
|
5992
6051
|
[env]
|
|
5993
6052
|
);
|
|
5994
|
-
const getInfoCompany =
|
|
6053
|
+
const getInfoCompany = useCallback64(
|
|
5995
6054
|
async (id, service) => {
|
|
5996
6055
|
const jsonData = {
|
|
5997
6056
|
ids: [id],
|
|
@@ -6027,10 +6086,10 @@ function useCompanyService() {
|
|
|
6027
6086
|
}
|
|
6028
6087
|
|
|
6029
6088
|
// src/services/excel-service/index.ts
|
|
6030
|
-
import { useCallback as
|
|
6089
|
+
import { useCallback as useCallback65 } from "react";
|
|
6031
6090
|
function useExcelService() {
|
|
6032
6091
|
const { env } = useEnv();
|
|
6033
|
-
const uploadFileExcel =
|
|
6092
|
+
const uploadFileExcel = useCallback65(
|
|
6034
6093
|
async ({
|
|
6035
6094
|
formData,
|
|
6036
6095
|
service,
|
|
@@ -6047,7 +6106,7 @@ function useExcelService() {
|
|
|
6047
6106
|
},
|
|
6048
6107
|
[env]
|
|
6049
6108
|
);
|
|
6050
|
-
const uploadIdFile =
|
|
6109
|
+
const uploadIdFile = useCallback65(
|
|
6051
6110
|
async ({
|
|
6052
6111
|
formData,
|
|
6053
6112
|
service,
|
|
@@ -6064,7 +6123,7 @@ function useExcelService() {
|
|
|
6064
6123
|
},
|
|
6065
6124
|
[env]
|
|
6066
6125
|
);
|
|
6067
|
-
const parsePreview =
|
|
6126
|
+
const parsePreview = useCallback65(
|
|
6068
6127
|
async ({
|
|
6069
6128
|
id,
|
|
6070
6129
|
selectedSheet,
|
|
@@ -6113,7 +6172,7 @@ function useExcelService() {
|
|
|
6113
6172
|
},
|
|
6114
6173
|
[env]
|
|
6115
6174
|
);
|
|
6116
|
-
const executeImport =
|
|
6175
|
+
const executeImport = useCallback65(
|
|
6117
6176
|
async ({
|
|
6118
6177
|
columns,
|
|
6119
6178
|
fields,
|
|
@@ -6147,7 +6206,7 @@ function useExcelService() {
|
|
|
6147
6206
|
},
|
|
6148
6207
|
[env]
|
|
6149
6208
|
);
|
|
6150
|
-
const getFileExcel =
|
|
6209
|
+
const getFileExcel = useCallback65(
|
|
6151
6210
|
async ({
|
|
6152
6211
|
model,
|
|
6153
6212
|
service,
|
|
@@ -6171,7 +6230,7 @@ function useExcelService() {
|
|
|
6171
6230
|
},
|
|
6172
6231
|
[env]
|
|
6173
6232
|
);
|
|
6174
|
-
const getFieldExport =
|
|
6233
|
+
const getFieldExport = useCallback65(
|
|
6175
6234
|
async ({
|
|
6176
6235
|
ids,
|
|
6177
6236
|
model,
|
|
@@ -6211,7 +6270,7 @@ function useExcelService() {
|
|
|
6211
6270
|
},
|
|
6212
6271
|
[env]
|
|
6213
6272
|
);
|
|
6214
|
-
const exportExcel =
|
|
6273
|
+
const exportExcel = useCallback65(
|
|
6215
6274
|
async ({
|
|
6216
6275
|
model,
|
|
6217
6276
|
domain,
|
|
@@ -6259,10 +6318,10 @@ function useExcelService() {
|
|
|
6259
6318
|
}
|
|
6260
6319
|
|
|
6261
6320
|
// src/services/form-service/index.ts
|
|
6262
|
-
import { useCallback as
|
|
6321
|
+
import { useCallback as useCallback66 } from "react";
|
|
6263
6322
|
function useFormService() {
|
|
6264
6323
|
const { env } = useEnv();
|
|
6265
|
-
const getComment =
|
|
6324
|
+
const getComment = useCallback66(
|
|
6266
6325
|
async ({ data }) => {
|
|
6267
6326
|
const jsonData = {
|
|
6268
6327
|
thread_id: data.thread_id,
|
|
@@ -6280,7 +6339,7 @@ function useFormService() {
|
|
|
6280
6339
|
},
|
|
6281
6340
|
[env]
|
|
6282
6341
|
);
|
|
6283
|
-
const getThreadData =
|
|
6342
|
+
const getThreadData = useCallback66(
|
|
6284
6343
|
async ({
|
|
6285
6344
|
data,
|
|
6286
6345
|
xNode,
|
|
@@ -6307,7 +6366,7 @@ function useFormService() {
|
|
|
6307
6366
|
},
|
|
6308
6367
|
[env]
|
|
6309
6368
|
);
|
|
6310
|
-
const getThreadMessages =
|
|
6369
|
+
const getThreadMessages = useCallback66(
|
|
6311
6370
|
async ({
|
|
6312
6371
|
data,
|
|
6313
6372
|
xNode,
|
|
@@ -6333,7 +6392,7 @@ function useFormService() {
|
|
|
6333
6392
|
},
|
|
6334
6393
|
[env]
|
|
6335
6394
|
);
|
|
6336
|
-
const sentComment =
|
|
6395
|
+
const sentComment = useCallback66(
|
|
6337
6396
|
async ({ data }) => {
|
|
6338
6397
|
const jsonData = {
|
|
6339
6398
|
context: {
|
|
@@ -6361,7 +6420,7 @@ function useFormService() {
|
|
|
6361
6420
|
},
|
|
6362
6421
|
[env]
|
|
6363
6422
|
);
|
|
6364
|
-
const deleteComment =
|
|
6423
|
+
const deleteComment = useCallback66(
|
|
6365
6424
|
async ({ data }) => {
|
|
6366
6425
|
const jsonData = {
|
|
6367
6426
|
attachment_ids: [],
|
|
@@ -6377,7 +6436,7 @@ function useFormService() {
|
|
|
6377
6436
|
},
|
|
6378
6437
|
[env]
|
|
6379
6438
|
);
|
|
6380
|
-
const getImage =
|
|
6439
|
+
const getImage = useCallback66(
|
|
6381
6440
|
async ({ data }) => {
|
|
6382
6441
|
return env.requests.get(
|
|
6383
6442
|
`${"/web/image" /* IMAGE_PATH */}?filename=${data.filename}&unique=${data.checksum}&width=1920&height=300`,
|
|
@@ -6390,7 +6449,7 @@ function useFormService() {
|
|
|
6390
6449
|
},
|
|
6391
6450
|
[env]
|
|
6392
6451
|
);
|
|
6393
|
-
const uploadImage =
|
|
6452
|
+
const uploadImage = useCallback66(
|
|
6394
6453
|
async ({
|
|
6395
6454
|
formData,
|
|
6396
6455
|
service,
|
|
@@ -6409,7 +6468,7 @@ function useFormService() {
|
|
|
6409
6468
|
},
|
|
6410
6469
|
[env]
|
|
6411
6470
|
);
|
|
6412
|
-
const uploadFile =
|
|
6471
|
+
const uploadFile = useCallback66(
|
|
6413
6472
|
async ({
|
|
6414
6473
|
formData,
|
|
6415
6474
|
service,
|
|
@@ -6429,7 +6488,7 @@ function useFormService() {
|
|
|
6429
6488
|
},
|
|
6430
6489
|
[env]
|
|
6431
6490
|
);
|
|
6432
|
-
const getFormView =
|
|
6491
|
+
const getFormView = useCallback66(
|
|
6433
6492
|
async ({ data }) => {
|
|
6434
6493
|
const jsonData = {
|
|
6435
6494
|
model: data.model,
|
|
@@ -6445,7 +6504,7 @@ function useFormService() {
|
|
|
6445
6504
|
},
|
|
6446
6505
|
[env]
|
|
6447
6506
|
);
|
|
6448
|
-
const changeStatus =
|
|
6507
|
+
const changeStatus = useCallback66(
|
|
6449
6508
|
async ({ data }) => {
|
|
6450
6509
|
const vals = {
|
|
6451
6510
|
[data.name]: data.stage_id
|
|
@@ -6474,7 +6533,7 @@ function useFormService() {
|
|
|
6474
6533
|
},
|
|
6475
6534
|
[env]
|
|
6476
6535
|
);
|
|
6477
|
-
const getExternalTab =
|
|
6536
|
+
const getExternalTab = useCallback66(
|
|
6478
6537
|
async ({ method, context, service, xNode }) => {
|
|
6479
6538
|
return env?.requests?.post(
|
|
6480
6539
|
"/call" /* CALL_PATH */,
|
|
@@ -6509,10 +6568,10 @@ function useFormService() {
|
|
|
6509
6568
|
}
|
|
6510
6569
|
|
|
6511
6570
|
// src/services/kanban-service/index.ts
|
|
6512
|
-
import { useCallback as
|
|
6571
|
+
import { useCallback as useCallback67 } from "react";
|
|
6513
6572
|
function useKanbanService() {
|
|
6514
6573
|
const { env } = useEnv();
|
|
6515
|
-
const getGroups =
|
|
6574
|
+
const getGroups = useCallback67(
|
|
6516
6575
|
async ({ model, width_context }) => {
|
|
6517
6576
|
const jsonData = {
|
|
6518
6577
|
model,
|
|
@@ -6532,7 +6591,7 @@ function useKanbanService() {
|
|
|
6532
6591
|
},
|
|
6533
6592
|
[env]
|
|
6534
6593
|
);
|
|
6535
|
-
const getProgressBar =
|
|
6594
|
+
const getProgressBar = useCallback67(
|
|
6536
6595
|
async ({ field, color, model, width_context }) => {
|
|
6537
6596
|
const jsonData = {
|
|
6538
6597
|
model,
|
|
@@ -6562,10 +6621,10 @@ function useKanbanService() {
|
|
|
6562
6621
|
}
|
|
6563
6622
|
|
|
6564
6623
|
// src/services/model-service/index.ts
|
|
6565
|
-
import { useCallback as
|
|
6624
|
+
import { useCallback as useCallback68 } from "react";
|
|
6566
6625
|
function useModelService() {
|
|
6567
6626
|
const { env } = useEnv();
|
|
6568
|
-
const getListMyBankAccount =
|
|
6627
|
+
const getListMyBankAccount = useCallback68(
|
|
6569
6628
|
async ({
|
|
6570
6629
|
domain,
|
|
6571
6630
|
spectification,
|
|
@@ -6589,7 +6648,7 @@ function useModelService() {
|
|
|
6589
6648
|
},
|
|
6590
6649
|
[env]
|
|
6591
6650
|
);
|
|
6592
|
-
const getCurrency =
|
|
6651
|
+
const getCurrency = useCallback68(async () => {
|
|
6593
6652
|
const jsonData = {
|
|
6594
6653
|
model: "res.currency",
|
|
6595
6654
|
method: "web_search_read",
|
|
@@ -6609,7 +6668,7 @@ function useModelService() {
|
|
|
6609
6668
|
}
|
|
6610
6669
|
});
|
|
6611
6670
|
}, [env]);
|
|
6612
|
-
const getConversionRate =
|
|
6671
|
+
const getConversionRate = useCallback68(async () => {
|
|
6613
6672
|
const jsonData = {
|
|
6614
6673
|
model: "res.currency",
|
|
6615
6674
|
method: "web_search_read",
|
|
@@ -6635,7 +6694,7 @@ function useModelService() {
|
|
|
6635
6694
|
}
|
|
6636
6695
|
});
|
|
6637
6696
|
}, [env]);
|
|
6638
|
-
const getAll =
|
|
6697
|
+
const getAll = useCallback68(
|
|
6639
6698
|
async ({
|
|
6640
6699
|
data,
|
|
6641
6700
|
service,
|
|
@@ -6677,7 +6736,7 @@ function useModelService() {
|
|
|
6677
6736
|
},
|
|
6678
6737
|
[env]
|
|
6679
6738
|
);
|
|
6680
|
-
const getListCalendar =
|
|
6739
|
+
const getListCalendar = useCallback68(
|
|
6681
6740
|
async ({ data }) => {
|
|
6682
6741
|
const jsonReadGroup = data.type == "calendar" ? data?.fields : data.fields && data.fields.length > 0 && data.groupby && data.groupby.length > 0 && data.groupby[0] ? {
|
|
6683
6742
|
fields: data.fields,
|
|
@@ -6708,7 +6767,7 @@ function useModelService() {
|
|
|
6708
6767
|
},
|
|
6709
6768
|
[env]
|
|
6710
6769
|
);
|
|
6711
|
-
const getList =
|
|
6770
|
+
const getList = useCallback68(
|
|
6712
6771
|
async ({
|
|
6713
6772
|
model,
|
|
6714
6773
|
ids = [],
|
|
@@ -6740,7 +6799,7 @@ function useModelService() {
|
|
|
6740
6799
|
},
|
|
6741
6800
|
[env]
|
|
6742
6801
|
);
|
|
6743
|
-
const getDetail =
|
|
6802
|
+
const getDetail = useCallback68(
|
|
6744
6803
|
async ({
|
|
6745
6804
|
ids = [],
|
|
6746
6805
|
model,
|
|
@@ -6772,7 +6831,7 @@ function useModelService() {
|
|
|
6772
6831
|
},
|
|
6773
6832
|
[env]
|
|
6774
6833
|
);
|
|
6775
|
-
const save =
|
|
6834
|
+
const save = useCallback68(
|
|
6776
6835
|
async ({
|
|
6777
6836
|
model,
|
|
6778
6837
|
ids = [],
|
|
@@ -6807,7 +6866,7 @@ function useModelService() {
|
|
|
6807
6866
|
},
|
|
6808
6867
|
[env]
|
|
6809
6868
|
);
|
|
6810
|
-
const deleteApi =
|
|
6869
|
+
const deleteApi = useCallback68(
|
|
6811
6870
|
async ({ ids = [], model, service }) => {
|
|
6812
6871
|
const jsonData = {
|
|
6813
6872
|
model,
|
|
@@ -6827,7 +6886,7 @@ function useModelService() {
|
|
|
6827
6886
|
},
|
|
6828
6887
|
[env]
|
|
6829
6888
|
);
|
|
6830
|
-
const onChange =
|
|
6889
|
+
const onChange = useCallback68(
|
|
6831
6890
|
async ({
|
|
6832
6891
|
ids = [],
|
|
6833
6892
|
model,
|
|
@@ -6863,7 +6922,7 @@ function useModelService() {
|
|
|
6863
6922
|
},
|
|
6864
6923
|
[env]
|
|
6865
6924
|
);
|
|
6866
|
-
const getListFieldsOnchange =
|
|
6925
|
+
const getListFieldsOnchange = useCallback68(
|
|
6867
6926
|
async ({
|
|
6868
6927
|
model,
|
|
6869
6928
|
service,
|
|
@@ -6887,7 +6946,7 @@ function useModelService() {
|
|
|
6887
6946
|
},
|
|
6888
6947
|
[env]
|
|
6889
6948
|
);
|
|
6890
|
-
const parseORMOdoo =
|
|
6949
|
+
const parseORMOdoo = useCallback68((data) => {
|
|
6891
6950
|
for (const key in data) {
|
|
6892
6951
|
if (key === "display_name") {
|
|
6893
6952
|
delete data[key];
|
|
@@ -6898,7 +6957,7 @@ function useModelService() {
|
|
|
6898
6957
|
}
|
|
6899
6958
|
return { ...data };
|
|
6900
6959
|
}, []);
|
|
6901
|
-
const toDataJS =
|
|
6960
|
+
const toDataJS = useCallback68(
|
|
6902
6961
|
(data, viewData, model) => {
|
|
6903
6962
|
for (const key in data) {
|
|
6904
6963
|
if (data[key] === false) {
|
|
@@ -6956,10 +7015,10 @@ function useModelService() {
|
|
|
6956
7015
|
}
|
|
6957
7016
|
|
|
6958
7017
|
// src/services/user-service/index.ts
|
|
6959
|
-
import { useCallback as
|
|
7018
|
+
import { useCallback as useCallback69 } from "react";
|
|
6960
7019
|
function useUserService() {
|
|
6961
7020
|
const { env } = useEnv();
|
|
6962
|
-
const getProfile =
|
|
7021
|
+
const getProfile = useCallback69(
|
|
6963
7022
|
async (service, path, extraHeaders) => {
|
|
6964
7023
|
return env?.requests?.get(
|
|
6965
7024
|
path || "/userinfo" /* PROFILE_PATH */,
|
|
@@ -6976,7 +7035,7 @@ function useUserService() {
|
|
|
6976
7035
|
},
|
|
6977
7036
|
[env]
|
|
6978
7037
|
);
|
|
6979
|
-
const getUser =
|
|
7038
|
+
const getUser = useCallback69(
|
|
6980
7039
|
async ({ context, id }) => {
|
|
6981
7040
|
const jsonData = {
|
|
6982
7041
|
model: "res.users",
|
|
@@ -7014,7 +7073,7 @@ function useUserService() {
|
|
|
7014
7073
|
},
|
|
7015
7074
|
[env]
|
|
7016
7075
|
);
|
|
7017
|
-
const switchUserLocale =
|
|
7076
|
+
const switchUserLocale = useCallback69(
|
|
7018
7077
|
async ({ id, values, service }) => {
|
|
7019
7078
|
const jsonData = {
|
|
7020
7079
|
model: "res.users",
|
|
@@ -7042,10 +7101,10 @@ function useUserService() {
|
|
|
7042
7101
|
}
|
|
7043
7102
|
|
|
7044
7103
|
// src/services/view-service/index.ts
|
|
7045
|
-
import { useCallback as
|
|
7104
|
+
import { useCallback as useCallback70 } from "react";
|
|
7046
7105
|
function useViewService() {
|
|
7047
7106
|
const { env } = useEnv();
|
|
7048
|
-
const getView =
|
|
7107
|
+
const getView = useCallback70(
|
|
7049
7108
|
async ({
|
|
7050
7109
|
model,
|
|
7051
7110
|
views,
|
|
@@ -7085,7 +7144,7 @@ function useViewService() {
|
|
|
7085
7144
|
},
|
|
7086
7145
|
[env]
|
|
7087
7146
|
);
|
|
7088
|
-
const getMenu =
|
|
7147
|
+
const getMenu = useCallback70(
|
|
7089
7148
|
async (context, specification, domain, service) => {
|
|
7090
7149
|
const jsonData = {
|
|
7091
7150
|
model: "ir.ui.menu" /* MENU */,
|
|
@@ -7116,7 +7175,7 @@ function useViewService() {
|
|
|
7116
7175
|
},
|
|
7117
7176
|
[env]
|
|
7118
7177
|
);
|
|
7119
|
-
const getActionDetail =
|
|
7178
|
+
const getActionDetail = useCallback70(
|
|
7120
7179
|
async (aid, context) => {
|
|
7121
7180
|
const jsonData = {
|
|
7122
7181
|
model: "ir.actions.act_window" /* WINDOW_ACTION */,
|
|
@@ -7146,7 +7205,7 @@ function useViewService() {
|
|
|
7146
7205
|
},
|
|
7147
7206
|
[env]
|
|
7148
7207
|
);
|
|
7149
|
-
const getResequence =
|
|
7208
|
+
const getResequence = useCallback70(
|
|
7150
7209
|
async ({
|
|
7151
7210
|
model,
|
|
7152
7211
|
ids,
|
|
@@ -7176,7 +7235,7 @@ function useViewService() {
|
|
|
7176
7235
|
},
|
|
7177
7236
|
[env]
|
|
7178
7237
|
);
|
|
7179
|
-
const getSelectionItem =
|
|
7238
|
+
const getSelectionItem = useCallback70(
|
|
7180
7239
|
async ({
|
|
7181
7240
|
data,
|
|
7182
7241
|
service,
|
|
@@ -7213,7 +7272,7 @@ function useViewService() {
|
|
|
7213
7272
|
},
|
|
7214
7273
|
[env]
|
|
7215
7274
|
);
|
|
7216
|
-
const loadMessages =
|
|
7275
|
+
const loadMessages = useCallback70(async () => {
|
|
7217
7276
|
return env.requests.post(
|
|
7218
7277
|
"/load_message_failures" /* LOAD_MESSAGE */,
|
|
7219
7278
|
{},
|
|
@@ -7224,14 +7283,14 @@ function useViewService() {
|
|
|
7224
7283
|
}
|
|
7225
7284
|
);
|
|
7226
7285
|
}, [env]);
|
|
7227
|
-
const getVersion =
|
|
7286
|
+
const getVersion = useCallback70(async () => {
|
|
7228
7287
|
return env?.requests?.get("", {
|
|
7229
7288
|
headers: {
|
|
7230
7289
|
"Content-Type": "application/json"
|
|
7231
7290
|
}
|
|
7232
7291
|
});
|
|
7233
7292
|
}, [env]);
|
|
7234
|
-
const grantAccess =
|
|
7293
|
+
const grantAccess = useCallback70(
|
|
7235
7294
|
async ({
|
|
7236
7295
|
redirect_uri,
|
|
7237
7296
|
state,
|
|
@@ -7258,7 +7317,7 @@ function useViewService() {
|
|
|
7258
7317
|
},
|
|
7259
7318
|
[env]
|
|
7260
7319
|
);
|
|
7261
|
-
const removeTotpSetUp =
|
|
7320
|
+
const removeTotpSetUp = useCallback70(
|
|
7262
7321
|
async ({ method, token }) => {
|
|
7263
7322
|
const jsonData = {
|
|
7264
7323
|
method,
|
|
@@ -7279,7 +7338,7 @@ function useViewService() {
|
|
|
7279
7338
|
},
|
|
7280
7339
|
[env]
|
|
7281
7340
|
);
|
|
7282
|
-
const requestSetupTotp =
|
|
7341
|
+
const requestSetupTotp = useCallback70(
|
|
7283
7342
|
async ({ method, token }) => {
|
|
7284
7343
|
const jsonData = {
|
|
7285
7344
|
method,
|
|
@@ -7298,7 +7357,7 @@ function useViewService() {
|
|
|
7298
7357
|
},
|
|
7299
7358
|
[env]
|
|
7300
7359
|
);
|
|
7301
|
-
const settingsWebRead2fa =
|
|
7360
|
+
const settingsWebRead2fa = useCallback70(
|
|
7302
7361
|
async ({
|
|
7303
7362
|
method,
|
|
7304
7363
|
model,
|
|
@@ -7326,7 +7385,7 @@ function useViewService() {
|
|
|
7326
7385
|
},
|
|
7327
7386
|
[env]
|
|
7328
7387
|
);
|
|
7329
|
-
const signInSSO =
|
|
7388
|
+
const signInSSO = useCallback70(
|
|
7330
7389
|
async ({
|
|
7331
7390
|
redirect_uri,
|
|
7332
7391
|
state,
|
|
@@ -7358,7 +7417,7 @@ function useViewService() {
|
|
|
7358
7417
|
},
|
|
7359
7418
|
[env]
|
|
7360
7419
|
);
|
|
7361
|
-
const verify2FA =
|
|
7420
|
+
const verify2FA = useCallback70(
|
|
7362
7421
|
({
|
|
7363
7422
|
method,
|
|
7364
7423
|
with_context,
|
|
@@ -7391,7 +7450,7 @@ function useViewService() {
|
|
|
7391
7450
|
},
|
|
7392
7451
|
[env]
|
|
7393
7452
|
);
|
|
7394
|
-
const get2FAMethods =
|
|
7453
|
+
const get2FAMethods = useCallback70(
|
|
7395
7454
|
({ method, with_context }) => {
|
|
7396
7455
|
const jsonData = {
|
|
7397
7456
|
method,
|
|
@@ -7410,7 +7469,7 @@ function useViewService() {
|
|
|
7410
7469
|
},
|
|
7411
7470
|
[env]
|
|
7412
7471
|
);
|
|
7413
|
-
const verifyTotp =
|
|
7472
|
+
const verifyTotp = useCallback70(
|
|
7414
7473
|
({
|
|
7415
7474
|
method,
|
|
7416
7475
|
action_token,
|
|
@@ -7435,7 +7494,7 @@ function useViewService() {
|
|
|
7435
7494
|
},
|
|
7436
7495
|
[env]
|
|
7437
7496
|
);
|
|
7438
|
-
const getNotifications =
|
|
7497
|
+
const getNotifications = useCallback70(
|
|
7439
7498
|
async ({
|
|
7440
7499
|
service,
|
|
7441
7500
|
xNode,
|
|
@@ -7455,7 +7514,7 @@ function useViewService() {
|
|
|
7455
7514
|
},
|
|
7456
7515
|
[env]
|
|
7457
7516
|
);
|
|
7458
|
-
const getCountry =
|
|
7517
|
+
const getCountry = useCallback70(
|
|
7459
7518
|
async ({
|
|
7460
7519
|
service,
|
|
7461
7520
|
xNode,
|
|
@@ -7482,7 +7541,7 @@ function useViewService() {
|
|
|
7482
7541
|
},
|
|
7483
7542
|
[env]
|
|
7484
7543
|
);
|
|
7485
|
-
const getCity =
|
|
7544
|
+
const getCity = useCallback70(
|
|
7486
7545
|
async ({
|
|
7487
7546
|
service,
|
|
7488
7547
|
xNode,
|
|
@@ -7509,7 +7568,7 @@ function useViewService() {
|
|
|
7509
7568
|
},
|
|
7510
7569
|
[env]
|
|
7511
7570
|
);
|
|
7512
|
-
const getWard =
|
|
7571
|
+
const getWard = useCallback70(
|
|
7513
7572
|
async ({
|
|
7514
7573
|
service,
|
|
7515
7574
|
xNode,
|
|
@@ -7534,7 +7593,7 @@ function useViewService() {
|
|
|
7534
7593
|
},
|
|
7535
7594
|
[env]
|
|
7536
7595
|
);
|
|
7537
|
-
const getPartnerTitle =
|
|
7596
|
+
const getPartnerTitle = useCallback70(
|
|
7538
7597
|
async ({
|
|
7539
7598
|
service,
|
|
7540
7599
|
xNode,
|
|
@@ -7586,10 +7645,10 @@ function useViewService() {
|
|
|
7586
7645
|
}
|
|
7587
7646
|
|
|
7588
7647
|
// src/services/dashboard-service/index.ts
|
|
7589
|
-
import { useCallback as
|
|
7648
|
+
import { useCallback as useCallback71 } from "react";
|
|
7590
7649
|
function useDashboardService() {
|
|
7591
7650
|
const { env } = useEnv();
|
|
7592
|
-
const readGroup =
|
|
7651
|
+
const readGroup = useCallback71(
|
|
7593
7652
|
async ({
|
|
7594
7653
|
service,
|
|
7595
7654
|
xNode,
|
|
@@ -7606,7 +7665,7 @@ function useDashboardService() {
|
|
|
7606
7665
|
},
|
|
7607
7666
|
[env]
|
|
7608
7667
|
);
|
|
7609
|
-
const getDataChart =
|
|
7668
|
+
const getDataChart = useCallback71(
|
|
7610
7669
|
async ({
|
|
7611
7670
|
service,
|
|
7612
7671
|
xNode,
|