taxtank-core 0.33.39 → 0.33.41
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/forms/transaction/transaction.form.mjs +2 -1
- package/esm2022/src/lib/functions/mat-options-functions.mjs +2 -2
- package/esm2022/src/lib/services/http/property/property-messages.enum.mjs +4 -1
- package/esm2022/src/lib/services/http/property/property.service.mjs +12 -2
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +9 -18
- package/fesm2022/taxtank-core.mjs +20 -17
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/services/http/property/property-messages.enum.d.ts +4 -1
- package/src/lib/services/http/property/property.service.d.ts +1 -0
- package/src/lib/services/http/transaction/transaction.service.d.ts +2 -8
package/package.json
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
export declare enum PropertyMessagesEnum {
|
2
2
|
PHOTO_UPDATED = "Property photo updated",
|
3
|
-
PROPERTY_UPDATED = "Property updated"
|
3
|
+
PROPERTY_UPDATED = "Property updated",
|
4
|
+
DELETE_CONFIRM = "Are you sure you want to delete property?",
|
5
|
+
DELETE = "Property deleted",
|
6
|
+
DELETE_500 = "Only properties without transactions can be removed"
|
4
7
|
}
|
@@ -40,6 +40,7 @@ export declare class PropertyService extends RestService<PropertyBase, Property,
|
|
40
40
|
* Deactivate activated property
|
41
41
|
*/
|
42
42
|
deactivate(property: Property): Observable<void>;
|
43
|
+
delete(property: Property): Observable<void>;
|
43
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyService, never>;
|
44
45
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyService>;
|
45
46
|
}
|
@@ -22,14 +22,8 @@ export declare class TransactionService extends RestService<TransactionBase, Tra
|
|
22
22
|
* Listen events from Event Dispatcher services
|
23
23
|
*/
|
24
24
|
listenEvents(): void;
|
25
|
-
|
26
|
-
|
27
|
-
*/
|
28
|
-
getAll(): Observable<Transaction[]>;
|
29
|
-
/**
|
30
|
-
* current year transactions
|
31
|
-
*/
|
32
|
-
get(): Observable<Transaction[]>;
|
25
|
+
protected fetch(path?: string, cache?: boolean): Observable<Transaction[]>;
|
26
|
+
getCurrentYear(): Observable<Transaction[]>;
|
33
27
|
/**
|
34
28
|
* Add single new transaction
|
35
29
|
* @param model New Transaction instance for saving
|