@recursyve/nice-ui-kit.v2 15.0.0-beta.123 → 15.0.0-beta.124
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/esm2020/lib/components/async-typeahead/async-typeahead.component.mjs +3 -3
- package/esm2020/lib/components/toast/rxjs/show-toast.operator.mjs +9 -5
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs +14 -6
- package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs +10 -6
- package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
- package/lib/components/toast/rxjs/show-toast.operator.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { MonoTypeOperatorFunction } from "rxjs";
|
|
2
|
+
import { TapObserver } from "rxjs/internal/operators/tap";
|
|
2
3
|
import { NiceToastService } from "../toast.service";
|
|
3
4
|
export interface ShowToastOperatorOptionsWithoutTitle {
|
|
4
5
|
messageKey: string;
|
|
5
6
|
titleKey?: string;
|
|
6
7
|
params?: object;
|
|
8
|
+
useObserver?: keyof TapObserver<any>;
|
|
7
9
|
}
|
|
8
10
|
export interface ShowToastOperatorOptionsWithoutMessage {
|
|
9
11
|
titleKey: string;
|
|
10
12
|
messageKey?: string;
|
|
11
13
|
params?: object;
|
|
14
|
+
useObserver?: keyof TapObserver<any>;
|
|
12
15
|
}
|
|
13
16
|
export type ShowToastOperatorOptions = ShowToastOperatorOptionsWithoutTitle | ShowToastOperatorOptionsWithoutMessage;
|
|
14
17
|
export declare function showSuccessToast<T>(loadingToastService: NiceToastService, options: ShowToastOperatorOptions): MonoTypeOperatorFunction<T>;
|