taxtank-core 0.33.94 → 0.33.95
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/esm2022/src/lib/services/adblock/adblock.service.mjs +48 -0
- package/esm2022/src/lib/services/adblock/index.mjs +2 -0
- package/esm2022/src/lib/services/index.mjs +2 -1
- package/fesm2022/taxtank-core.mjs +47 -2
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +4 -3
- package/src/lib/services/adblock/adblock.service.d.ts +21 -0
- package/src/lib/services/adblock/index.d.ts +1 -0
- package/src/lib/services/index.d.ts +1 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "taxtank-core",
|
3
|
-
"version": "0.33.
|
3
|
+
"version": "0.33.95",
|
4
4
|
"private": false,
|
5
5
|
"peerDependencies": {
|
6
6
|
"@angular/common": "^17.0.0",
|
@@ -17,6 +17,7 @@
|
|
17
17
|
"@types/gapi.auth2": "^0.0.56",
|
18
18
|
"@types/gapi.client": "^1.0.8",
|
19
19
|
"@types/mixpanel-browser": "^2.49.0",
|
20
|
+
"adblock-checker": "^0.2.4",
|
20
21
|
"class-transformer": "^0.5.1",
|
21
22
|
"event-source-polyfill": "^1.0.31",
|
22
23
|
"file-saver": "^2.0.5",
|
@@ -27,9 +28,9 @@
|
|
27
28
|
"mixpanel-browser": "^2.49.0",
|
28
29
|
"moment": "^2.30.1",
|
29
30
|
"moment-range": "^4.0.2",
|
31
|
+
"ngx-pipes": "^3.2.2",
|
30
32
|
"rxjs": "~7.8.0",
|
31
|
-
"xlsx": "^0.17.5"
|
32
|
-
"ngx-pipes": "^3.2.2"
|
33
|
+
"xlsx": "^0.17.5"
|
33
34
|
},
|
34
35
|
"dependencies": {
|
35
36
|
"tslib": "^2.3.0"
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { Subject } from 'rxjs';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class AdblockService {
|
4
|
+
isAdBlockDetected: import("@angular/core").WritableSignal<boolean>;
|
5
|
+
/**
|
6
|
+
* do we need to show initial or recurrent notification
|
7
|
+
*/
|
8
|
+
isNotificationShown: import("@angular/core").WritableSignal<boolean>;
|
9
|
+
/**
|
10
|
+
* checkAdBlock is promise based, so we need to know when service is ready
|
11
|
+
*/
|
12
|
+
serviceInitSubject: Subject<boolean>;
|
13
|
+
isInitialModalClosed: import("@angular/core").WritableSignal<boolean>;
|
14
|
+
constructor();
|
15
|
+
getNotificationShown(): boolean;
|
16
|
+
setNotificationShown(isShown: boolean): void;
|
17
|
+
setInitialModalClosed(isClosed: boolean): void;
|
18
|
+
getInitialModalClosed(): any;
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AdblockService, never>;
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AdblockService>;
|
21
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './adblock.service';
|