@memberjunction/ng-explorer-core 0.9.78 → 0.9.96
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/lib/ask-skip/ask-skip.component.d.ts +87 -86
- package/dist/lib/ask-skip/ask-skip.component.js +615 -580
- package/dist/lib/ask-skip/skip-dynamic-report-wrapper.d.ts +12 -12
- package/dist/lib/ask-skip/skip-dynamic-report-wrapper.js +40 -39
- package/dist/lib/auth-button/auth-button.component.d.ts +12 -12
- package/dist/lib/auth-button/auth-button.component.js +44 -43
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.d.ts +18 -18
- package/dist/lib/dashboard-browser-component/dashboard-browser.component.js +117 -117
- package/dist/lib/data-browser-component/data-browser.component.d.ts +16 -14
- package/dist/lib/data-browser-component/data-browser.component.js +96 -91
- package/dist/lib/favorites/favorites.component.d.ts +14 -14
- package/dist/lib/favorites/favorites.component.js +114 -114
- package/dist/lib/generic/base-form-component.d.ts +76 -76
- package/dist/lib/generic/base-form-component.js +436 -436
- package/dist/lib/generic/base-form-section-component.d.ts +6 -6
- package/dist/lib/generic/base-form-section-component.js +9 -9
- package/dist/lib/generic/base-record-component.d.ts +6 -6
- package/dist/lib/generic/base-record-component.js +15 -15
- package/dist/lib/generic/base-resource-component.d.ts +34 -34
- package/dist/lib/generic/base-resource-component.js +75 -75
- package/dist/lib/generic/dynamic-chart.d.ts +33 -33
- package/dist/lib/generic/dynamic-chart.js +236 -235
- package/dist/lib/generic/dynamic-grid.d.ts +25 -25
- package/dist/lib/generic/dynamic-grid.js +120 -119
- package/dist/lib/generic/dynamic-report.d.ts +38 -38
- package/dist/lib/generic/dynamic-report.js +353 -347
- package/dist/lib/generic/form-toolbar.d.ts +7 -7
- package/dist/lib/generic/form-toolbar.js +85 -89
- package/dist/lib/generic/resource-container-component.d.ts +25 -25
- package/dist/lib/generic/resource-container-component.js +104 -103
- package/dist/lib/generic/section-loader-component.d.ts +17 -17
- package/dist/lib/generic/section-loader-component.js +66 -65
- package/dist/lib/generic-browse-list/generic-browse-list.component.d.ts +26 -24
- package/dist/lib/generic-browse-list/generic-browse-list.component.js +145 -143
- package/dist/lib/guards/auth-guard.service.d.ts +11 -11
- package/dist/lib/guards/auth-guard.service.js +24 -24
- package/dist/lib/guards/entities.guard.d.ts +3 -3
- package/dist/lib/guards/entities.guard.js +38 -38
- package/dist/lib/header/MSFT_UserImageService.d.ts +11 -11
- package/dist/lib/header/MSFT_UserImageService.js +23 -23
- package/dist/lib/header/header.component.d.ts +51 -51
- package/dist/lib/header/header.component.js +220 -208
- package/dist/lib/home-component/home.component.d.ts +11 -9
- package/dist/lib/home-component/home.component.js +77 -54
- package/dist/lib/join-grid/join-grid.component.d.ts +30 -30
- package/dist/lib/join-grid/join-grid.component.js +222 -225
- package/dist/lib/navigation/navigation.component.d.ts +104 -103
- package/dist/lib/navigation/navigation.component.js +1026 -1004
- package/dist/lib/query-browser-component/query-browser.component.d.ts +14 -0
- package/dist/lib/query-browser-component/query-browser.component.js +55 -0
- package/dist/lib/report-browser-component/report-browser.component.d.ts +14 -14
- package/dist/lib/report-browser-component/report-browser.component.js +55 -55
- package/dist/lib/resource-wrappers/dashboard-resource.component.d.ts +8 -8
- package/dist/lib/resource-wrappers/dashboard-resource.component.js +51 -50
- package/dist/lib/resource-wrappers/query-resource.component.d.ts +10 -0
- package/dist/lib/resource-wrappers/query-resource.component.js +55 -0
- package/dist/lib/resource-wrappers/record-resource.component.d.ts +10 -10
- package/dist/lib/resource-wrappers/record-resource.component.js +71 -70
- package/dist/lib/resource-wrappers/report-resource.component.d.ts +10 -10
- package/dist/lib/resource-wrappers/report-resource.component.js +55 -54
- package/dist/lib/resource-wrappers/resource-wrappers-loader.d.ts +1 -1
- package/dist/lib/resource-wrappers/resource-wrappers-loader.js +14 -12
- package/dist/lib/resource-wrappers/search-results-resource.component.d.ts +10 -10
- package/dist/lib/resource-wrappers/search-results-resource.component.js +52 -51
- package/dist/lib/resource-wrappers/view-resource.component.d.ts +8 -8
- package/dist/lib/resource-wrappers/view-resource.component.js +61 -60
- package/dist/lib/settings/settings.component.d.ts +5 -5
- package/dist/lib/settings/settings.component.js +15 -14
- package/dist/lib/single-application/single-application.component.d.ts +20 -20
- package/dist/lib/single-application/single-application.component.js +113 -113
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.d.ts +28 -28
- package/dist/lib/single-dashboard/Components/add-item/add-item.component.js +210 -212
- package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.d.ts +13 -13
- package/dist/lib/single-dashboard/Components/delete-item/delete-item.component.js +60 -59
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.d.ts +26 -26
- package/dist/lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component.js +170 -169
- package/dist/lib/single-dashboard/single-dashboard.component.d.ts +75 -75
- package/dist/lib/single-dashboard/single-dashboard.component.js +464 -456
- package/dist/lib/single-entity/single-entity.component.d.ts +33 -33
- package/dist/lib/single-entity/single-entity.component.js +258 -252
- package/dist/lib/single-query/single-query.component.d.ts +16 -0
- package/dist/lib/single-query/single-query.component.js +70 -0
- package/dist/lib/single-record/single-record.component.d.ts +21 -21
- package/dist/lib/single-record/single-record.component.js +95 -95
- package/dist/lib/single-report/single-report.component.d.ts +22 -22
- package/dist/lib/single-report/single-report.component.js +88 -87
- package/dist/lib/single-search-result/single-search-result.component.d.ts +15 -15
- package/dist/lib/single-search-result/single-search-result.component.js +61 -60
- package/dist/lib/single-view/single-view.component.d.ts +38 -38
- package/dist/lib/single-view/single-view.component.js +201 -201
- package/dist/lib/user-notifications/user-notifications.component.d.ts +32 -32
- package/dist/lib/user-notifications/user-notifications.component.js +282 -282
- package/dist/lib/user-profile/user-profile.component.d.ts +10 -10
- package/dist/lib/user-profile/user-profile.component.js +42 -41
- package/dist/lib/user-view-properties/view-properties-dialog.component.d.ts +71 -71
- package/dist/lib/user-view-properties/view-properties-dialog.component.js +591 -581
- package/dist/module.d.ts +69 -65
- package/dist/module.js +356 -338
- package/dist/public-api.d.ts +46 -47
- package/dist/public-api.js +49 -50
- package/dist/shared/shared.service.d.ts +94 -92
- package/dist/shared/shared.service.js +324 -318
- package/dist/shared/urlPipe.d.ts +7 -7
- package/dist/shared/urlPipe.js +16 -16
- package/package.json +23 -15
package/dist/public-api.d.ts
CHANGED
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
export * from './lib/generic/base-form-component';
|
|
2
|
-
export * from './lib/generic/base-form-section-component';
|
|
3
|
-
export * from './lib/generic/base-record-component';
|
|
4
|
-
export * from './lib/generic/base-resource-component';
|
|
5
|
-
export * from './lib/generic/dynamic-chart';
|
|
6
|
-
export * from './lib/generic/dynamic-grid';
|
|
7
|
-
export * from './lib/generic/dynamic-report';
|
|
8
|
-
export * from './lib/generic/form-toolbar';
|
|
9
|
-
export * from './lib/generic/resource-container-component';
|
|
10
|
-
export * from './lib/generic/section-loader-component';
|
|
11
|
-
export * from './shared/shared.service';
|
|
12
|
-
export * from './lib/ask-skip/ask-skip.component';
|
|
13
|
-
export * from './lib/ask-skip/skip-dynamic-report-wrapper';
|
|
14
|
-
export * from './lib/auth-button/auth-button.component';
|
|
15
|
-
export * from './lib/dashboard-browser-component/dashboard-browser.component';
|
|
16
|
-
export * from './lib/data-browser-component/data-browser.component';
|
|
17
|
-
export * from './lib/generic-browse-list/generic-browse-list.component';
|
|
18
|
-
export * from './lib/home-component/home.component';
|
|
19
|
-
export * from './lib/navigation/navigation.component';
|
|
20
|
-
export * from './lib/report-browser-component/report-browser.component';
|
|
21
|
-
export * from './lib/resource-wrappers/dashboard-resource.component';
|
|
22
|
-
export * from './lib/resource-wrappers/record-resource.component';
|
|
23
|
-
export * from './lib/resource-wrappers/report-resource.component';
|
|
24
|
-
export * from './lib/resource-wrappers/resource-wrappers-loader';
|
|
25
|
-
export * from './lib/resource-wrappers/search-results-resource.component';
|
|
26
|
-
export * from './lib/resource-wrappers/view-resource.component';
|
|
27
|
-
export * from './lib/settings/settings.component';
|
|
28
|
-
export * from './lib/single-application/single-application.component';
|
|
29
|
-
export * from './lib/favorites/favorites.component';
|
|
30
|
-
export * from './lib/header/header.component';
|
|
31
|
-
export * from './lib/header/MSFT_UserImageService';
|
|
32
|
-
export * from './lib/join-grid/join-grid.component';
|
|
33
|
-
export * from './lib/single-entity/single-entity.component';
|
|
34
|
-
export * from './lib/single-record/single-record.component';
|
|
35
|
-
export * from './lib/single-report/single-report.component';
|
|
36
|
-
export * from './lib/single-search-result/single-search-result.component';
|
|
37
|
-
export * from './lib/single-view/single-view.component';
|
|
38
|
-
export * from './lib/single-dashboard/single-dashboard.component';
|
|
39
|
-
export * from './lib/single-dashboard/Components/add-item/add-item.component';
|
|
40
|
-
export * from './lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component';
|
|
41
|
-
export * from './lib/user-profile/user-profile.component';
|
|
42
|
-
export * from './lib/user-view-properties/view-properties-dialog.component';
|
|
43
|
-
export * from './
|
|
44
|
-
export * from './lib/
|
|
45
|
-
export * from './lib/guards/
|
|
46
|
-
export * from './
|
|
47
|
-
export * from './module';
|
|
1
|
+
export * from './lib/generic/base-form-component';
|
|
2
|
+
export * from './lib/generic/base-form-section-component';
|
|
3
|
+
export * from './lib/generic/base-record-component';
|
|
4
|
+
export * from './lib/generic/base-resource-component';
|
|
5
|
+
export * from './lib/generic/dynamic-chart';
|
|
6
|
+
export * from './lib/generic/dynamic-grid';
|
|
7
|
+
export * from './lib/generic/dynamic-report';
|
|
8
|
+
export * from './lib/generic/form-toolbar';
|
|
9
|
+
export * from './lib/generic/resource-container-component';
|
|
10
|
+
export * from './lib/generic/section-loader-component';
|
|
11
|
+
export * from './shared/shared.service';
|
|
12
|
+
export * from './lib/ask-skip/ask-skip.component';
|
|
13
|
+
export * from './lib/ask-skip/skip-dynamic-report-wrapper';
|
|
14
|
+
export * from './lib/auth-button/auth-button.component';
|
|
15
|
+
export * from './lib/dashboard-browser-component/dashboard-browser.component';
|
|
16
|
+
export * from './lib/data-browser-component/data-browser.component';
|
|
17
|
+
export * from './lib/generic-browse-list/generic-browse-list.component';
|
|
18
|
+
export * from './lib/home-component/home.component';
|
|
19
|
+
export * from './lib/navigation/navigation.component';
|
|
20
|
+
export * from './lib/report-browser-component/report-browser.component';
|
|
21
|
+
export * from './lib/resource-wrappers/dashboard-resource.component';
|
|
22
|
+
export * from './lib/resource-wrappers/record-resource.component';
|
|
23
|
+
export * from './lib/resource-wrappers/report-resource.component';
|
|
24
|
+
export * from './lib/resource-wrappers/resource-wrappers-loader';
|
|
25
|
+
export * from './lib/resource-wrappers/search-results-resource.component';
|
|
26
|
+
export * from './lib/resource-wrappers/view-resource.component';
|
|
27
|
+
export * from './lib/settings/settings.component';
|
|
28
|
+
export * from './lib/single-application/single-application.component';
|
|
29
|
+
export * from './lib/favorites/favorites.component';
|
|
30
|
+
export * from './lib/header/header.component';
|
|
31
|
+
export * from './lib/header/MSFT_UserImageService';
|
|
32
|
+
export * from './lib/join-grid/join-grid.component';
|
|
33
|
+
export * from './lib/single-entity/single-entity.component';
|
|
34
|
+
export * from './lib/single-record/single-record.component';
|
|
35
|
+
export * from './lib/single-report/single-report.component';
|
|
36
|
+
export * from './lib/single-search-result/single-search-result.component';
|
|
37
|
+
export * from './lib/single-view/single-view.component';
|
|
38
|
+
export * from './lib/single-dashboard/single-dashboard.component';
|
|
39
|
+
export * from './lib/single-dashboard/Components/add-item/add-item.component';
|
|
40
|
+
export * from './lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component';
|
|
41
|
+
export * from './lib/user-profile/user-profile.component';
|
|
42
|
+
export * from './lib/user-view-properties/view-properties-dialog.component';
|
|
43
|
+
export * from './lib/user-notifications/user-notifications.component';
|
|
44
|
+
export * from './lib/guards/auth-guard.service';
|
|
45
|
+
export * from './lib/guards/entities.guard';
|
|
46
|
+
export * from './module';
|
package/dist/public-api.js
CHANGED
|
@@ -1,50 +1,49 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface
|
|
3
|
-
*/
|
|
4
|
-
export * from './lib/generic/base-form-component';
|
|
5
|
-
export * from './lib/generic/base-form-section-component';
|
|
6
|
-
export * from './lib/generic/base-record-component';
|
|
7
|
-
export * from './lib/generic/base-resource-component';
|
|
8
|
-
export * from './lib/generic/dynamic-chart';
|
|
9
|
-
export * from './lib/generic/dynamic-grid';
|
|
10
|
-
export * from './lib/generic/dynamic-report';
|
|
11
|
-
export * from './lib/generic/form-toolbar';
|
|
12
|
-
export * from './lib/generic/resource-container-component';
|
|
13
|
-
export * from './lib/generic/section-loader-component';
|
|
14
|
-
export * from './shared/shared.service';
|
|
15
|
-
export * from './lib/ask-skip/ask-skip.component';
|
|
16
|
-
export * from './lib/ask-skip/skip-dynamic-report-wrapper';
|
|
17
|
-
export * from './lib/auth-button/auth-button.component';
|
|
18
|
-
export * from './lib/dashboard-browser-component/dashboard-browser.component';
|
|
19
|
-
export * from './lib/data-browser-component/data-browser.component';
|
|
20
|
-
export * from './lib/generic-browse-list/generic-browse-list.component';
|
|
21
|
-
export * from './lib/home-component/home.component';
|
|
22
|
-
export * from './lib/navigation/navigation.component';
|
|
23
|
-
export * from './lib/report-browser-component/report-browser.component';
|
|
24
|
-
export * from './lib/resource-wrappers/dashboard-resource.component';
|
|
25
|
-
export * from './lib/resource-wrappers/record-resource.component';
|
|
26
|
-
export * from './lib/resource-wrappers/report-resource.component';
|
|
27
|
-
export * from './lib/resource-wrappers/resource-wrappers-loader';
|
|
28
|
-
export * from './lib/resource-wrappers/search-results-resource.component';
|
|
29
|
-
export * from './lib/resource-wrappers/view-resource.component';
|
|
30
|
-
export * from './lib/settings/settings.component';
|
|
31
|
-
export * from './lib/single-application/single-application.component';
|
|
32
|
-
export * from './lib/favorites/favorites.component';
|
|
33
|
-
export * from './lib/header/header.component';
|
|
34
|
-
export * from './lib/header/MSFT_UserImageService';
|
|
35
|
-
export * from './lib/join-grid/join-grid.component';
|
|
36
|
-
export * from './lib/single-entity/single-entity.component';
|
|
37
|
-
export * from './lib/single-record/single-record.component';
|
|
38
|
-
export * from './lib/single-report/single-report.component';
|
|
39
|
-
export * from './lib/single-search-result/single-search-result.component';
|
|
40
|
-
export * from './lib/single-view/single-view.component';
|
|
41
|
-
export * from './lib/single-dashboard/single-dashboard.component';
|
|
42
|
-
export * from './lib/single-dashboard/Components/add-item/add-item.component';
|
|
43
|
-
export * from './lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component';
|
|
44
|
-
export * from './lib/user-profile/user-profile.component';
|
|
45
|
-
export * from './lib/user-view-properties/view-properties-dialog.component';
|
|
46
|
-
export * from './
|
|
47
|
-
export * from './lib/
|
|
48
|
-
export * from './lib/guards/
|
|
49
|
-
export * from './
|
|
50
|
-
export * from './module';
|
|
1
|
+
/*
|
|
2
|
+
* Public API Surface
|
|
3
|
+
*/
|
|
4
|
+
export * from './lib/generic/base-form-component';
|
|
5
|
+
export * from './lib/generic/base-form-section-component';
|
|
6
|
+
export * from './lib/generic/base-record-component';
|
|
7
|
+
export * from './lib/generic/base-resource-component';
|
|
8
|
+
export * from './lib/generic/dynamic-chart';
|
|
9
|
+
export * from './lib/generic/dynamic-grid';
|
|
10
|
+
export * from './lib/generic/dynamic-report';
|
|
11
|
+
export * from './lib/generic/form-toolbar';
|
|
12
|
+
export * from './lib/generic/resource-container-component';
|
|
13
|
+
export * from './lib/generic/section-loader-component';
|
|
14
|
+
export * from './shared/shared.service';
|
|
15
|
+
export * from './lib/ask-skip/ask-skip.component';
|
|
16
|
+
export * from './lib/ask-skip/skip-dynamic-report-wrapper';
|
|
17
|
+
export * from './lib/auth-button/auth-button.component';
|
|
18
|
+
export * from './lib/dashboard-browser-component/dashboard-browser.component';
|
|
19
|
+
export * from './lib/data-browser-component/data-browser.component';
|
|
20
|
+
export * from './lib/generic-browse-list/generic-browse-list.component';
|
|
21
|
+
export * from './lib/home-component/home.component';
|
|
22
|
+
export * from './lib/navigation/navigation.component';
|
|
23
|
+
export * from './lib/report-browser-component/report-browser.component';
|
|
24
|
+
export * from './lib/resource-wrappers/dashboard-resource.component';
|
|
25
|
+
export * from './lib/resource-wrappers/record-resource.component';
|
|
26
|
+
export * from './lib/resource-wrappers/report-resource.component';
|
|
27
|
+
export * from './lib/resource-wrappers/resource-wrappers-loader';
|
|
28
|
+
export * from './lib/resource-wrappers/search-results-resource.component';
|
|
29
|
+
export * from './lib/resource-wrappers/view-resource.component';
|
|
30
|
+
export * from './lib/settings/settings.component';
|
|
31
|
+
export * from './lib/single-application/single-application.component';
|
|
32
|
+
export * from './lib/favorites/favorites.component';
|
|
33
|
+
export * from './lib/header/header.component';
|
|
34
|
+
export * from './lib/header/MSFT_UserImageService';
|
|
35
|
+
export * from './lib/join-grid/join-grid.component';
|
|
36
|
+
export * from './lib/single-entity/single-entity.component';
|
|
37
|
+
export * from './lib/single-record/single-record.component';
|
|
38
|
+
export * from './lib/single-report/single-report.component';
|
|
39
|
+
export * from './lib/single-search-result/single-search-result.component';
|
|
40
|
+
export * from './lib/single-view/single-view.component';
|
|
41
|
+
export * from './lib/single-dashboard/single-dashboard.component';
|
|
42
|
+
export * from './lib/single-dashboard/Components/add-item/add-item.component';
|
|
43
|
+
export * from './lib/single-dashboard/Components/edit-dashboard/edit-dashboard.component';
|
|
44
|
+
export * from './lib/user-profile/user-profile.component';
|
|
45
|
+
export * from './lib/user-view-properties/view-properties-dialog.component';
|
|
46
|
+
export * from './lib/user-notifications/user-notifications.component';
|
|
47
|
+
export * from './lib/guards/auth-guard.service';
|
|
48
|
+
export * from './lib/guards/entities.guard';
|
|
49
|
+
export * from './module';
|
|
@@ -1,92 +1,94 @@
|
|
|
1
|
-
import { EntityInfo, PrimaryKeyValue } from '@memberjunction/core';
|
|
2
|
-
import { ResourceTypeEntity, UserNotificationEntity, ViewColumnInfo } from '@memberjunction/core-entities';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { NotificationService } from "@progress/kendo-angular-notification";
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SharedService {
|
|
7
|
-
private notificationService;
|
|
8
|
-
private static _instance;
|
|
9
|
-
private static _loaded;
|
|
10
|
-
private static _resourceTypes;
|
|
11
|
-
private tabChange;
|
|
12
|
-
tabChange$: Observable<unknown>;
|
|
13
|
-
constructor(notificationService: NotificationService);
|
|
14
|
-
static get Instance(): SharedService;
|
|
15
|
-
/**
|
|
16
|
-
* Returns the current session ID, which is automatically created when the service is instantiated.
|
|
17
|
-
*/
|
|
18
|
-
get SessionId(): string;
|
|
19
|
-
get ResourceTypes(): ResourceTypeEntity[];
|
|
20
|
-
get ViewResourceType(): ResourceTypeEntity;
|
|
21
|
-
get RecordResourceType(): ResourceTypeEntity;
|
|
22
|
-
get DashboardResourceType(): ResourceTypeEntity;
|
|
23
|
-
get ReportResourceType(): ResourceTypeEntity;
|
|
24
|
-
get SearchResultsResourceType(): ResourceTypeEntity;
|
|
25
|
-
ResourceTypeByID(id: number): ResourceTypeEntity | undefined;
|
|
26
|
-
ResourceTypeByName(name: string): ResourceTypeEntity | undefined;
|
|
27
|
-
static RefreshData(): Promise<void>;
|
|
28
|
-
static GeneratePrimaryKeyValueString(pkVals: PrimaryKeyValue[]): string;
|
|
29
|
-
static ParsePrimaryKeys(entity: EntityInfo, routeSegment: string): PrimaryKeyValue[];
|
|
30
|
-
FormatColumnValue(col: ViewColumnInfo, value: any, maxLength?: number, trailingChars?: string): any;
|
|
31
|
-
ConvertMarkdownStringToHtmlList(listType: HtmlListType, text: string): string;
|
|
32
|
-
InvokeManualResize(delay?: number): void;
|
|
33
|
-
PushStatusUpdates(): Observable<string>;
|
|
34
|
-
private _currentUserImage;
|
|
35
|
-
get CurrentUserImage(): string | Blob;
|
|
36
|
-
set CurrentUserImage(value: string | Blob);
|
|
37
|
-
private static _userNotifications;
|
|
38
|
-
static get UserNotifications(): UserNotificationEntity[];
|
|
39
|
-
static get UnreadUserNotifications(): UserNotificationEntity[];
|
|
40
|
-
static get UnreadUserNotificationCount(): number;
|
|
41
|
-
/**
|
|
42
|
-
* Creates a notification in the database and refreshes the UI. Returns the notification object.
|
|
43
|
-
* @param title
|
|
44
|
-
* @param message
|
|
45
|
-
* @param resourceTypeId
|
|
46
|
-
* @param resourceRecordId
|
|
47
|
-
* @param resourceConfiguration Any object, it is converted to a string by JSON.stringify and stored in the database
|
|
48
|
-
* @returns
|
|
49
|
-
*/
|
|
50
|
-
CreateNotification(title: string, message: string, resourceTypeId: number | null, resourceRecordId: number | null, resourceConfiguration: any | null): Promise<UserNotificationEntity>;
|
|
51
|
-
static RefreshUserNotifications(): Promise<void>;
|
|
52
|
-
/**
|
|
53
|
-
* Creates a message that is not saved to the User Notifications table, but is displayed to the user.
|
|
54
|
-
* @param message - text to display
|
|
55
|
-
* @param style - display styling
|
|
56
|
-
* @param hideAfter - option to auto hide after the specified delay in milliseconds
|
|
57
|
-
*/
|
|
58
|
-
CreateSimpleNotification(message: string, style?: "none" | "success" | "error" | "warning" | "info", hideAfter?: number): void;
|
|
59
|
-
private _resourceTypeMap;
|
|
60
|
-
/**
|
|
61
|
-
* Maps a Resource Type record Name column to the corresponding route segment
|
|
62
|
-
* @param resourceTypeName
|
|
63
|
-
* @returns
|
|
64
|
-
*/
|
|
65
|
-
mapResourceTypeNameToRouteSegment(resourceTypeName: string): string | null;
|
|
66
|
-
/**
|
|
67
|
-
* Maps a route segment to the corresponding Resource Type record Name column
|
|
68
|
-
* @param resourceRouteSegment
|
|
69
|
-
* @returns
|
|
70
|
-
*/
|
|
71
|
-
mapResourceTypeRouteSegmentToName(resourceRouteSegment: string): string | null;
|
|
72
|
-
|
|
73
|
-
static
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
readonly
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
export
|
|
81
|
-
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
84
|
-
readonly
|
|
85
|
-
readonly
|
|
86
|
-
readonly
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
readonly
|
|
91
|
-
|
|
92
|
-
|
|
1
|
+
import { EntityInfo, PrimaryKeyValue } from '@memberjunction/core';
|
|
2
|
+
import { ResourceTypeEntity, UserNotificationEntity, ViewColumnInfo } from '@memberjunction/core-entities';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { NotificationService } from "@progress/kendo-angular-notification";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SharedService {
|
|
7
|
+
private notificationService;
|
|
8
|
+
private static _instance;
|
|
9
|
+
private static _loaded;
|
|
10
|
+
private static _resourceTypes;
|
|
11
|
+
private tabChange;
|
|
12
|
+
tabChange$: Observable<unknown>;
|
|
13
|
+
constructor(notificationService: NotificationService);
|
|
14
|
+
static get Instance(): SharedService;
|
|
15
|
+
/**
|
|
16
|
+
* Returns the current session ID, which is automatically created when the service is instantiated.
|
|
17
|
+
*/
|
|
18
|
+
get SessionId(): string;
|
|
19
|
+
get ResourceTypes(): ResourceTypeEntity[];
|
|
20
|
+
get ViewResourceType(): ResourceTypeEntity;
|
|
21
|
+
get RecordResourceType(): ResourceTypeEntity;
|
|
22
|
+
get DashboardResourceType(): ResourceTypeEntity;
|
|
23
|
+
get ReportResourceType(): ResourceTypeEntity;
|
|
24
|
+
get SearchResultsResourceType(): ResourceTypeEntity;
|
|
25
|
+
ResourceTypeByID(id: number): ResourceTypeEntity | undefined;
|
|
26
|
+
ResourceTypeByName(name: string): ResourceTypeEntity | undefined;
|
|
27
|
+
static RefreshData(): Promise<void>;
|
|
28
|
+
static GeneratePrimaryKeyValueString(pkVals: PrimaryKeyValue[]): string;
|
|
29
|
+
static ParsePrimaryKeys(entity: EntityInfo, routeSegment: string): PrimaryKeyValue[];
|
|
30
|
+
FormatColumnValue(col: ViewColumnInfo, value: any, maxLength?: number, trailingChars?: string): any;
|
|
31
|
+
ConvertMarkdownStringToHtmlList(listType: HtmlListType, text: string): string;
|
|
32
|
+
InvokeManualResize(delay?: number): void;
|
|
33
|
+
PushStatusUpdates(): Observable<string>;
|
|
34
|
+
private _currentUserImage;
|
|
35
|
+
get CurrentUserImage(): string | Blob;
|
|
36
|
+
set CurrentUserImage(value: string | Blob);
|
|
37
|
+
private static _userNotifications;
|
|
38
|
+
static get UserNotifications(): UserNotificationEntity[];
|
|
39
|
+
static get UnreadUserNotifications(): UserNotificationEntity[];
|
|
40
|
+
static get UnreadUserNotificationCount(): number;
|
|
41
|
+
/**
|
|
42
|
+
* Creates a notification in the database and refreshes the UI. Returns the notification object.
|
|
43
|
+
* @param title
|
|
44
|
+
* @param message
|
|
45
|
+
* @param resourceTypeId
|
|
46
|
+
* @param resourceRecordId
|
|
47
|
+
* @param resourceConfiguration Any object, it is converted to a string by JSON.stringify and stored in the database
|
|
48
|
+
* @returns
|
|
49
|
+
*/
|
|
50
|
+
CreateNotification(title: string, message: string, resourceTypeId: number | null, resourceRecordId: number | null, resourceConfiguration: any | null): Promise<UserNotificationEntity>;
|
|
51
|
+
static RefreshUserNotifications(): Promise<void>;
|
|
52
|
+
/**
|
|
53
|
+
* Creates a message that is not saved to the User Notifications table, but is displayed to the user.
|
|
54
|
+
* @param message - text to display
|
|
55
|
+
* @param style - display styling
|
|
56
|
+
* @param hideAfter - option to auto hide after the specified delay in milliseconds
|
|
57
|
+
*/
|
|
58
|
+
CreateSimpleNotification(message: string, style?: "none" | "success" | "error" | "warning" | "info", hideAfter?: number): void;
|
|
59
|
+
private _resourceTypeMap;
|
|
60
|
+
/**
|
|
61
|
+
* Maps a Resource Type record Name column to the corresponding route segment
|
|
62
|
+
* @param resourceTypeName
|
|
63
|
+
* @returns
|
|
64
|
+
*/
|
|
65
|
+
mapResourceTypeNameToRouteSegment(resourceTypeName: string): string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Maps a route segment to the corresponding Resource Type record Name column
|
|
68
|
+
* @param resourceRouteSegment
|
|
69
|
+
* @returns
|
|
70
|
+
*/
|
|
71
|
+
mapResourceTypeRouteSegmentToName(resourceRouteSegment: string): string | null;
|
|
72
|
+
kendoSVGIcon(iconName: string): any;
|
|
73
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedService, never>;
|
|
74
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SharedService>;
|
|
75
|
+
}
|
|
76
|
+
export declare const HtmlListType: {
|
|
77
|
+
readonly Unordered: "Unordered";
|
|
78
|
+
readonly Ordered: "Ordered";
|
|
79
|
+
};
|
|
80
|
+
export type HtmlListType = typeof HtmlListType[keyof typeof HtmlListType];
|
|
81
|
+
export declare const EventCodes: {
|
|
82
|
+
readonly ViewClicked: "ViewClicked";
|
|
83
|
+
readonly EntityRecordClicked: "EntityRecordClicked";
|
|
84
|
+
readonly AddDashboard: "AddDashboard";
|
|
85
|
+
readonly AddReport: "AddReport";
|
|
86
|
+
readonly AddQuery: "AddQuery";
|
|
87
|
+
readonly ViewCreated: "ViewCreated";
|
|
88
|
+
readonly ViewUpdated: "ViewUpdated";
|
|
89
|
+
readonly RunSearch: "RunSearch";
|
|
90
|
+
readonly ViewNotifications: "ViewNotifications";
|
|
91
|
+
readonly PushStatusUpdates: "PushStatusUpdates";
|
|
92
|
+
readonly UserNotificationsUpdated: "UserNotificationsUpdated";
|
|
93
|
+
};
|
|
94
|
+
export type EventCodes = typeof EventCodes[keyof typeof EventCodes];
|