@fctc/widget-logic 1.8.6 → 1.8.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/index.js +1418 -1414
- package/dist/index.mjs +1533 -1536
- package/dist/widget.d.mts +25 -18
- package/dist/widget.d.ts +25 -18
- package/dist/widget.js +1852 -1731
- package/dist/widget.mjs +2540 -2424
- package/package.json +2 -2
package/dist/widget.d.mts
CHANGED
|
@@ -27,29 +27,27 @@ interface IMany2OneProps extends IInputFieldProps {
|
|
|
27
27
|
options?: any;
|
|
28
28
|
showDetail?: boolean;
|
|
29
29
|
actionData?: any;
|
|
30
|
+
sessionStorageUtils?: any;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
declare const many2oneFieldController: (props: IMany2OneProps) => {
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
isShowModalMany2Many: boolean;
|
|
35
|
+
isFetching: boolean;
|
|
36
|
+
initValue: any;
|
|
37
|
+
menuList: any;
|
|
35
38
|
handleChooseRecord: (idRecord: number) => void;
|
|
39
|
+
handleClose: () => void;
|
|
36
40
|
handleSelectChange: (selectedOption: any) => void;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
options: any[];
|
|
41
|
-
fetchMoreOptions: () => void;
|
|
42
|
-
domainModal: any;
|
|
43
|
-
tempSelectedOption: any;
|
|
44
|
-
setTempSelectedOption: React.Dispatch<React.SetStateAction<any>>;
|
|
45
|
-
setDomainModal: React.Dispatch<React.SetStateAction<any>>;
|
|
46
|
-
dataOfSelection: any;
|
|
47
|
-
refetch: () => void;
|
|
48
|
-
selectOptions: any[];
|
|
49
|
-
optionsObject: any;
|
|
41
|
+
domainModal: null;
|
|
42
|
+
setInputValue: react.Dispatch<react.SetStateAction<string>>;
|
|
43
|
+
allowShowDetail: any;
|
|
50
44
|
contextObject: any;
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
tempSelectedOption: any;
|
|
46
|
+
options: never[];
|
|
47
|
+
fetchMoreOptions: () => void;
|
|
48
|
+
domainObject: null;
|
|
49
|
+
setIsShowModalMany2Many: react.Dispatch<react.SetStateAction<boolean>>;
|
|
50
|
+
setDomainObject: react.Dispatch<react.SetStateAction<null>>;
|
|
53
51
|
};
|
|
54
52
|
|
|
55
53
|
type Option = {
|
|
@@ -73,7 +71,16 @@ interface IMany2ManyControllerProps extends IInputFieldProps {
|
|
|
73
71
|
sessionStorageUtils: any;
|
|
74
72
|
}
|
|
75
73
|
|
|
76
|
-
declare const many2manyFieldController: (props: IMany2ManyControllerProps) => {
|
|
74
|
+
declare const many2manyFieldController: (props: IMany2ManyControllerProps) => {
|
|
75
|
+
handleCreateNewOnPage: () => Promise<void>;
|
|
76
|
+
optionsObject: any;
|
|
77
|
+
rows: any[];
|
|
78
|
+
columns: any;
|
|
79
|
+
typeTable: "list" | "group" | "calendar" | undefined;
|
|
80
|
+
isDataLoading: boolean;
|
|
81
|
+
isDataResponseFetched: boolean;
|
|
82
|
+
isPlaceholderData: boolean;
|
|
83
|
+
};
|
|
77
84
|
|
|
78
85
|
interface IMany2ManyTagFieldProps extends IInputFieldProps {
|
|
79
86
|
options: any;
|
package/dist/widget.d.ts
CHANGED
|
@@ -27,29 +27,27 @@ interface IMany2OneProps extends IInputFieldProps {
|
|
|
27
27
|
options?: any;
|
|
28
28
|
showDetail?: boolean;
|
|
29
29
|
actionData?: any;
|
|
30
|
+
sessionStorageUtils?: any;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
declare const many2oneFieldController: (props: IMany2OneProps) => {
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
isShowModalMany2Many: boolean;
|
|
35
|
+
isFetching: boolean;
|
|
36
|
+
initValue: any;
|
|
37
|
+
menuList: any;
|
|
35
38
|
handleChooseRecord: (idRecord: number) => void;
|
|
39
|
+
handleClose: () => void;
|
|
36
40
|
handleSelectChange: (selectedOption: any) => void;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
options: any[];
|
|
41
|
-
fetchMoreOptions: () => void;
|
|
42
|
-
domainModal: any;
|
|
43
|
-
tempSelectedOption: any;
|
|
44
|
-
setTempSelectedOption: React.Dispatch<React.SetStateAction<any>>;
|
|
45
|
-
setDomainModal: React.Dispatch<React.SetStateAction<any>>;
|
|
46
|
-
dataOfSelection: any;
|
|
47
|
-
refetch: () => void;
|
|
48
|
-
selectOptions: any[];
|
|
49
|
-
optionsObject: any;
|
|
41
|
+
domainModal: null;
|
|
42
|
+
setInputValue: react.Dispatch<react.SetStateAction<string>>;
|
|
43
|
+
allowShowDetail: any;
|
|
50
44
|
contextObject: any;
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
tempSelectedOption: any;
|
|
46
|
+
options: never[];
|
|
47
|
+
fetchMoreOptions: () => void;
|
|
48
|
+
domainObject: null;
|
|
49
|
+
setIsShowModalMany2Many: react.Dispatch<react.SetStateAction<boolean>>;
|
|
50
|
+
setDomainObject: react.Dispatch<react.SetStateAction<null>>;
|
|
53
51
|
};
|
|
54
52
|
|
|
55
53
|
type Option = {
|
|
@@ -73,7 +71,16 @@ interface IMany2ManyControllerProps extends IInputFieldProps {
|
|
|
73
71
|
sessionStorageUtils: any;
|
|
74
72
|
}
|
|
75
73
|
|
|
76
|
-
declare const many2manyFieldController: (props: IMany2ManyControllerProps) => {
|
|
74
|
+
declare const many2manyFieldController: (props: IMany2ManyControllerProps) => {
|
|
75
|
+
handleCreateNewOnPage: () => Promise<void>;
|
|
76
|
+
optionsObject: any;
|
|
77
|
+
rows: any[];
|
|
78
|
+
columns: any;
|
|
79
|
+
typeTable: "list" | "group" | "calendar" | undefined;
|
|
80
|
+
isDataLoading: boolean;
|
|
81
|
+
isDataResponseFetched: boolean;
|
|
82
|
+
isPlaceholderData: boolean;
|
|
83
|
+
};
|
|
77
84
|
|
|
78
85
|
interface IMany2ManyTagFieldProps extends IInputFieldProps {
|
|
79
86
|
options: any;
|