@fctc/widget-logic 2.8.5 → 2.8.7
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.d.mts +3 -1
- package/dist/hooks.d.ts +3 -1
- package/dist/hooks.js +4 -4
- package/dist/hooks.mjs +4 -4
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/hooks.d.mts
CHANGED
|
@@ -74,8 +74,10 @@ interface RecordMenu {
|
|
|
74
74
|
interface UseMenuReturn {
|
|
75
75
|
data: RecordMenu[] | undefined;
|
|
76
76
|
action: {
|
|
77
|
-
handleChangeMenu: ({ menu }: {
|
|
77
|
+
handleChangeMenu: ({ menu, service, xNode, }: {
|
|
78
78
|
menu?: RecordMenu;
|
|
79
|
+
service?: string;
|
|
80
|
+
xNode?: string;
|
|
79
81
|
}) => Promise<any>;
|
|
80
82
|
};
|
|
81
83
|
state: {
|
package/dist/hooks.d.ts
CHANGED
|
@@ -74,8 +74,10 @@ interface RecordMenu {
|
|
|
74
74
|
interface UseMenuReturn {
|
|
75
75
|
data: RecordMenu[] | undefined;
|
|
76
76
|
action: {
|
|
77
|
-
handleChangeMenu: ({ menu }: {
|
|
77
|
+
handleChangeMenu: ({ menu, service, xNode, }: {
|
|
78
78
|
menu?: RecordMenu;
|
|
79
|
+
service?: string;
|
|
80
|
+
xNode?: string;
|
|
79
81
|
}) => Promise<any>;
|
|
80
82
|
};
|
|
81
83
|
state: {
|
package/dist/hooks.js
CHANGED
|
@@ -936,14 +936,14 @@ var useListData = ({
|
|
|
936
936
|
debouncedPage,
|
|
937
937
|
pageLimit,
|
|
938
938
|
type,
|
|
939
|
-
debouncedDomain
|
|
940
|
-
service,
|
|
941
|
-
xNode
|
|
939
|
+
debouncedDomain
|
|
942
940
|
]);
|
|
943
941
|
const list = useGetListData2(
|
|
944
942
|
listDataProps,
|
|
945
943
|
[listDataProps],
|
|
946
|
-
!!listDataProps && !!specification && !(0, import_utils6.isObjectEmpty)(specification)
|
|
944
|
+
!!listDataProps && !!specification && !(0, import_utils6.isObjectEmpty)(specification),
|
|
945
|
+
service,
|
|
946
|
+
xNode
|
|
947
947
|
);
|
|
948
948
|
return {
|
|
949
949
|
...list,
|
package/dist/hooks.mjs
CHANGED
|
@@ -921,14 +921,14 @@ var useListData = ({
|
|
|
921
921
|
debouncedPage,
|
|
922
922
|
pageLimit,
|
|
923
923
|
type,
|
|
924
|
-
debouncedDomain
|
|
925
|
-
service,
|
|
926
|
-
xNode
|
|
924
|
+
debouncedDomain
|
|
927
925
|
]);
|
|
928
926
|
const list = useGetListData2(
|
|
929
927
|
listDataProps,
|
|
930
928
|
[listDataProps],
|
|
931
|
-
!!listDataProps && !!specification && !isObjectEmpty4(specification)
|
|
929
|
+
!!listDataProps && !!specification && !isObjectEmpty4(specification),
|
|
930
|
+
service,
|
|
931
|
+
xNode
|
|
932
932
|
);
|
|
933
933
|
return {
|
|
934
934
|
...list,
|
package/dist/index.js
CHANGED
|
@@ -4986,14 +4986,14 @@ var useListData = ({
|
|
|
4986
4986
|
debouncedPage,
|
|
4987
4987
|
pageLimit,
|
|
4988
4988
|
type,
|
|
4989
|
-
debouncedDomain
|
|
4990
|
-
service,
|
|
4991
|
-
xNode
|
|
4989
|
+
debouncedDomain
|
|
4992
4990
|
]);
|
|
4993
4991
|
const list = useGetListData2(
|
|
4994
4992
|
listDataProps,
|
|
4995
4993
|
[listDataProps],
|
|
4996
|
-
!!listDataProps && !!specification && !(0, import_utils6.isObjectEmpty)(specification)
|
|
4994
|
+
!!listDataProps && !!specification && !(0, import_utils6.isObjectEmpty)(specification),
|
|
4995
|
+
service,
|
|
4996
|
+
xNode
|
|
4997
4997
|
);
|
|
4998
4998
|
return {
|
|
4999
4999
|
...list,
|
package/dist/index.mjs
CHANGED
|
@@ -5065,14 +5065,14 @@ var useListData = ({
|
|
|
5065
5065
|
debouncedPage,
|
|
5066
5066
|
pageLimit,
|
|
5067
5067
|
type,
|
|
5068
|
-
debouncedDomain
|
|
5069
|
-
service,
|
|
5070
|
-
xNode
|
|
5068
|
+
debouncedDomain
|
|
5071
5069
|
]);
|
|
5072
5070
|
const list = useGetListData2(
|
|
5073
5071
|
listDataProps,
|
|
5074
5072
|
[listDataProps],
|
|
5075
|
-
!!listDataProps && !!specification && !isObjectEmpty4(specification)
|
|
5073
|
+
!!listDataProps && !!specification && !isObjectEmpty4(specification),
|
|
5074
|
+
service,
|
|
5075
|
+
xNode
|
|
5076
5076
|
);
|
|
5077
5077
|
return {
|
|
5078
5078
|
...list,
|