@memberjunction/ng-explorer-core 2.28.0 → 2.29.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home.component.d.ts","sourceRoot":"","sources":["../../../src/lib/home-component/home.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAY,QAAQ,
|
|
1
|
+
{"version":3,"file":"home.component.d.ts","sourceRoot":"","sources":["../../../src/lib/home-component/home.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAY,QAAQ,EAAqB,MAAM,sBAAsB,CAAC;AAE7E,OAAO,EAAE,uBAAuB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;AAEnF,qBAMa,aAAc,SAAQ,uBAAuB;IAIrC,aAAa,EAAE,aAAa;IAAE,OAAO,CAAC,MAAM;IAFxD,aAAa,EAAE,MAAM,CAAC;gBAEV,aAAa,EAAE,aAAa,EAAU,MAAM,EAAE,MAAM;IAQhE,EAAE,WAAkB;IACpB,SAAS,8FAAgF;IAEzF,QAAQ,CAAC,KAAK,EAAE,MAAM;YAQf,gBAAgB;yCAvBnB,aAAa;2CAAb,aAAa;CAuCzB"}
|
|
@@ -14,7 +14,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
import { Component } from '@angular/core';
|
|
17
|
-
import { LogError, Metadata,
|
|
17
|
+
import { LogError, Metadata, RunQuery } from '@memberjunction/core';
|
|
18
18
|
import { RegisterClass } from '@memberjunction/global';
|
|
19
19
|
import { BaseNavigationComponent } from '@memberjunction/ng-shared';
|
|
20
20
|
import * as i0 from "@angular/core";
|
|
@@ -56,40 +56,16 @@ let HomeComponent = class HomeComponent extends BaseNavigationComponent {
|
|
|
56
56
|
}
|
|
57
57
|
getVersionString() {
|
|
58
58
|
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
const
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
EntityName: 'flyway _schema _histories',
|
|
63
|
-
OrderBy: "installed_on desc"
|
|
59
|
+
const rq = new RunQuery();
|
|
60
|
+
const rqResult = yield rq.RunQuery({
|
|
61
|
+
QueryName: '__mj: Server Installed Version History' // Get the latest schema version in descending order
|
|
64
62
|
});
|
|
65
|
-
if (!
|
|
66
|
-
LogError("Error getting version string", undefined,
|
|
63
|
+
if (!rqResult.Success) {
|
|
64
|
+
LogError("Error getting version string", undefined, rqResult.ErrorMessage);
|
|
67
65
|
return "";
|
|
68
66
|
}
|
|
69
|
-
const latestSchema =
|
|
70
|
-
|
|
71
|
-
if (description) {
|
|
72
|
-
if (description[0] === 'v') {
|
|
73
|
-
description = description.substring(1);
|
|
74
|
-
}
|
|
75
|
-
let index = 0;
|
|
76
|
-
for (const char of description) {
|
|
77
|
-
//if it is a number or a dot, keep going
|
|
78
|
-
if (char === '.' || (char >= '0' && char <= '9')) {
|
|
79
|
-
index++;
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
if (description[index - 1] === '.') {
|
|
83
|
-
index--;
|
|
84
|
-
}
|
|
85
|
-
break;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return `Version ${description.substring(0, index)}`;
|
|
89
|
-
}
|
|
90
|
-
else {
|
|
91
|
-
return `Version ${latestSchema.version}`;
|
|
92
|
-
}
|
|
67
|
+
const latestSchema = rqResult.Results[0];
|
|
68
|
+
return `Version ${latestSchema.Version}`;
|
|
93
69
|
});
|
|
94
70
|
}
|
|
95
71
|
};
|
|
@@ -119,5 +95,5 @@ export { HomeComponent };
|
|
|
119
95
|
type: Component,
|
|
120
96
|
args: [{ selector: 'app-home', template: "<div class=\"home-container\">\n <div class=\"card-header-entity\">\n <div class=\"title-wrap\">\n <h1>Home</h1>\n </div>\n </div>\n <div class=\"main-area\"> \n <div class=\"nav-container\">\n <!-- <div class=\"nav-item\" (click)=\"navigate('askskip')\">\n <span class=\"fa-solid fa-user fa-4x sky-blue\"></span>\n <span>Ask Skip</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('data')\">\n <span class=\"fa-solid fa-table-cells fa-4x sky-blue\"></span>\n <span>Data</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('queries')\">\n <span class=\"fa-solid fa-database fa-4x sky-blue\"></span>\n <span>Queries</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('dashboards')\">\n <span class=\"fa-solid fa-layer-group fa-4x sky-blue\"></span>\n <span>Dashboards</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('reports')\">\n <span class=\"fa-solid fa-chart-line fa-4x sky-blue\"></span>\n <span>Reports</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('lists')\">\n <span class=\"fa-solid fa-list-ul fa-4x sky-blue\"></span>\n <span>Lists</span>\n </div>\n <div class=\"nav-item\" (click)=\"navigate('settings')\">\n <span class=\"fa-solid fa-gear fa-4x sky-blue\"></span>\n <span>Settings</span>\n </div> -->\n @for (item of HomeItems; track item) {\n <div class=\"nav-item\" (click)=\"navigate(item.Route)\">\n <span [ngClass]=\"'fa-solid fa-4x sky-blue ' + item.IconCSSClass\"></span>\n <span>{{item.Name}}</span>\n </div>\n }\n </div>\n\n <app-favorites class=\"home-favorites\"></app-favorites>\n <div class=\"float-bottom\">\n {{versionString}}\n </div>\n </div>\n</div>", styles: [".home-container {\n padding: 15px;\n}\n\n.nav-container {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 24px;\n flex: 1;\n}\n.nav-item {\n border: solid 1px lightgray;\n border-radius: 5px;\n background: #fff;\n border-radius: 15px;\n width: 100%;;\n height: auto;\n box-sizing: border-box;\n padding: 25px;\n text-align: left;\n display: flex;\n gap: 26px;\n vertical-align: middle; \n font-size: 20px;\n cursor: pointer;\n}\n.nav-item .k-svg-icon {\n width: 75px;\n height: 75px;\n color: var(--sky-blue);\n}\n.nav-item:hover {\n box-shadow: 0px 0px 20px 0px rgba(60, 73, 99, 0.2);\n}\n\n\n.home-favorites {\n width: 500px;\n}\n\n.sky-blue {\n color: var(--sky-blue);\n}\n\n.float-bottom {\n position: fixed;\n bottom: 20px;\n z-index: 1000;\n font-size: medium;\n}", "\n.main-area {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n gap: 24px;\n padding: 24px 0;\n}\n.list-view {\n padding: 16px;\n min-width: 300px;\n border-radius: 4px;\n background: #FAFAFA;\n border: none;\n}\n::ng-deep .list-view .k-listview-header, \n::ng-deep .list-view .k-listview-footer {\n border: none;\n}\n::ng-deep .list-view .k-listview-content {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 4px;\n background: #fff;\n padding: 16px;\n}\n\n.header,\n.footer {\n color: #424242;\n font-size: 16px;\n height: auto;\n margin:0;\n}\n\n.header {\n color: #424242;\n margin-bottom: 16px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n.header .head-tag {\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\nfont-size: 16px;\nfont-style: normal;\nfont-weight: 400;\nline-height: 20px;\n}\n\n.header .count {\n width: 24px;\n height: 24px;\n min-width: 24px;\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 10px;\n background: rgba(0, 0, 0, 0.08);\n border-radius: 50%;\n}\n.footer {\n font-size: 14px;\n margin-top: 16px;\n}\n\n.list-item {\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 30px;\n cursor: pointer;\n margin: 4px;\n}\n.card-container {\n margin: 0;\n padding: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n\n\n\n\n \n.view-card .view-icon {\n color: var(--sideNav);\n}\n.card-wrapper {\n border: 1px solid rgba(0, 0, 0, 0.08);\n border-radius: 6px;\n width: 100% !important;\n}\n.card-wrapper .k-card-body {\n background: #fff;\n padding: 12px 20px;\n}\n.card-wrapper .view-card {\n overflow: auto;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background: #fafafa;\n padding: 4px 15px;\n}\n.view-card .btn-wrapper {\n display: flex;\n align-items: center;\n}\n\n.k-card-body .view-card-content h5 {\n color: #424242;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n margin-bottom: 0;\n letter-spacing: 0.18px;\n}\n.k-card-body .view-card-content p {\n color: #666;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n height: 48px;\n margin-bottom: 0;\n}\n.card-container {\n padding: 0;\n margin: 0;\n box-shadow: none;\n}\n.card-header-entity {\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n padding-bottom: 20px;\n border-bottom: 1px solid rgba(0, 0, 0, 0.08);\n}\n\n.card-header-entity .title-wrap h1 {\n color: #424242;\n font-size: 28px;\n font-style: normal;\n font-weight: 300;\n line-height: 28px;\n margin-bottom: 15px;\n}\n.card-header-entity .title-wrap {\n display: flex;\n flex-direction: column;\n}\n.card-header-entity .title-wrap p {\n margin: 0;\n display: flex;\n align-items: center;\n gap: 8px;\n color: #424242;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n}\n.main-area .card-list {\n display: grid;\n grid-template-columns: repeat(4, 1fr);\n gap: 20px;\n}\n"] }]
|
|
121
97
|
}], () => [{ type: i1.SharedService }, { type: i2.Router }], null); })();
|
|
122
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HomeComponent, { className: "HomeComponent", filePath: "src/lib/home-component/home.component.ts", lineNumber:
|
|
98
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(HomeComponent, { className: "HomeComponent", filePath: "src/lib/home-component/home.component.ts", lineNumber: 13 }); })();
|
|
123
99
|
//# sourceMappingURL=home.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"home.component.js","sourceRoot":"","sources":["../../../src/lib/home-component/home.component.ts","../../../src/lib/home-component/home.component.html"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,
|
|
1
|
+
{"version":3,"file":"home.component.js","sourceRoot":"","sources":["../../../src/lib/home-component/home.component.ts","../../../src/lib/home-component/home.component.html"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAW,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAiB,MAAM,2BAA2B,CAAC;;;;;;;;ICiCnE,8BAAqD;IAA/B,gMAAS,8BAAoB,KAAC;IAChD,0BAAwE;IACxE,4BAAM;IAAA,YAAa;IACvB,AADuB,iBAAO,EACxB;;;IAFI,cAA0D;IAA1D,2EAA0D;IAC1D,eAAa;IAAb,kCAAa;;AD3BhC,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,uBAAuB;IAIxD,YAAmB,aAA4B,EAAU,MAAc;QACrE,KAAK,EAAE,CAAC;QADS,kBAAa,GAAb,aAAa,CAAe;QAAU,WAAM,GAAN,MAAM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AAuB,aACQ;QA6BvB,kGAKC;QACL,iBAAM;QAEN,mCAAsD;QACtD,+BAA0B;QACtB,aACJ;QAER,AADI,AADI,iBAAM,EACJ,EACJ;;QAbM,eAKC;QALD,4BAKC;QAKD,eACJ;QADI,kDACJ;;ADnCK,aAAa;IADzB,aAAa,CAAC,uBAAuB,EAAE,MAAM,CAAC;GAClC,aAAa,CAuCzB;;iFAvCY,aAAa;cANzB,SAAS;2BACE,UAAU;;kFAKT,aAAa"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-explorer-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.29.0",
|
|
4
4
|
"description": "MemberJunction Explorer: Core Angular Components",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -26,29 +26,29 @@
|
|
|
26
26
|
"@angular/router": "18.0.2"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@memberjunction/global": "2.
|
|
30
|
-
"@memberjunction/core": "2.
|
|
31
|
-
"@memberjunction/core-entities": "2.
|
|
32
|
-
"@memberjunction/entity-communications-client": "2.
|
|
33
|
-
"@memberjunction/communication-types": "2.
|
|
34
|
-
"@memberjunction/templates-base-types": "2.
|
|
35
|
-
"@memberjunction/ng-compare-records": "2.
|
|
36
|
-
"@memberjunction/ng-file-storage": "2.
|
|
37
|
-
"@memberjunction/ng-record-changes": "2.
|
|
38
|
-
"@memberjunction/ng-container-directives": "2.
|
|
39
|
-
"@memberjunction/ng-user-view-grid": "2.
|
|
40
|
-
"@memberjunction/ng-query-grid": "2.
|
|
41
|
-
"@memberjunction/ng-user-view-properties": "2.
|
|
42
|
-
"@memberjunction/ng-shared": "2.
|
|
43
|
-
"@memberjunction/ng-tabstrip": "2.
|
|
44
|
-
"@memberjunction/ng-skip-chat": "2.
|
|
45
|
-
"@memberjunction/ng-ask-skip": "2.
|
|
46
|
-
"@memberjunction/ng-auth-services": "2.
|
|
47
|
-
"@memberjunction/ng-explorer-settings": "2.
|
|
48
|
-
"@memberjunction/ng-base-forms": "2.
|
|
49
|
-
"@memberjunction/ng-entity-form-dialog": "2.
|
|
50
|
-
"@memberjunction/ng-record-selector": "2.
|
|
51
|
-
"@memberjunction/ng-resource-permissions": "2.
|
|
29
|
+
"@memberjunction/global": "2.29.0",
|
|
30
|
+
"@memberjunction/core": "2.29.0",
|
|
31
|
+
"@memberjunction/core-entities": "2.29.0",
|
|
32
|
+
"@memberjunction/entity-communications-client": "2.29.0",
|
|
33
|
+
"@memberjunction/communication-types": "2.29.0",
|
|
34
|
+
"@memberjunction/templates-base-types": "2.29.0",
|
|
35
|
+
"@memberjunction/ng-compare-records": "2.29.0",
|
|
36
|
+
"@memberjunction/ng-file-storage": "2.29.0",
|
|
37
|
+
"@memberjunction/ng-record-changes": "2.29.0",
|
|
38
|
+
"@memberjunction/ng-container-directives": "2.29.0",
|
|
39
|
+
"@memberjunction/ng-user-view-grid": "2.29.0",
|
|
40
|
+
"@memberjunction/ng-query-grid": "2.29.0",
|
|
41
|
+
"@memberjunction/ng-user-view-properties": "2.29.0",
|
|
42
|
+
"@memberjunction/ng-shared": "2.29.0",
|
|
43
|
+
"@memberjunction/ng-tabstrip": "2.29.0",
|
|
44
|
+
"@memberjunction/ng-skip-chat": "2.29.0",
|
|
45
|
+
"@memberjunction/ng-ask-skip": "2.29.0",
|
|
46
|
+
"@memberjunction/ng-auth-services": "2.29.0",
|
|
47
|
+
"@memberjunction/ng-explorer-settings": "2.29.0",
|
|
48
|
+
"@memberjunction/ng-base-forms": "2.29.0",
|
|
49
|
+
"@memberjunction/ng-entity-form-dialog": "2.29.0",
|
|
50
|
+
"@memberjunction/ng-record-selector": "2.29.0",
|
|
51
|
+
"@memberjunction/ng-resource-permissions": "2.29.0",
|
|
52
52
|
"@progress/kendo-angular-grid": "16.2.0",
|
|
53
53
|
"@progress/kendo-angular-buttons": "16.2.0",
|
|
54
54
|
"@progress/kendo-angular-listview": "16.2.0",
|