@memberjunction/ng-data-context 1.8.1 → 2.0.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.
|
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class DataContextDialogComponent {
|
|
7
7
|
dialogClosed: EventEmitter<any>;
|
|
8
|
-
dataContextId:
|
|
8
|
+
dataContextId: string;
|
|
9
9
|
closePropertiesDialog(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataContextDialogComponent, never>;
|
|
11
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<DataContextDialogComponent, "mj-data-context-dialog", never, { "dataContextId": { "alias": "dataContextId"; "required": false; }; }, { "dialogClosed": "dialogClosed"; }, never, never, false, never>;
|
|
@@ -36,4 +36,4 @@ DataContextDialogComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type:
|
|
|
36
36
|
}], dataContextId: [{
|
|
37
37
|
type: Input
|
|
38
38
|
}] }); })();
|
|
39
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DataContextDialogComponent, { className: "DataContextDialogComponent"
|
|
39
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DataContextDialogComponent, { className: "DataContextDialogComponent" }); })();
|
|
@@ -3,11 +3,11 @@ import { DataContextEntity } from '@memberjunction/core-entities';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class DataContextComponent implements OnInit {
|
|
5
5
|
showloader: boolean;
|
|
6
|
-
dataContextId:
|
|
6
|
+
dataContextId: string;
|
|
7
7
|
dataContextRecord?: DataContextEntity;
|
|
8
8
|
dataContextItems: any;
|
|
9
9
|
ngOnInit(): void;
|
|
10
|
-
LoadDataContext(dataContextId:
|
|
10
|
+
LoadDataContext(dataContextId: string): Promise<void>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataContextComponent, never>;
|
|
12
12
|
static ɵcmp: i0.ɵɵComponentDeclaration<DataContextComponent, "mj-data-context", never, { "dataContextId": { "alias": "dataContextId"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
13
|
}
|
|
@@ -71,7 +71,7 @@ export class DataContextComponent {
|
|
|
71
71
|
const rv = new RunView();
|
|
72
72
|
const response = yield rv.RunView({
|
|
73
73
|
EntityName: "Data Context Items",
|
|
74
|
-
ExtraFilter: `DataContextID
|
|
74
|
+
ExtraFilter: `DataContextID='${dataContextId}'`,
|
|
75
75
|
Fields: ["Type", "SQL", "ViewID", "QueryID", "EntityID", "RecordID"]
|
|
76
76
|
});
|
|
77
77
|
if (response.Success) {
|
|
@@ -103,4 +103,4 @@ DataContextComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DataCo
|
|
|
103
103
|
}], null, { dataContextId: [{
|
|
104
104
|
type: Input
|
|
105
105
|
}] }); })();
|
|
106
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DataContextComponent, { className: "DataContextComponent"
|
|
106
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DataContextComponent, { className: "DataContextComponent" }); })();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-data-context",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "MemberJunction: Angular component and pop-up window to display and edit the contents of a data context.",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@progress/kendo-angular-indicators": "16.2.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@memberjunction/core": "
|
|
31
|
-
"@memberjunction/global": "
|
|
32
|
-
"@memberjunction/ng-compare-records": "
|
|
30
|
+
"@memberjunction/core": "2.0.0",
|
|
31
|
+
"@memberjunction/global": "2.0.0",
|
|
32
|
+
"@memberjunction/ng-compare-records": "2.0.0",
|
|
33
33
|
"tslib": "^2.3.0"
|
|
34
34
|
},
|
|
35
35
|
"sideEffects": false
|