@isettingkit/business-rules 1.0.8 → 1.0.10
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.es.d.ts +8 -2
- package/dist/index.es.js +478 -440
- package/package.json +2 -2
package/dist/index.es.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ export declare interface IFilterTag {
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
export declare interface IFormFilter {
|
|
91
|
+
appliedFilters?: IFilterTag[];
|
|
91
92
|
fields: Array<ICheckpickerField & {
|
|
92
93
|
icon?: JSX.Element;
|
|
93
94
|
}>;
|
|
@@ -134,6 +135,11 @@ declare interface IRulesFormTextValues {
|
|
|
134
135
|
termStart: string;
|
|
135
136
|
}
|
|
136
137
|
|
|
138
|
+
declare interface ITranslateOptions {
|
|
139
|
+
url: string;
|
|
140
|
+
apiKey: string;
|
|
141
|
+
}
|
|
142
|
+
|
|
137
143
|
export declare const ModalRules: (props: IModalRules) => ReactPortal;
|
|
138
144
|
|
|
139
145
|
export declare const revertSortedDataSampleSwitchPlaces: (props: IRevertSortedData) => {
|
|
@@ -188,8 +194,8 @@ export declare const sortDisplayDataSampleSwitchPlaces: (props: IRevertSortedDat
|
|
|
188
194
|
|
|
189
195
|
export declare const sortDisplayDataSwitchPlaces: (props: IRevertSortedData) => IRuleDecision[] | undefined;
|
|
190
196
|
|
|
191
|
-
export declare const translateObject: (data: Record<string, any>, targetLang: string) => Promise<Record<string, any>>;
|
|
197
|
+
export declare const translateObject: (data: Record<string, any>, targetLang: string, options: ITranslateOptions) => Promise<Record<string, any>>;
|
|
192
198
|
|
|
193
|
-
export declare const translateText: (text: string, targetLang: string) => Promise<string>;
|
|
199
|
+
export declare const translateText: (text: string, targetLang: string, { url, apiKey }: ITranslateOptions) => Promise<string>;
|
|
194
200
|
|
|
195
201
|
export { }
|