@memberjunction/ng-core-entity-forms 2.1.1 → 2.1.3
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.
|
@@ -18,9 +18,9 @@ import * as i6 from "@memberjunction/ng-tabstrip";
|
|
|
18
18
|
import * as i7 from "@memberjunction/ng-container-directives";
|
|
19
19
|
const _c0 = () => ({ EntityRelationshipID: "24996A46-F936-4A43-A7EA-2558CAE9612F" });
|
|
20
20
|
const _c1 = () => ({ EntityRelationshipID: "1D2B1E7C-8687-43E3-ADDF-3920FE15E262" });
|
|
21
|
-
const _c2 = () => ({ EntityRelationshipID: "
|
|
22
|
-
const _c3 = () => ({ EntityRelationshipID: "
|
|
23
|
-
const _c4 = () => ({ EntityRelationshipID: "
|
|
21
|
+
const _c2 = () => ({ EntityRelationshipID: "1486CB4C-71BB-4E9E-B384-8531645E502F" });
|
|
22
|
+
const _c3 = () => ({ EntityRelationshipID: "C4B5759A-40F3-4C20-9B12-A2F40A176C24" });
|
|
23
|
+
const _c4 = () => ({ EntityRelationshipID: "57722FAC-059C-4827-9301-BBF769AC4FF5" });
|
|
24
24
|
function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
25
25
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
26
26
|
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
@@ -46,19 +46,19 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
46
46
|
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
47
47
|
i0.ɵɵelementEnd();
|
|
48
48
|
i0.ɵɵelementStart(16, "mj-tab", 11);
|
|
49
|
-
i0.ɵɵtext(17, " AI
|
|
49
|
+
i0.ɵɵtext(17, " Entity AI Actions ");
|
|
50
50
|
i0.ɵɵelementEnd();
|
|
51
51
|
i0.ɵɵelementStart(18, "mj-tab-body");
|
|
52
52
|
i0.ɵɵelement(19, "mj-user-view-grid", 9);
|
|
53
53
|
i0.ɵɵelementEnd();
|
|
54
54
|
i0.ɵɵelementStart(20, "mj-tab", 12);
|
|
55
|
-
i0.ɵɵtext(21, "
|
|
55
|
+
i0.ɵɵtext(21, " AI Model Actions ");
|
|
56
56
|
i0.ɵɵelementEnd();
|
|
57
57
|
i0.ɵɵelementStart(22, "mj-tab-body");
|
|
58
58
|
i0.ɵɵelement(23, "mj-user-view-grid", 9);
|
|
59
59
|
i0.ɵɵelementEnd();
|
|
60
60
|
i0.ɵɵelementStart(24, "mj-tab", 13);
|
|
61
|
-
i0.ɵɵtext(25, "
|
|
61
|
+
i0.ɵɵtext(25, " Vector Indexes ");
|
|
62
62
|
i0.ɵɵelementEnd();
|
|
63
63
|
i0.ɵɵelementStart(26, "mj-tab-body");
|
|
64
64
|
i0.ɵɵelement(27, "mj-user-view-grid", 9);
|
|
@@ -80,20 +80,20 @@ function AIModelFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
80
80
|
i0.ɵɵadvance();
|
|
81
81
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(40, _c2));
|
|
82
82
|
i0.ɵɵadvance(3);
|
|
83
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI
|
|
83
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Entity AI Actions"))("NewRecordValues", ctx_r1.NewRecordValues("Entity AI Actions"))("AllowLoad", ctx_r1.IsCurrentTab("Entity AI Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
84
84
|
i0.ɵɵadvance();
|
|
85
85
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(41, _c3));
|
|
86
86
|
i0.ɵɵadvance(3);
|
|
87
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("
|
|
87
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("AI Model Actions"))("NewRecordValues", ctx_r1.NewRecordValues("AI Model Actions"))("AllowLoad", ctx_r1.IsCurrentTab("AI Model Actions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
88
88
|
i0.ɵɵadvance();
|
|
89
89
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(42, _c4));
|
|
90
90
|
i0.ɵɵadvance(3);
|
|
91
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("
|
|
91
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Vector Indexes"))("NewRecordValues", ctx_r1.NewRecordValues("Vector Indexes"))("AllowLoad", ctx_r1.IsCurrentTab("Vector Indexes"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
92
92
|
} }
|
|
93
93
|
let AIModelFormComponent = class AIModelFormComponent extends BaseFormComponent {
|
|
94
94
|
};
|
|
95
95
|
AIModelFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵAIModelFormComponent_BaseFactory; return function AIModelFormComponent_Factory(t) { return (ɵAIModelFormComponent_BaseFactory || (ɵAIModelFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(AIModelFormComponent)))(t || AIModelFormComponent); }; })();
|
|
96
|
-
AIModelFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Entity Documents", 3, "Visible", "Props"], ["Name", "AI
|
|
96
|
+
AIModelFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AIModelFormComponent, selectors: [["gen-aimodel-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "AI Models", "Section", "details", 3, "record", "EditMode"], ["Name", "AI Actions", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Entity Documents", 3, "Visible", "Props"], ["Name", "Entity AI Actions", 3, "Visible", "Props"], ["Name", "AI Model Actions", 3, "Visible", "Props"], ["Name", "Vector Indexes", 3, "Visible", "Props"]], template: function AIModelFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
97
97
|
i0.ɵɵelementStart(0, "div", 1);
|
|
98
98
|
i0.ɵɵtemplate(1, AIModelFormComponent_form_1_Template, 28, 43, "form", 2);
|
|
99
99
|
i0.ɵɵelementEnd();
|
|
@@ -108,7 +108,7 @@ AIModelFormComponent = __decorate([
|
|
|
108
108
|
export { AIModelFormComponent };
|
|
109
109
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AIModelFormComponent, [{
|
|
110
110
|
type: Component,
|
|
111
|
-
args: [{ selector: 'gen-aimodel-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"AI Models\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '24996A46-F936-4A43-A7EA-2558CAE9612F'}\">\n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions')\" \n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Documents\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1D2B1E7C-8687-43E3-ADDF-3920FE15E262'}\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI
|
|
111
|
+
args: [{ selector: 'gen-aimodel-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"AI Models\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"AI Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '24996A46-F936-4A43-A7EA-2558CAE9612F'}\">\n AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Actions')\" \n [NewRecordValues]=\"NewRecordValues('AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity Documents\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1D2B1E7C-8687-43E3-ADDF-3920FE15E262'}\">\n Entity Documents\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [NewRecordValues]=\"NewRecordValues('Entity Documents')\"\n [AllowLoad]=\"IsCurrentTab('Entity Documents')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Entity AI Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '1486CB4C-71BB-4E9E-B384-8531645E502F'}\">\n Entity AI Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \n [NewRecordValues]=\"NewRecordValues('Entity AI Actions')\"\n [AllowLoad]=\"IsCurrentTab('Entity AI Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"AI Model Actions\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'C4B5759A-40F3-4C20-9B12-A2F40A176C24'}\">\n AI Model Actions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('AI Model Actions')\" \n [NewRecordValues]=\"NewRecordValues('AI Model Actions')\"\n [AllowLoad]=\"IsCurrentTab('AI Model Actions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Vector Indexes\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '57722FAC-059C-4827-9301-BBF769AC4FF5'}\">\n Vector Indexes\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Vector Indexes')\" \n [NewRecordValues]=\"NewRecordValues('Vector Indexes')\"\n [AllowLoad]=\"IsCurrentTab('Vector Indexes')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
112
112
|
}], null, null); })();
|
|
113
113
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AIModelFormComponent, { className: "AIModelFormComponent", filePath: "src/lib/generated/Entities/AIModel/aimodel.form.component.ts", lineNumber: 14 }); })();
|
|
114
114
|
export function LoadAIModelFormComponent() {
|
|
@@ -16,14 +16,10 @@ import * as i4 from "@memberjunction/ng-base-forms";
|
|
|
16
16
|
import * as i5 from "@memberjunction/ng-form-toolbar";
|
|
17
17
|
import * as i6 from "@memberjunction/ng-tabstrip";
|
|
18
18
|
import * as i7 from "@memberjunction/ng-container-directives";
|
|
19
|
-
const _c0 = () => ({ EntityRelationshipID: "
|
|
20
|
-
const _c1 = () => ({ EntityRelationshipID: "
|
|
21
|
-
const _c2 = () => ({ EntityRelationshipID: "
|
|
22
|
-
const _c3 = () => ({ EntityRelationshipID: "
|
|
23
|
-
const _c4 = () => ({ EntityRelationshipID: "6E9A52B3-9B1F-428A-8831-AD5959677DC8" });
|
|
24
|
-
const _c5 = () => ({ EntityRelationshipID: "C4A0E5F4-865F-4E5A-A035-B017E34AF52F" });
|
|
25
|
-
const _c6 = () => ({ EntityRelationshipID: "8814BA9C-04AD-4640-9994-D34C30537349" });
|
|
26
|
-
const _c7 = () => ({ EntityRelationshipID: "E52C82FF-D90F-44CB-807A-EBFF1159C5B5" });
|
|
19
|
+
const _c0 = () => ({ EntityRelationshipID: "0D2DB598-3AA0-4DCB-8F0B-24AC5EF36116" });
|
|
20
|
+
const _c1 = () => ({ EntityRelationshipID: "6E9A52B3-9B1F-428A-8831-AD5959677DC8" });
|
|
21
|
+
const _c2 = () => ({ EntityRelationshipID: "C4A0E5F4-865F-4E5A-A035-B017E34AF52F" });
|
|
22
|
+
const _c3 = () => ({ EntityRelationshipID: "8814BA9C-04AD-4640-9994-D34C30537349" });
|
|
27
23
|
function CompanyIntegrationFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
28
24
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
29
25
|
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
@@ -37,52 +33,28 @@ function CompanyIntegrationFormComponent_form_1_Template(rf, ctx) { if (rf & 1)
|
|
|
37
33
|
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
38
34
|
i0.ɵɵelementEnd();
|
|
39
35
|
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
40
|
-
i0.ɵɵtext(9, "
|
|
36
|
+
i0.ɵɵtext(9, " Company Integration Record Maps ");
|
|
41
37
|
i0.ɵɵelementEnd();
|
|
42
38
|
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
43
39
|
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
44
40
|
i0.ɵɵelementEnd();
|
|
45
41
|
i0.ɵɵelementStart(12, "mj-tab", 10);
|
|
46
|
-
i0.ɵɵtext(13, "
|
|
42
|
+
i0.ɵɵtext(13, " Lists ");
|
|
47
43
|
i0.ɵɵelementEnd();
|
|
48
44
|
i0.ɵɵelementStart(14, "mj-tab-body");
|
|
49
45
|
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
50
46
|
i0.ɵɵelementEnd();
|
|
51
47
|
i0.ɵɵelementStart(16, "mj-tab", 11);
|
|
52
|
-
i0.ɵɵtext(17, "
|
|
48
|
+
i0.ɵɵtext(17, " Company Integration Runs ");
|
|
53
49
|
i0.ɵɵelementEnd();
|
|
54
50
|
i0.ɵɵelementStart(18, "mj-tab-body");
|
|
55
51
|
i0.ɵɵelement(19, "mj-user-view-grid", 9);
|
|
56
52
|
i0.ɵɵelementEnd();
|
|
57
53
|
i0.ɵɵelementStart(20, "mj-tab", 12);
|
|
58
|
-
i0.ɵɵtext(21, "
|
|
54
|
+
i0.ɵɵtext(21, " Employee Company Integrations ");
|
|
59
55
|
i0.ɵɵelementEnd();
|
|
60
56
|
i0.ɵɵelementStart(22, "mj-tab-body");
|
|
61
57
|
i0.ɵɵelement(23, "mj-user-view-grid", 9);
|
|
62
|
-
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelementStart(24, "mj-tab", 13);
|
|
64
|
-
i0.ɵɵtext(25, " Lists ");
|
|
65
|
-
i0.ɵɵelementEnd();
|
|
66
|
-
i0.ɵɵelementStart(26, "mj-tab-body");
|
|
67
|
-
i0.ɵɵelement(27, "mj-user-view-grid", 9);
|
|
68
|
-
i0.ɵɵelementEnd();
|
|
69
|
-
i0.ɵɵelementStart(28, "mj-tab", 14);
|
|
70
|
-
i0.ɵɵtext(29, " Company Integration Runs ");
|
|
71
|
-
i0.ɵɵelementEnd();
|
|
72
|
-
i0.ɵɵelementStart(30, "mj-tab-body");
|
|
73
|
-
i0.ɵɵelement(31, "mj-user-view-grid", 9);
|
|
74
|
-
i0.ɵɵelementEnd();
|
|
75
|
-
i0.ɵɵelementStart(32, "mj-tab", 15);
|
|
76
|
-
i0.ɵɵtext(33, " Employee Company Integrations ");
|
|
77
|
-
i0.ɵɵelementEnd();
|
|
78
|
-
i0.ɵɵelementStart(34, "mj-tab-body");
|
|
79
|
-
i0.ɵɵelement(35, "mj-user-view-grid", 9);
|
|
80
|
-
i0.ɵɵelementEnd();
|
|
81
|
-
i0.ɵɵelementStart(36, "mj-tab", 16);
|
|
82
|
-
i0.ɵɵtext(37, " Activities ");
|
|
83
|
-
i0.ɵɵelementEnd();
|
|
84
|
-
i0.ɵɵelementStart(38, "mj-tab-body");
|
|
85
|
-
i0.ɵɵelement(39, "mj-user-view-grid", 9);
|
|
86
58
|
i0.ɵɵelementEnd()()();
|
|
87
59
|
} if (rf & 2) {
|
|
88
60
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -91,44 +63,28 @@ function CompanyIntegrationFormComponent_form_1_Template(rf, ctx) { if (rf & 1)
|
|
|
91
63
|
i0.ɵɵadvance(5);
|
|
92
64
|
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
93
65
|
i0.ɵɵadvance();
|
|
94
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
95
|
-
i0.ɵɵadvance(3);
|
|
96
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Invoices"))("NewRecordValues", ctx_r1.NewRecordValues("Invoices"))("AllowLoad", ctx_r1.IsCurrentTab("Invoices"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
97
|
-
i0.ɵɵadvance();
|
|
98
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(60, _c1));
|
|
66
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(31, _c0));
|
|
99
67
|
i0.ɵɵadvance(3);
|
|
100
68
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Company Integration Record Maps"))("NewRecordValues", ctx_r1.NewRecordValues("Company Integration Record Maps"))("AllowLoad", ctx_r1.IsCurrentTab("Company Integration Record Maps"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
101
69
|
i0.ɵɵadvance();
|
|
102
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
103
|
-
i0.ɵɵadvance(3);
|
|
104
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Deals"))("NewRecordValues", ctx_r1.NewRecordValues("Deals"))("AllowLoad", ctx_r1.IsCurrentTab("Deals"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
105
|
-
i0.ɵɵadvance();
|
|
106
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(62, _c3));
|
|
107
|
-
i0.ɵɵadvance(3);
|
|
108
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Payment Terms Types"))("NewRecordValues", ctx_r1.NewRecordValues("Payment Terms Types"))("AllowLoad", ctx_r1.IsCurrentTab("Payment Terms Types"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
109
|
-
i0.ɵɵadvance();
|
|
110
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(63, _c4));
|
|
70
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(32, _c1));
|
|
111
71
|
i0.ɵɵadvance(3);
|
|
112
72
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Lists"))("NewRecordValues", ctx_r1.NewRecordValues("Lists"))("AllowLoad", ctx_r1.IsCurrentTab("Lists"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
113
73
|
i0.ɵɵadvance();
|
|
114
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
74
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(33, _c2));
|
|
115
75
|
i0.ɵɵadvance(3);
|
|
116
76
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Company Integration Runs"))("NewRecordValues", ctx_r1.NewRecordValues("Company Integration Runs"))("AllowLoad", ctx_r1.IsCurrentTab("Company Integration Runs"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
117
77
|
i0.ɵɵadvance();
|
|
118
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
78
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(34, _c3));
|
|
119
79
|
i0.ɵɵadvance(3);
|
|
120
80
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Employee Company Integrations"))("NewRecordValues", ctx_r1.NewRecordValues("Employee Company Integrations"))("AllowLoad", ctx_r1.IsCurrentTab("Employee Company Integrations"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
121
|
-
i0.ɵɵadvance();
|
|
122
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(66, _c7));
|
|
123
|
-
i0.ɵɵadvance(3);
|
|
124
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Activities"))("NewRecordValues", ctx_r1.NewRecordValues("Activities"))("AllowLoad", ctx_r1.IsCurrentTab("Activities"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
125
81
|
} }
|
|
126
82
|
let CompanyIntegrationFormComponent = class CompanyIntegrationFormComponent extends BaseFormComponent {
|
|
127
83
|
};
|
|
128
84
|
CompanyIntegrationFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵCompanyIntegrationFormComponent_BaseFactory; return function CompanyIntegrationFormComponent_Factory(t) { return (ɵCompanyIntegrationFormComponent_BaseFactory || (ɵCompanyIntegrationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(CompanyIntegrationFormComponent)))(t || CompanyIntegrationFormComponent); }; })();
|
|
129
|
-
CompanyIntegrationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyIntegrationFormComponent, selectors: [["gen-companyintegration-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "Company Integrations", "Section", "details", 3, "record", "EditMode"], ["Name", "
|
|
85
|
+
CompanyIntegrationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CompanyIntegrationFormComponent, selectors: [["gen-companyintegration-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "Company Integrations", "Section", "details", 3, "record", "EditMode"], ["Name", "Company Integration Record Maps", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Lists", 3, "Visible", "Props"], ["Name", "Company Integration Runs", 3, "Visible", "Props"], ["Name", "Employee Company Integrations", 3, "Visible", "Props"]], template: function CompanyIntegrationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
130
86
|
i0.ɵɵelementStart(0, "div", 1);
|
|
131
|
-
i0.ɵɵtemplate(1, CompanyIntegrationFormComponent_form_1_Template,
|
|
87
|
+
i0.ɵɵtemplate(1, CompanyIntegrationFormComponent_form_1_Template, 24, 35, "form", 2);
|
|
132
88
|
i0.ɵɵelementEnd();
|
|
133
89
|
} if (rf & 2) {
|
|
134
90
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -141,7 +97,7 @@ CompanyIntegrationFormComponent = __decorate([
|
|
|
141
97
|
export { CompanyIntegrationFormComponent };
|
|
142
98
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CompanyIntegrationFormComponent, [{
|
|
143
99
|
type: Component,
|
|
144
|
-
args: [{ selector: 'gen-companyintegration-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Company Integrations\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"
|
|
100
|
+
args: [{ selector: 'gen-companyintegration-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Company Integrations\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Company Integration Record Maps\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '0D2DB598-3AA0-4DCB-8F0B-24AC5EF36116'}\">\n Company Integration Record Maps\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Company Integration Record Maps')\" \n [NewRecordValues]=\"NewRecordValues('Company Integration Record Maps')\"\n [AllowLoad]=\"IsCurrentTab('Company Integration Record Maps')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Lists\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '6E9A52B3-9B1F-428A-8831-AD5959677DC8'}\">\n Lists\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Lists')\" \n [NewRecordValues]=\"NewRecordValues('Lists')\"\n [AllowLoad]=\"IsCurrentTab('Lists')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Company Integration Runs\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'C4A0E5F4-865F-4E5A-A035-B017E34AF52F'}\">\n Company Integration Runs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Company Integration Runs')\" \n [NewRecordValues]=\"NewRecordValues('Company Integration Runs')\"\n [AllowLoad]=\"IsCurrentTab('Company Integration Runs')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Employee Company Integrations\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '8814BA9C-04AD-4640-9994-D34C30537349'}\">\n Employee Company Integrations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Employee Company Integrations')\" \n [NewRecordValues]=\"NewRecordValues('Employee Company Integrations')\"\n [AllowLoad]=\"IsCurrentTab('Employee Company Integrations')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
145
101
|
}], null, null); })();
|
|
146
102
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CompanyIntegrationFormComponent, { className: "CompanyIntegrationFormComponent", filePath: "src/lib/generated/Entities/CompanyIntegration/companyintegration.form.component.ts", lineNumber: 14 }); })();
|
|
147
103
|
export function LoadCompanyIntegrationFormComponent() {
|
|
@@ -16,13 +16,11 @@ import * as i4 from "@memberjunction/ng-base-forms";
|
|
|
16
16
|
import * as i5 from "@memberjunction/ng-form-toolbar";
|
|
17
17
|
import * as i6 from "@memberjunction/ng-tabstrip";
|
|
18
18
|
import * as i7 from "@memberjunction/ng-container-directives";
|
|
19
|
-
const _c0 = () => ({ EntityRelationshipID: "
|
|
20
|
-
const _c1 = () => ({ EntityRelationshipID: "
|
|
21
|
-
const _c2 = () => ({ EntityRelationshipID: "
|
|
22
|
-
const _c3 = () => ({ EntityRelationshipID: "
|
|
23
|
-
const _c4 = () => ({ EntityRelationshipID: "
|
|
24
|
-
const _c5 = () => ({ EntityRelationshipID: "B9B28CF7-36B6-4B78-BBEE-B1D91669B212" });
|
|
25
|
-
const _c6 = () => ({ EntityRelationshipID: "607159FC-B258-4E9C-895F-B9603E8B9DB6" });
|
|
19
|
+
const _c0 = () => ({ EntityRelationshipID: "B003A9F9-A02D-4DBD-89B3-49CE5E369D74" });
|
|
20
|
+
const _c1 = () => ({ EntityRelationshipID: "86F713AB-4A5C-4843-852E-6852922EC491" });
|
|
21
|
+
const _c2 = () => ({ EntityRelationshipID: "DB1A7009-169F-4B35-B037-A48164A19465" });
|
|
22
|
+
const _c3 = () => ({ EntityRelationshipID: "B9B28CF7-36B6-4B78-BBEE-B1D91669B212" });
|
|
23
|
+
const _c4 = () => ({ EntityRelationshipID: "607159FC-B258-4E9C-895F-B9603E8B9DB6" });
|
|
26
24
|
function EmployeeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
27
25
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
28
26
|
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
@@ -36,48 +34,36 @@ function EmployeeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
36
34
|
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
37
35
|
i0.ɵɵelementEnd();
|
|
38
36
|
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
39
|
-
i0.ɵɵ
|
|
37
|
+
i0.ɵɵelement(9, "span", 9);
|
|
38
|
+
i0.ɵɵtext(10, "Users ");
|
|
40
39
|
i0.ɵɵelementEnd();
|
|
41
|
-
i0.ɵɵelementStart(
|
|
42
|
-
i0.ɵɵelement(
|
|
40
|
+
i0.ɵɵelementStart(11, "mj-tab-body");
|
|
41
|
+
i0.ɵɵelement(12, "mj-user-view-grid", 10);
|
|
43
42
|
i0.ɵɵelementEnd();
|
|
44
|
-
i0.ɵɵelementStart(
|
|
45
|
-
i0.ɵɵtext(
|
|
43
|
+
i0.ɵɵelementStart(13, "mj-tab", 11);
|
|
44
|
+
i0.ɵɵtext(14, " Employee Skills ");
|
|
46
45
|
i0.ɵɵelementEnd();
|
|
47
|
-
i0.ɵɵelementStart(
|
|
48
|
-
i0.ɵɵelement(
|
|
46
|
+
i0.ɵɵelementStart(15, "mj-tab-body");
|
|
47
|
+
i0.ɵɵelement(16, "mj-user-view-grid", 10);
|
|
49
48
|
i0.ɵɵelementEnd();
|
|
50
|
-
i0.ɵɵelementStart(
|
|
51
|
-
i0.ɵɵ
|
|
52
|
-
i0.ɵɵtext(18, "Users ");
|
|
49
|
+
i0.ɵɵelementStart(17, "mj-tab", 12);
|
|
50
|
+
i0.ɵɵtext(18, " Employee Company Integrations ");
|
|
53
51
|
i0.ɵɵelementEnd();
|
|
54
52
|
i0.ɵɵelementStart(19, "mj-tab-body");
|
|
55
|
-
i0.ɵɵelement(20, "mj-user-view-grid",
|
|
53
|
+
i0.ɵɵelement(20, "mj-user-view-grid", 10);
|
|
56
54
|
i0.ɵɵelementEnd();
|
|
57
55
|
i0.ɵɵelementStart(21, "mj-tab", 13);
|
|
58
|
-
i0.ɵɵ
|
|
56
|
+
i0.ɵɵelement(22, "span", 14);
|
|
57
|
+
i0.ɵɵtext(23, "Direct Reports ");
|
|
59
58
|
i0.ɵɵelementEnd();
|
|
60
|
-
i0.ɵɵelementStart(
|
|
61
|
-
i0.ɵɵelement(
|
|
59
|
+
i0.ɵɵelementStart(24, "mj-tab-body");
|
|
60
|
+
i0.ɵɵelement(25, "mj-user-view-grid", 10);
|
|
62
61
|
i0.ɵɵelementEnd();
|
|
63
|
-
i0.ɵɵelementStart(
|
|
64
|
-
i0.ɵɵtext(
|
|
62
|
+
i0.ɵɵelementStart(26, "mj-tab", 15);
|
|
63
|
+
i0.ɵɵtext(27, " Employee Roles ");
|
|
65
64
|
i0.ɵɵelementEnd();
|
|
66
|
-
i0.ɵɵelementStart(
|
|
67
|
-
i0.ɵɵelement(
|
|
68
|
-
i0.ɵɵelementEnd();
|
|
69
|
-
i0.ɵɵelementStart(29, "mj-tab", 15);
|
|
70
|
-
i0.ɵɵelement(30, "span", 16);
|
|
71
|
-
i0.ɵɵtext(31, "Direct Reports ");
|
|
72
|
-
i0.ɵɵelementEnd();
|
|
73
|
-
i0.ɵɵelementStart(32, "mj-tab-body");
|
|
74
|
-
i0.ɵɵelement(33, "mj-user-view-grid", 9);
|
|
75
|
-
i0.ɵɵelementEnd();
|
|
76
|
-
i0.ɵɵelementStart(34, "mj-tab", 17);
|
|
77
|
-
i0.ɵɵtext(35, " Employee Roles ");
|
|
78
|
-
i0.ɵɵelementEnd();
|
|
79
|
-
i0.ɵɵelementStart(36, "mj-tab-body");
|
|
80
|
-
i0.ɵɵelement(37, "mj-user-view-grid", 9);
|
|
65
|
+
i0.ɵɵelementStart(28, "mj-tab-body");
|
|
66
|
+
i0.ɵɵelement(29, "mj-user-view-grid", 10);
|
|
81
67
|
i0.ɵɵelementEnd()()();
|
|
82
68
|
} if (rf & 2) {
|
|
83
69
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -86,40 +72,32 @@ function EmployeeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
86
72
|
i0.ɵɵadvance(5);
|
|
87
73
|
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
88
74
|
i0.ɵɵadvance();
|
|
89
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
90
|
-
i0.ɵɵadvance(3);
|
|
91
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Deals"))("NewRecordValues", ctx_r1.NewRecordValues("Deals"))("AllowLoad", ctx_r1.IsCurrentTab("Deals"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
92
|
-
i0.ɵɵadvance();
|
|
93
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(53, _c1));
|
|
94
|
-
i0.ɵɵadvance(3);
|
|
95
|
-
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Activities"))("NewRecordValues", ctx_r1.NewRecordValues("Activities"))("AllowLoad", ctx_r1.IsCurrentTab("Activities"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
96
|
-
i0.ɵɵadvance();
|
|
97
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(54, _c2));
|
|
75
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(38, _c0));
|
|
98
76
|
i0.ɵɵadvance(4);
|
|
99
77
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Users"))("NewRecordValues", ctx_r1.NewRecordValues("Users"))("AllowLoad", ctx_r1.IsCurrentTab("Users"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
100
78
|
i0.ɵɵadvance();
|
|
101
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
79
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(39, _c1));
|
|
102
80
|
i0.ɵɵadvance(3);
|
|
103
81
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Employee Skills"))("NewRecordValues", ctx_r1.NewRecordValues("Employee Skills"))("AllowLoad", ctx_r1.IsCurrentTab("Employee Skills"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
104
82
|
i0.ɵɵadvance();
|
|
105
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
83
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(40, _c2));
|
|
106
84
|
i0.ɵɵadvance(3);
|
|
107
85
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Employee Company Integrations"))("NewRecordValues", ctx_r1.NewRecordValues("Employee Company Integrations"))("AllowLoad", ctx_r1.IsCurrentTab("Employee Company Integrations"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
108
86
|
i0.ɵɵadvance();
|
|
109
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
87
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(41, _c3));
|
|
110
88
|
i0.ɵɵadvance(4);
|
|
111
89
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Employees"))("NewRecordValues", ctx_r1.NewRecordValues("Employees"))("AllowLoad", ctx_r1.IsCurrentTab("Direct Reports"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
112
90
|
i0.ɵɵadvance();
|
|
113
|
-
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(
|
|
91
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(42, _c4));
|
|
114
92
|
i0.ɵɵadvance(3);
|
|
115
93
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Employee Roles"))("NewRecordValues", ctx_r1.NewRecordValues("Employee Roles"))("AllowLoad", ctx_r1.IsCurrentTab("Employee Roles"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
116
94
|
} }
|
|
117
95
|
let EmployeeFormComponent = class EmployeeFormComponent extends BaseFormComponent {
|
|
118
96
|
};
|
|
119
97
|
EmployeeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEmployeeFormComponent_BaseFactory; return function EmployeeFormComponent_Factory(t) { return (ɵEmployeeFormComponent_BaseFactory || (ɵEmployeeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EmployeeFormComponent)))(t || EmployeeFormComponent); }; })();
|
|
120
|
-
EmployeeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EmployeeFormComponent, selectors: [["gen-employee-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "Employees", "Section", "details", 3, "record", "EditMode"], ["Name", "
|
|
98
|
+
EmployeeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EmployeeFormComponent, selectors: [["gen-employee-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "Employees", "Section", "details", 3, "record", "EditMode"], ["Name", "Users", 3, "Visible", "Props"], [1, "fa-solid", "fa-user", "tab-header-icon"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Employee Skills", 3, "Visible", "Props"], ["Name", "Employee Company Integrations", 3, "Visible", "Props"], ["Name", "Direct Reports", 3, "Visible", "Props"], [1, "fa-solid", "fa-users", "tab-header-icon"], ["Name", "Employee Roles", 3, "Visible", "Props"]], template: function EmployeeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
121
99
|
i0.ɵɵelementStart(0, "div", 1);
|
|
122
|
-
i0.ɵɵtemplate(1, EmployeeFormComponent_form_1_Template,
|
|
100
|
+
i0.ɵɵtemplate(1, EmployeeFormComponent_form_1_Template, 30, 43, "form", 2);
|
|
123
101
|
i0.ɵɵelementEnd();
|
|
124
102
|
} if (rf & 2) {
|
|
125
103
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -132,7 +110,7 @@ EmployeeFormComponent = __decorate([
|
|
|
132
110
|
export { EmployeeFormComponent };
|
|
133
111
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmployeeFormComponent, [{
|
|
134
112
|
type: Component,
|
|
135
|
-
args: [{ selector: 'gen-employee-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Employees\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"
|
|
113
|
+
args: [{ selector: 'gen-employee-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Employees\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Users\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'B003A9F9-A02D-4DBD-89B3-49CE5E369D74'}\">\n <span class=\"fa-solid fa-user tab-header-icon\"></span>Users\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Users')\" \n [NewRecordValues]=\"NewRecordValues('Users')\"\n [AllowLoad]=\"IsCurrentTab('Users')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Employee Skills\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '86F713AB-4A5C-4843-852E-6852922EC491'}\">\n Employee Skills\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Employee Skills')\" \n [NewRecordValues]=\"NewRecordValues('Employee Skills')\"\n [AllowLoad]=\"IsCurrentTab('Employee Skills')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Employee Company Integrations\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'DB1A7009-169F-4B35-B037-A48164A19465'}\">\n Employee Company Integrations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Employee Company Integrations')\" \n [NewRecordValues]=\"NewRecordValues('Employee Company Integrations')\"\n [AllowLoad]=\"IsCurrentTab('Employee Company Integrations')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Direct Reports\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 'B9B28CF7-36B6-4B78-BBEE-B1D91669B212'}\">\n <span class=\"fa-solid fa-users tab-header-icon\"></span>Direct Reports\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Employees')\" \n [NewRecordValues]=\"NewRecordValues('Employees')\"\n [AllowLoad]=\"IsCurrentTab('Direct Reports')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Employee Roles\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: '607159FC-B258-4E9C-895F-B9603E8B9DB6'}\">\n Employee Roles\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Employee Roles')\" \n [NewRecordValues]=\"NewRecordValues('Employee Roles')\"\n [AllowLoad]=\"IsCurrentTab('Employee Roles')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
136
114
|
}], null, null); })();
|
|
137
115
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EmployeeFormComponent, { className: "EmployeeFormComponent", filePath: "src/lib/generated/Entities/Employee/employee.form.component.ts", lineNumber: 14 }); })();
|
|
138
116
|
export function LoadEmployeeFormComponent() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-core-entity-forms",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "MemberJunction Core Entity Angular Forms",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -24,16 +24,16 @@
|
|
|
24
24
|
"@angular/forms": "18.0.2"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@memberjunction/core": "2.1.
|
|
28
|
-
"@memberjunction/core-entities": "2.1.
|
|
29
|
-
"@memberjunction/ng-explorer-core": "2.1.
|
|
30
|
-
"@memberjunction/ng-base-forms": "2.1.
|
|
31
|
-
"@memberjunction/ng-form-toolbar": "2.1.
|
|
32
|
-
"@memberjunction/ng-tabstrip": "2.1.
|
|
33
|
-
"@memberjunction/ng-container-directives": "2.1.
|
|
34
|
-
"@memberjunction/ng-code-editor": "2.1.
|
|
35
|
-
"@memberjunction/ng-timeline": "2.1.
|
|
36
|
-
"@memberjunction/ng-join-grid": "2.1.
|
|
27
|
+
"@memberjunction/core": "2.1.3",
|
|
28
|
+
"@memberjunction/core-entities": "2.1.3",
|
|
29
|
+
"@memberjunction/ng-explorer-core": "2.1.3",
|
|
30
|
+
"@memberjunction/ng-base-forms": "2.1.3",
|
|
31
|
+
"@memberjunction/ng-form-toolbar": "2.1.3",
|
|
32
|
+
"@memberjunction/ng-tabstrip": "2.1.3",
|
|
33
|
+
"@memberjunction/ng-container-directives": "2.1.3",
|
|
34
|
+
"@memberjunction/ng-code-editor": "2.1.3",
|
|
35
|
+
"@memberjunction/ng-timeline": "2.1.3",
|
|
36
|
+
"@memberjunction/ng-join-grid": "2.1.3",
|
|
37
37
|
"@progress/kendo-angular-grid": "16.2.0",
|
|
38
38
|
"@progress/kendo-angular-dropdowns": "16.2.0",
|
|
39
39
|
"tslib": "^2.3.0"
|