taxtank-core 0.8.7 → 0.9.0
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/bundles/taxtank-core.umd.js +44 -0
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/models/toast/toast-type.enum.js +8 -0
- package/esm2015/lib/models/toast/toast.js +9 -0
- package/esm2015/lib/services/toast/toast.service.js +26 -0
- package/esm2015/public-api.js +4 -1
- package/fesm2015/taxtank-core.js +41 -1
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/models/toast/toast-type.enum.d.ts +6 -0
- package/lib/models/toast/toast.d.ts +10 -0
- package/lib/services/toast/toast.service.d.ts +13 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable, ReplaySubject } from 'rxjs';
|
|
2
|
+
import { Toast } from '../../models/toast/toast';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* popup notifications service (toast, snackbar).
|
|
6
|
+
*/
|
|
7
|
+
export declare class ToastService {
|
|
8
|
+
toast$: ReplaySubject<Toast>;
|
|
9
|
+
get(): Observable<Toast>;
|
|
10
|
+
add(toast: Toast): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
13
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -235,6 +235,8 @@ export * from './lib/models/tax-summary/report-item-details';
|
|
|
235
235
|
export * from './lib/models/tax-summary/tax-summary';
|
|
236
236
|
export * from './lib/models/tax-summary/tax-summary-section';
|
|
237
237
|
export * from './lib/models/tax-summary/tax-summary-type.enum';
|
|
238
|
+
export * from './lib/models/toast/toast';
|
|
239
|
+
export * from './lib/models/toast/toast-type.enum';
|
|
238
240
|
export * from './lib/models/transaction/income-amount-type.enum';
|
|
239
241
|
export * from './lib/models/transaction/transaction';
|
|
240
242
|
export * from './lib/models/transaction/transaction-allocation';
|
|
@@ -308,6 +310,7 @@ export * from './lib/services/http/subscription/subscription.service';
|
|
|
308
310
|
export * from './lib/services/http/tax-review/tax-review.service';
|
|
309
311
|
export * from './lib/services/http/tax-review/tax-review-history/tax-review-history.service';
|
|
310
312
|
export * from './lib/services/http/tax-summary/tax-summary.service';
|
|
313
|
+
export * from './lib/services/toast/toast.service';
|
|
311
314
|
export * from './lib/services/http/transaction/transaction.service';
|
|
312
315
|
export * from './lib/services/http/transaction/transaction-allocation/transaction-allocation.service';
|
|
313
316
|
export * from './lib/services/transaction/transaction-calculation.service';
|