@memberjunction/ng-explorer-core 0.9.7 → 0.9.8
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/resource-wrappers/dashboard-resource.component.js +1 -0
- package/dist/lib/resource-wrappers/record-resource.component.js +1 -0
- package/dist/lib/resource-wrappers/report-resource.component.js +1 -0
- package/dist/lib/resource-wrappers/resource-wrappers-loader.js +0 -2
- package/dist/lib/resource-wrappers/search-results-resource.component.js +1 -0
- package/dist/lib/resource-wrappers/view-resource.component.js +1 -2
- package/package.json +1 -1
|
@@ -20,6 +20,7 @@ import * as i0 from "@angular/core";
|
|
|
20
20
|
import * as i1 from "@memberjunction/ng-container-directives";
|
|
21
21
|
import * as i2 from "../single-dashboard/single-dashboard.component";
|
|
22
22
|
export function LoadDashboardResource() {
|
|
23
|
+
const test = new DashboardResource(); // this looks really dumb. Thing is, in production builds, tree shaking causes the class below to not be included in the bundle. This is a hack to force it to be included.
|
|
23
24
|
}
|
|
24
25
|
let DashboardResource = class DashboardResource extends BaseResourceComponent {
|
|
25
26
|
GetResourceDisplayName(data) {
|
|
@@ -20,6 +20,7 @@ import { Metadata } from '@memberjunction/core';
|
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
import * as i1 from "../single-record/single-record.component";
|
|
22
22
|
export function LoadRecordResource() {
|
|
23
|
+
const test = new EntityRecordResource(); // this looks really dumb. Thing is, in production builds, tree shaking causes the class below to not be included in the bundle. This is a hack to force it to be included.
|
|
23
24
|
}
|
|
24
25
|
let EntityRecordResource = class EntityRecordResource extends BaseResourceComponent {
|
|
25
26
|
GetResourceDisplayName(data) {
|
|
@@ -20,6 +20,7 @@ import { Metadata } from '@memberjunction/core';
|
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
import * as i1 from "../single-report/single-report.component";
|
|
22
22
|
export function LoadReportResource() {
|
|
23
|
+
const test = new ReportResource(); // this looks really dumb. Thing is, in production builds, tree shaking causes the class below to not be included in the bundle. This is a hack to force it to be included.
|
|
23
24
|
}
|
|
24
25
|
let ReportResource = class ReportResource extends BaseResourceComponent {
|
|
25
26
|
ngOnInit() {
|
|
@@ -4,11 +4,9 @@ import { LoadReportResource } from "./report-resource.component";
|
|
|
4
4
|
import { LoadSearchResultsResource } from "./search-results-resource.component";
|
|
5
5
|
import { LoadViewResource } from "./view-resource.component";
|
|
6
6
|
export function LoadResourceWrappers() {
|
|
7
|
-
console.log('Inside - Loading Resource Wrappers');
|
|
8
7
|
LoadViewResource();
|
|
9
8
|
LoadReportResource();
|
|
10
9
|
LoadDashboardResource();
|
|
11
10
|
LoadRecordResource();
|
|
12
11
|
LoadSearchResultsResource();
|
|
13
|
-
console.log('>>Done - Inside Loading Resource Wrappers');
|
|
14
12
|
}
|
|
@@ -19,6 +19,7 @@ import { RegisterClass } from '@memberjunction/global';
|
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
import * as i1 from "../single-search-result/single-search-result.component";
|
|
21
21
|
export function LoadSearchResultsResource() {
|
|
22
|
+
const test = new SearchResultsResource(); // this looks really dumb. Thing is, in production builds, tree shaking causes the class below to not be included in the bundle. This is a hack to force it to be included.
|
|
22
23
|
}
|
|
23
24
|
let SearchResultsResource = class SearchResultsResource extends BaseResourceComponent {
|
|
24
25
|
ngOnInit() {
|
|
@@ -20,8 +20,7 @@ import { Metadata } from '@memberjunction/core';
|
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
21
21
|
import * as i1 from "../single-view/single-view.component";
|
|
22
22
|
export function LoadViewResource() {
|
|
23
|
-
|
|
24
|
-
const test = new UserViewResource();
|
|
23
|
+
const test = new UserViewResource(); // this looks really dumb. Thing is, in production builds, tree shaking causes the class below to not be included in the bundle. This is a hack to force it to be included.
|
|
25
24
|
}
|
|
26
25
|
let UserViewResource = class UserViewResource extends BaseResourceComponent {
|
|
27
26
|
GetResourceDisplayName(data) {
|