react-declarative 2.7.92 → 2.7.94
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.d.ts +9 -5
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -23736,6 +23736,7 @@ declare module "react-declarative/components/SearchModal/SearchModal" {
|
|
|
23736
23736
|
import IRowData from "react-declarative/model/IRowData";
|
|
23737
23737
|
import IField from "react-declarative/model/IField";
|
|
23738
23738
|
import ISize from "react-declarative/model/ISize";
|
|
23739
|
+
import TBehaviorSubject from "react-declarative/model/TBehaviorSubject";
|
|
23739
23740
|
/**
|
|
23740
23741
|
* Represents the properties for the Search Modal component.
|
|
23741
23742
|
* @template FilterData - The type for the filter data.
|
|
@@ -23784,9 +23785,10 @@ declare module "react-declarative/components/SearchModal/SearchModal" {
|
|
|
23784
23785
|
onChange?: (data: IRowData["id"][] | null, initial: boolean) => void;
|
|
23785
23786
|
onLoadStart?: () => void;
|
|
23786
23787
|
onLoadEnd?: (isOk: boolean) => void;
|
|
23788
|
+
onClose?: () => void;
|
|
23787
23789
|
fallback?: (e: Error) => void;
|
|
23788
23790
|
throwError?: boolean;
|
|
23789
|
-
|
|
23791
|
+
openSubject: TBehaviorSubject<boolean>;
|
|
23790
23792
|
hidden?: boolean;
|
|
23791
23793
|
submitLabel?: string;
|
|
23792
23794
|
submitIcon?: React.ComponentType<any>;
|
|
@@ -23839,14 +23841,15 @@ declare module "react-declarative/components/SearchModal/SearchModal" {
|
|
|
23839
23841
|
AfterTitle,
|
|
23840
23842
|
BeforeTitle,
|
|
23841
23843
|
title,
|
|
23844
|
+
openSubject,
|
|
23842
23845
|
payload: upperPayload,
|
|
23843
23846
|
withInitialLoader,
|
|
23844
23847
|
selectionMode,
|
|
23845
23848
|
data: upperData,
|
|
23846
|
-
open,
|
|
23847
23849
|
throwError,
|
|
23848
23850
|
submitLabel,
|
|
23849
23851
|
submitIcon: SubmitIcon,
|
|
23852
|
+
onClose,
|
|
23850
23853
|
...listProps
|
|
23851
23854
|
}: ISearchModalProps<FilterData, RowData, Payload, Field>) => JSX.Element;
|
|
23852
23855
|
export default SearchModal;
|
|
@@ -23875,7 +23878,7 @@ declare module "react-declarative/components/SearchModal/useSearchModal" {
|
|
|
23875
23878
|
> extends Omit<
|
|
23876
23879
|
ISearchModalProps<FilterData, RowData, Payload, Field>,
|
|
23877
23880
|
keyof {
|
|
23878
|
-
|
|
23881
|
+
openSubject: never;
|
|
23879
23882
|
onSubmit: never;
|
|
23880
23883
|
className: never;
|
|
23881
23884
|
isChooser: never;
|
|
@@ -23943,6 +23946,7 @@ declare module "react-declarative/components/SearchModal/useSearchModal" {
|
|
|
23943
23946
|
onSubmit,
|
|
23944
23947
|
onLoadEnd,
|
|
23945
23948
|
onLoadStart,
|
|
23949
|
+
onClose,
|
|
23946
23950
|
submitLabel,
|
|
23947
23951
|
submitIcon,
|
|
23948
23952
|
throwError,
|
|
@@ -23950,7 +23954,7 @@ declare module "react-declarative/components/SearchModal/useSearchModal" {
|
|
|
23950
23954
|
hidden,
|
|
23951
23955
|
...listProps
|
|
23952
23956
|
}: IParams<FilterData, RowData, Payload, Field>) => {
|
|
23953
|
-
readonly open:
|
|
23957
|
+
readonly open: typeof open;
|
|
23954
23958
|
readonly render: () => JSX.Element;
|
|
23955
23959
|
readonly pickData: (param?: Param) => void;
|
|
23956
23960
|
readonly close: () => Promise<boolean>;
|
|
@@ -23975,7 +23979,7 @@ declare module "react-declarative/components/SearchModal/useSearchModal" {
|
|
|
23975
23979
|
>(
|
|
23976
23980
|
params: IParams<FilterData, RowData, Payload, Field>,
|
|
23977
23981
|
) => {
|
|
23978
|
-
readonly open:
|
|
23982
|
+
readonly open: typeof open;
|
|
23979
23983
|
readonly render: () => JSX.Element;
|
|
23980
23984
|
readonly pickData: (param?: Param) => void;
|
|
23981
23985
|
readonly close: () => Promise<boolean>;
|