@memberjunction/ng-core-entity-forms 0.9.24 → 0.9.26
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/generated/Entities/CompanyIntegrationRun/companyintegrationrun.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRun/companyintegrationrun.form.component.js +112 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRun/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRun/sections/details.component.js +243 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/companyintegrationrunapilog.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/companyintegrationrunapilog.form.component.js +66 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/sections/details.component.js +217 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/companyintegrationrundetail.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/companyintegrationrundetail.form.component.js +82 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/sections/details.component.js +291 -0
- package/dist/lib/generated/Entities/EmployeeCompanyIntegration/employeecompanyintegration.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EmployeeCompanyIntegration/employeecompanyintegration.form.component.js +66 -0
- package/dist/lib/generated/Entities/EmployeeCompanyIntegration/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EmployeeCompanyIntegration/sections/details.component.js +218 -0
- package/dist/lib/generated/Entities/EmployeeRole/employeerole.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EmployeeRole/employeerole.form.component.js +66 -0
- package/dist/lib/generated/Entities/EmployeeRole/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EmployeeRole/sections/details.component.js +193 -0
- package/dist/lib/generated/Entities/EmployeeSkill/employeeskill.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EmployeeSkill/employeeskill.form.component.js +66 -0
- package/dist/lib/generated/Entities/EmployeeSkill/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EmployeeSkill/sections/details.component.js +193 -0
- package/dist/lib/generated/Entities/ErrorLog/errorlog.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/ErrorLog/errorlog.form.component.js +66 -0
- package/dist/lib/generated/Entities/ErrorLog/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ErrorLog/sections/details.component.js +290 -0
- package/dist/lib/generated/generated-forms.module.d.ts +155 -136
- package/dist/lib/generated/generated-forms.module.js +218 -120
- package/package.json +3 -3
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EmployeeCompanyIntegrationEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EmployeeCompanyIntegrationFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EmployeeCompanyIntegrationEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmployeeCompanyIntegrationFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmployeeCompanyIntegrationFormComponent, "gen-employeecompanyintegration-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEmployeeCompanyIntegrationFormComponent(): void;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
10
|
+
import { LoadEmployeeCompanyIntegrationDetailsComponent } from "./sections/details.component";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "@angular/forms";
|
|
14
|
+
import * as i3 from "@progress/kendo-angular-layout";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-explorer-core";
|
|
16
|
+
function EmployeeCompanyIntegrationFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵtext(0, "Details");
|
|
18
|
+
} }
|
|
19
|
+
function EmployeeCompanyIntegrationFormComponent_form_1_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelement(0, "mj-form-section", 12);
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
23
|
+
i0.ɵɵproperty("record", ctx_r5.record)("EditMode", ctx_r5.EditMode);
|
|
24
|
+
} }
|
|
25
|
+
function EmployeeCompanyIntegrationFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
27
|
+
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
28
|
+
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
31
|
+
i0.ɵɵlistener("tabSelect", function EmployeeCompanyIntegrationFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.onTabSelect($event)); });
|
|
32
|
+
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
33
|
+
i0.ɵɵtemplate(8, EmployeeCompanyIntegrationFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10);
|
|
34
|
+
i0.ɵɵtemplate(9, EmployeeCompanyIntegrationFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
35
|
+
i0.ɵɵelementEnd()()();
|
|
36
|
+
} if (rf & 2) {
|
|
37
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
38
|
+
i0.ɵɵadvance(4);
|
|
39
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
40
|
+
i0.ɵɵadvance(1);
|
|
41
|
+
i0.ɵɵproperty("keepTabContent", true)("animate", false)("height", ctx_r0.TabHeight);
|
|
42
|
+
i0.ɵɵadvance(2);
|
|
43
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
44
|
+
} }
|
|
45
|
+
let EmployeeCompanyIntegrationFormComponent = class EmployeeCompanyIntegrationFormComponent extends BaseFormComponent {
|
|
46
|
+
};
|
|
47
|
+
EmployeeCompanyIntegrationFormComponent.ɵfac = /*@__PURE__*/ function () { let ɵEmployeeCompanyIntegrationFormComponent_BaseFactory; return function EmployeeCompanyIntegrationFormComponent_Factory(t) { return (ɵEmployeeCompanyIntegrationFormComponent_BaseFactory || (ɵEmployeeCompanyIntegrationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EmployeeCompanyIntegrationFormComponent)))(t || EmployeeCompanyIntegrationFormComponent); }; }();
|
|
48
|
+
EmployeeCompanyIntegrationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EmployeeCompanyIntegrationFormComponent, selectors: [["gen-employeecompanyintegration-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], ["form", "ngForm"], [1, "record-form-group"], ["topArea", ""], [3, "form"], [3, "keepTabContent", "animate", "height", "tabSelect"], ["tabStrip", ""], [3, "selected"], ["kendoTabTitle", ""], ["kendoTabContent", ""], ["Entity", "Employee Company Integrations", "Section", "details", 3, "record", "EditMode"]], template: function EmployeeCompanyIntegrationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
50
|
+
i0.ɵɵtemplate(1, EmployeeCompanyIntegrationFormComponent_form_1_Template, 10, 5, "form", 1);
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
} if (rf & 2) {
|
|
53
|
+
i0.ɵɵadvance(1);
|
|
54
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
55
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.TabStripComponent, i3.TabStripTabComponent, i3.TabContentDirective, i3.TabTitleDirective, i4.FormToolbarComponent, i4.SectionLoaderComponent], styles: ["a[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form[_ngcontent-%COMP%] {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
56
|
+
EmployeeCompanyIntegrationFormComponent = __decorate([
|
|
57
|
+
RegisterClass(BaseFormComponent, 'Employee Company Integrations') // Tell MemberJunction about this class
|
|
58
|
+
], EmployeeCompanyIntegrationFormComponent);
|
|
59
|
+
export { EmployeeCompanyIntegrationFormComponent };
|
|
60
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmployeeCompanyIntegrationFormComponent, [{
|
|
61
|
+
type: Component,
|
|
62
|
+
args: [{ selector: 'gen-employeecompanyintegration-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n \n </div>\n <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Employee Company Integrations\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n </kendo-tabstrip>\n </form>\n </div>\n ", styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
63
|
+
}], null, null); })();
|
|
64
|
+
export function LoadEmployeeCompanyIntegrationFormComponent() {
|
|
65
|
+
LoadEmployeeCompanyIntegrationDetailsComponent();
|
|
66
|
+
}
|
package/dist/lib/generated/Entities/EmployeeCompanyIntegration/sections/details.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { EmployeeCompanyIntegrationEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EmployeeCompanyIntegrationDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: EmployeeCompanyIntegrationEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmployeeCompanyIntegrationDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmployeeCompanyIntegrationDetailsComponent, "gen-employeecompanyintegration-form-details", never, { "record": "record"; "EditMode": "EditMode"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadEmployeeCompanyIntegrationDetailsComponent(): void;
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, Input } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@angular/forms";
|
|
13
|
+
import * as i3 from "@progress/kendo-angular-inputs";
|
|
14
|
+
import * as i4 from "@memberjunction/ng-link-directives";
|
|
15
|
+
function EmployeeCompanyIntegrationDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
17
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
18
|
+
i0.ɵɵtext(3, "Employee ID");
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
i0.ɵɵelementStart(4, "kendo-numerictextbox", 5);
|
|
21
|
+
i0.ɵɵlistener("valueChange", function EmployeeCompanyIntegrationDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.record.EmployeeID = $event); });
|
|
22
|
+
i0.ɵɵelementEnd()();
|
|
23
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "label", 4);
|
|
24
|
+
i0.ɵɵtext(7, "Company Integration ID");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(8, "kendo-numerictextbox", 5);
|
|
27
|
+
i0.ɵɵlistener("valueChange", function EmployeeCompanyIntegrationDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.CompanyIntegrationID = $event); });
|
|
28
|
+
i0.ɵɵelementEnd()();
|
|
29
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
30
|
+
i0.ɵɵtext(11, "External System Record");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(12, "kendo-textbox", 6);
|
|
33
|
+
i0.ɵɵlistener("ngModelChange", function EmployeeCompanyIntegrationDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.record.ExternalSystemRecordID = $event); });
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
|
|
36
|
+
i0.ɵɵtext(15, "Is Active");
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementStart(16, "input", 7);
|
|
39
|
+
i0.ɵɵlistener("ngModelChange", function EmployeeCompanyIntegrationDetailsComponent_div_0_div_1_Template_input_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.record.IsActive = $event); });
|
|
40
|
+
i0.ɵɵelementEnd()();
|
|
41
|
+
i0.ɵɵelementStart(17, "div", 3)(18, "label", 4);
|
|
42
|
+
i0.ɵɵtext(19, "Created At");
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
i0.ɵɵelementStart(20, "span");
|
|
45
|
+
i0.ɵɵtext(21);
|
|
46
|
+
i0.ɵɵelementEnd()();
|
|
47
|
+
i0.ɵɵelementStart(22, "div", 3)(23, "label", 4);
|
|
48
|
+
i0.ɵɵtext(24, "Updated At");
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
i0.ɵɵelementStart(25, "span");
|
|
51
|
+
i0.ɵɵtext(26);
|
|
52
|
+
i0.ɵɵelementEnd()()();
|
|
53
|
+
} if (rf & 2) {
|
|
54
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
55
|
+
i0.ɵɵadvance(4);
|
|
56
|
+
i0.ɵɵproperty("value", ctx_r1.record.EmployeeID);
|
|
57
|
+
i0.ɵɵadvance(4);
|
|
58
|
+
i0.ɵɵproperty("value", ctx_r1.record.CompanyIntegrationID);
|
|
59
|
+
i0.ɵɵadvance(4);
|
|
60
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.ExternalSystemRecordID);
|
|
61
|
+
i0.ɵɵadvance(4);
|
|
62
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.IsActive);
|
|
63
|
+
i0.ɵɵadvance(5);
|
|
64
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
65
|
+
i0.ɵɵadvance(5);
|
|
66
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
67
|
+
} }
|
|
68
|
+
function EmployeeCompanyIntegrationDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
69
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
70
|
+
i0.ɵɵtext(3, "Employee ID");
|
|
71
|
+
i0.ɵɵelementEnd();
|
|
72
|
+
i0.ɵɵelementStart(4, "span", 8);
|
|
73
|
+
i0.ɵɵtext(5);
|
|
74
|
+
i0.ɵɵelementEnd()();
|
|
75
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
76
|
+
i0.ɵɵtext(8, "Company Integration ID");
|
|
77
|
+
i0.ɵɵelementEnd();
|
|
78
|
+
i0.ɵɵelementStart(9, "span", 9);
|
|
79
|
+
i0.ɵɵtext(10);
|
|
80
|
+
i0.ɵɵelementEnd()();
|
|
81
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
82
|
+
i0.ɵɵtext(13, "External System Record");
|
|
83
|
+
i0.ɵɵelementEnd();
|
|
84
|
+
i0.ɵɵelementStart(14, "span");
|
|
85
|
+
i0.ɵɵtext(15);
|
|
86
|
+
i0.ɵɵelementEnd()();
|
|
87
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
88
|
+
i0.ɵɵtext(18, "Is Active");
|
|
89
|
+
i0.ɵɵelementEnd();
|
|
90
|
+
i0.ɵɵelementStart(19, "span");
|
|
91
|
+
i0.ɵɵtext(20);
|
|
92
|
+
i0.ɵɵelementEnd()();
|
|
93
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
94
|
+
i0.ɵɵtext(23, "Created At");
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
i0.ɵɵelementStart(24, "span");
|
|
97
|
+
i0.ɵɵtext(25);
|
|
98
|
+
i0.ɵɵelementEnd()();
|
|
99
|
+
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
100
|
+
i0.ɵɵtext(28, "Updated At");
|
|
101
|
+
i0.ɵɵelementEnd();
|
|
102
|
+
i0.ɵɵelementStart(29, "span");
|
|
103
|
+
i0.ɵɵtext(30);
|
|
104
|
+
i0.ɵɵelementEnd()()();
|
|
105
|
+
} if (rf & 2) {
|
|
106
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
107
|
+
i0.ɵɵadvance(4);
|
|
108
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
109
|
+
i0.ɵɵadvance(1);
|
|
110
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EmployeeID", 0));
|
|
111
|
+
i0.ɵɵadvance(4);
|
|
112
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
113
|
+
i0.ɵɵadvance(1);
|
|
114
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CompanyIntegrationID", 0));
|
|
115
|
+
i0.ɵɵadvance(5);
|
|
116
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("ExternalSystemRecordID", 0));
|
|
117
|
+
i0.ɵɵadvance(5);
|
|
118
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("IsActive", 0));
|
|
119
|
+
i0.ɵɵadvance(5);
|
|
120
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
121
|
+
i0.ɵɵadvance(5);
|
|
122
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
123
|
+
} }
|
|
124
|
+
function EmployeeCompanyIntegrationDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
125
|
+
i0.ɵɵelementStart(0, "div");
|
|
126
|
+
i0.ɵɵtemplate(1, EmployeeCompanyIntegrationDetailsComponent_div_0_div_1_Template, 27, 6, "div", 1);
|
|
127
|
+
i0.ɵɵtemplate(2, EmployeeCompanyIntegrationDetailsComponent_div_0_div_2_Template, 31, 8, "div", 1);
|
|
128
|
+
i0.ɵɵelementEnd();
|
|
129
|
+
} if (rf & 2) {
|
|
130
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
131
|
+
i0.ɵɵadvance(1);
|
|
132
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
133
|
+
i0.ɵɵadvance(1);
|
|
134
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
135
|
+
} }
|
|
136
|
+
let EmployeeCompanyIntegrationDetailsComponent = class EmployeeCompanyIntegrationDetailsComponent extends BaseFormSectionComponent {
|
|
137
|
+
constructor() {
|
|
138
|
+
super(...arguments);
|
|
139
|
+
this.EditMode = false;
|
|
140
|
+
}
|
|
141
|
+
};
|
|
142
|
+
EmployeeCompanyIntegrationDetailsComponent.ɵfac = /*@__PURE__*/ function () { let ɵEmployeeCompanyIntegrationDetailsComponent_BaseFactory; return function EmployeeCompanyIntegrationDetailsComponent_Factory(t) { return (ɵEmployeeCompanyIntegrationDetailsComponent_BaseFactory || (ɵEmployeeCompanyIntegrationDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EmployeeCompanyIntegrationDetailsComponent)))(t || EmployeeCompanyIntegrationDetailsComponent); }; }();
|
|
143
|
+
EmployeeCompanyIntegrationDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EmployeeCompanyIntegrationDetailsComponent, selectors: [["gen-employeecompanyintegration-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [1, "record-form-row"], [1, "fieldLabel"], [3, "value", "valueChange"], [3, "ngModel", "ngModelChange"], ["type", "checkbox", "kendoCheckBox", "", 3, "ngModel", "ngModelChange"], ["mjFieldLink", "", "fieldName", "EmployeeID", 3, "record"], ["mjFieldLink", "", "fieldName", "CompanyIntegrationID", 3, "record"]], template: function EmployeeCompanyIntegrationDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
144
|
+
i0.ɵɵtemplate(0, EmployeeCompanyIntegrationDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
145
|
+
} if (rf & 2) {
|
|
146
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
147
|
+
} }, dependencies: [i1.NgIf, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i3.CheckBoxDirective, i4.FieldLink], styles: ["a[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form[_ngcontent-%COMP%] {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
148
|
+
EmployeeCompanyIntegrationDetailsComponent = __decorate([
|
|
149
|
+
RegisterClass(BaseFormSectionComponent, 'Employee Company Integrations.details') // Tell MemberJunction about this class
|
|
150
|
+
], EmployeeCompanyIntegrationDetailsComponent);
|
|
151
|
+
export { EmployeeCompanyIntegrationDetailsComponent };
|
|
152
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmployeeCompanyIntegrationDetailsComponent, [{
|
|
153
|
+
type: Component,
|
|
154
|
+
args: [{ selector: 'gen-employeecompanyintegration-form-details', template: `<div *ngIf="this.record">
|
|
155
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
156
|
+
|
|
157
|
+
<div class="record-form-row">
|
|
158
|
+
<label class="fieldLabel">Employee ID</label>
|
|
159
|
+
<kendo-numerictextbox [(value)]="record.EmployeeID" ></kendo-numerictextbox>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="record-form-row">
|
|
162
|
+
<label class="fieldLabel">Company Integration ID</label>
|
|
163
|
+
<kendo-numerictextbox [(value)]="record.CompanyIntegrationID" ></kendo-numerictextbox>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="record-form-row">
|
|
166
|
+
<label class="fieldLabel">External System Record</label>
|
|
167
|
+
<kendo-textbox [(ngModel)]="record.ExternalSystemRecordID" />
|
|
168
|
+
</div>
|
|
169
|
+
<div class="record-form-row">
|
|
170
|
+
<label class="fieldLabel">Is Active</label>
|
|
171
|
+
<input type="checkbox" [(ngModel)]="record.IsActive" kendoCheckBox />
|
|
172
|
+
</div>
|
|
173
|
+
<div class="record-form-row">
|
|
174
|
+
<label class="fieldLabel">Created At</label>
|
|
175
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
176
|
+
</div>
|
|
177
|
+
<div class="record-form-row">
|
|
178
|
+
<label class="fieldLabel">Updated At</label>
|
|
179
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
180
|
+
</div>
|
|
181
|
+
</div>
|
|
182
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
183
|
+
|
|
184
|
+
<div class="record-form-row">
|
|
185
|
+
<label class="fieldLabel">Employee ID</label>
|
|
186
|
+
<span mjFieldLink [record]="record" fieldName="EmployeeID" >{{FormatValue('EmployeeID', 0)}}</span>
|
|
187
|
+
</div>
|
|
188
|
+
<div class="record-form-row">
|
|
189
|
+
<label class="fieldLabel">Company Integration ID</label>
|
|
190
|
+
<span mjFieldLink [record]="record" fieldName="CompanyIntegrationID" >{{FormatValue('CompanyIntegrationID', 0)}}</span>
|
|
191
|
+
</div>
|
|
192
|
+
<div class="record-form-row">
|
|
193
|
+
<label class="fieldLabel">External System Record</label>
|
|
194
|
+
<span >{{FormatValue('ExternalSystemRecordID', 0)}}</span>
|
|
195
|
+
</div>
|
|
196
|
+
<div class="record-form-row">
|
|
197
|
+
<label class="fieldLabel">Is Active</label>
|
|
198
|
+
<span >{{FormatValue('IsActive', 0)}}</span>
|
|
199
|
+
</div>
|
|
200
|
+
<div class="record-form-row">
|
|
201
|
+
<label class="fieldLabel">Created At</label>
|
|
202
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
203
|
+
</div>
|
|
204
|
+
<div class="record-form-row">
|
|
205
|
+
<label class="fieldLabel">Updated At</label>
|
|
206
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
207
|
+
</div>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
`, styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
211
|
+
}], null, { record: [{
|
|
212
|
+
type: Input
|
|
213
|
+
}], EditMode: [{
|
|
214
|
+
type: Input
|
|
215
|
+
}] }); })();
|
|
216
|
+
export function LoadEmployeeCompanyIntegrationDetailsComponent() {
|
|
217
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
218
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EmployeeRoleEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EmployeeRoleFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EmployeeRoleEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmployeeRoleFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmployeeRoleFormComponent, "gen-employeerole-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEmployeeRoleFormComponent(): void;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
10
|
+
import { LoadEmployeeRoleDetailsComponent } from "./sections/details.component";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
import * as i1 from "@angular/common";
|
|
13
|
+
import * as i2 from "@angular/forms";
|
|
14
|
+
import * as i3 from "@progress/kendo-angular-layout";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-explorer-core";
|
|
16
|
+
function EmployeeRoleFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵtext(0, "Details");
|
|
18
|
+
} }
|
|
19
|
+
function EmployeeRoleFormComponent_form_1_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
i0.ɵɵelement(0, "mj-form-section", 12);
|
|
21
|
+
} if (rf & 2) {
|
|
22
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
23
|
+
i0.ɵɵproperty("record", ctx_r5.record)("EditMode", ctx_r5.EditMode);
|
|
24
|
+
} }
|
|
25
|
+
function EmployeeRoleFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
26
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
27
|
+
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
28
|
+
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
29
|
+
i0.ɵɵelementEnd();
|
|
30
|
+
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
31
|
+
i0.ɵɵlistener("tabSelect", function EmployeeRoleFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.onTabSelect($event)); });
|
|
32
|
+
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
33
|
+
i0.ɵɵtemplate(8, EmployeeRoleFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10);
|
|
34
|
+
i0.ɵɵtemplate(9, EmployeeRoleFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
35
|
+
i0.ɵɵelementEnd()()();
|
|
36
|
+
} if (rf & 2) {
|
|
37
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
38
|
+
i0.ɵɵadvance(4);
|
|
39
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
40
|
+
i0.ɵɵadvance(1);
|
|
41
|
+
i0.ɵɵproperty("keepTabContent", true)("animate", false)("height", ctx_r0.TabHeight);
|
|
42
|
+
i0.ɵɵadvance(2);
|
|
43
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
44
|
+
} }
|
|
45
|
+
let EmployeeRoleFormComponent = class EmployeeRoleFormComponent extends BaseFormComponent {
|
|
46
|
+
};
|
|
47
|
+
EmployeeRoleFormComponent.ɵfac = /*@__PURE__*/ function () { let ɵEmployeeRoleFormComponent_BaseFactory; return function EmployeeRoleFormComponent_Factory(t) { return (ɵEmployeeRoleFormComponent_BaseFactory || (ɵEmployeeRoleFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EmployeeRoleFormComponent)))(t || EmployeeRoleFormComponent); }; }();
|
|
48
|
+
EmployeeRoleFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EmployeeRoleFormComponent, selectors: [["gen-employeerole-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], ["form", "ngForm"], [1, "record-form-group"], ["topArea", ""], [3, "form"], [3, "keepTabContent", "animate", "height", "tabSelect"], ["tabStrip", ""], [3, "selected"], ["kendoTabTitle", ""], ["kendoTabContent", ""], ["Entity", "Employee Roles", "Section", "details", 3, "record", "EditMode"]], template: function EmployeeRoleFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
49
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
50
|
+
i0.ɵɵtemplate(1, EmployeeRoleFormComponent_form_1_Template, 10, 5, "form", 1);
|
|
51
|
+
i0.ɵɵelementEnd();
|
|
52
|
+
} if (rf & 2) {
|
|
53
|
+
i0.ɵɵadvance(1);
|
|
54
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
55
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.TabStripComponent, i3.TabStripTabComponent, i3.TabContentDirective, i3.TabTitleDirective, i4.FormToolbarComponent, i4.SectionLoaderComponent], styles: ["a[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form[_ngcontent-%COMP%] {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
56
|
+
EmployeeRoleFormComponent = __decorate([
|
|
57
|
+
RegisterClass(BaseFormComponent, 'Employee Roles') // Tell MemberJunction about this class
|
|
58
|
+
], EmployeeRoleFormComponent);
|
|
59
|
+
export { EmployeeRoleFormComponent };
|
|
60
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmployeeRoleFormComponent, [{
|
|
61
|
+
type: Component,
|
|
62
|
+
args: [{ selector: 'gen-employeerole-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n \n </div>\n <kendo-tabstrip #tabStrip (tabSelect)=\"onTabSelect($event)\" [keepTabContent]=\"true\" [animate] = \"false\" [height]=\"TabHeight\" >\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Details')\">\n <ng-template kendoTabTitle>Details</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Employee Roles\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n </kendo-tabstrip>\n </form>\n </div>\n ", styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
63
|
+
}], null, null); })();
|
|
64
|
+
export function LoadEmployeeRoleFormComponent() {
|
|
65
|
+
LoadEmployeeRoleDetailsComponent();
|
|
66
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { EmployeeRoleEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EmployeeRoleDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: EmployeeRoleEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmployeeRoleDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmployeeRoleDetailsComponent, "gen-employeerole-form-details", never, { "record": "record"; "EditMode": "EditMode"; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadEmployeeRoleDetailsComponent(): void;
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, Input } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@progress/kendo-angular-inputs";
|
|
13
|
+
import * as i3 from "@memberjunction/ng-link-directives";
|
|
14
|
+
function EmployeeRoleDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
15
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
16
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
17
|
+
i0.ɵɵtext(3, "Employee ID");
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
i0.ɵɵelementStart(4, "kendo-numerictextbox", 5);
|
|
20
|
+
i0.ɵɵlistener("valueChange", function EmployeeRoleDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.record.EmployeeID = $event); });
|
|
21
|
+
i0.ɵɵelementEnd()();
|
|
22
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "label", 4);
|
|
23
|
+
i0.ɵɵtext(7, "Role ID");
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementStart(8, "kendo-numerictextbox", 5);
|
|
26
|
+
i0.ɵɵlistener("valueChange", function EmployeeRoleDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.RoleID = $event); });
|
|
27
|
+
i0.ɵɵelementEnd()();
|
|
28
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
29
|
+
i0.ɵɵtext(11, "Created At");
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
i0.ɵɵelementStart(12, "span");
|
|
32
|
+
i0.ɵɵtext(13);
|
|
33
|
+
i0.ɵɵelementEnd()();
|
|
34
|
+
i0.ɵɵelementStart(14, "div", 3)(15, "label", 4);
|
|
35
|
+
i0.ɵɵtext(16, "Updated At");
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementStart(17, "span");
|
|
38
|
+
i0.ɵɵtext(18);
|
|
39
|
+
i0.ɵɵelementEnd()();
|
|
40
|
+
i0.ɵɵelementStart(19, "div", 3)(20, "label", 4);
|
|
41
|
+
i0.ɵɵtext(21, "Role");
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
i0.ɵɵelementStart(22, "span");
|
|
44
|
+
i0.ɵɵtext(23);
|
|
45
|
+
i0.ɵɵelementEnd()()();
|
|
46
|
+
} if (rf & 2) {
|
|
47
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
48
|
+
i0.ɵɵadvance(4);
|
|
49
|
+
i0.ɵɵproperty("value", ctx_r1.record.EmployeeID);
|
|
50
|
+
i0.ɵɵadvance(4);
|
|
51
|
+
i0.ɵɵproperty("value", ctx_r1.record.RoleID);
|
|
52
|
+
i0.ɵɵadvance(5);
|
|
53
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
54
|
+
i0.ɵɵadvance(5);
|
|
55
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
56
|
+
i0.ɵɵadvance(5);
|
|
57
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("Role", 0));
|
|
58
|
+
} }
|
|
59
|
+
function EmployeeRoleDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
60
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
61
|
+
i0.ɵɵtext(3, "Employee ID");
|
|
62
|
+
i0.ɵɵelementEnd();
|
|
63
|
+
i0.ɵɵelementStart(4, "span", 6);
|
|
64
|
+
i0.ɵɵtext(5);
|
|
65
|
+
i0.ɵɵelementEnd()();
|
|
66
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
67
|
+
i0.ɵɵtext(8, "Role ID");
|
|
68
|
+
i0.ɵɵelementEnd();
|
|
69
|
+
i0.ɵɵelementStart(9, "span", 7);
|
|
70
|
+
i0.ɵɵtext(10);
|
|
71
|
+
i0.ɵɵelementEnd()();
|
|
72
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
73
|
+
i0.ɵɵtext(13, "Created At");
|
|
74
|
+
i0.ɵɵelementEnd();
|
|
75
|
+
i0.ɵɵelementStart(14, "span");
|
|
76
|
+
i0.ɵɵtext(15);
|
|
77
|
+
i0.ɵɵelementEnd()();
|
|
78
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
79
|
+
i0.ɵɵtext(18, "Updated At");
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵelementStart(19, "span");
|
|
82
|
+
i0.ɵɵtext(20);
|
|
83
|
+
i0.ɵɵelementEnd()();
|
|
84
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
85
|
+
i0.ɵɵtext(23, "Role");
|
|
86
|
+
i0.ɵɵelementEnd();
|
|
87
|
+
i0.ɵɵelementStart(24, "span");
|
|
88
|
+
i0.ɵɵtext(25);
|
|
89
|
+
i0.ɵɵelementEnd()()();
|
|
90
|
+
} if (rf & 2) {
|
|
91
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
92
|
+
i0.ɵɵadvance(4);
|
|
93
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
94
|
+
i0.ɵɵadvance(1);
|
|
95
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EmployeeID", 0));
|
|
96
|
+
i0.ɵɵadvance(4);
|
|
97
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
98
|
+
i0.ɵɵadvance(1);
|
|
99
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("RoleID", 0));
|
|
100
|
+
i0.ɵɵadvance(5);
|
|
101
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
102
|
+
i0.ɵɵadvance(5);
|
|
103
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
104
|
+
i0.ɵɵadvance(5);
|
|
105
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Role", 0));
|
|
106
|
+
} }
|
|
107
|
+
function EmployeeRoleDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
108
|
+
i0.ɵɵelementStart(0, "div");
|
|
109
|
+
i0.ɵɵtemplate(1, EmployeeRoleDetailsComponent_div_0_div_1_Template, 24, 5, "div", 1);
|
|
110
|
+
i0.ɵɵtemplate(2, EmployeeRoleDetailsComponent_div_0_div_2_Template, 26, 7, "div", 1);
|
|
111
|
+
i0.ɵɵelementEnd();
|
|
112
|
+
} if (rf & 2) {
|
|
113
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
114
|
+
i0.ɵɵadvance(1);
|
|
115
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
116
|
+
i0.ɵɵadvance(1);
|
|
117
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
118
|
+
} }
|
|
119
|
+
let EmployeeRoleDetailsComponent = class EmployeeRoleDetailsComponent extends BaseFormSectionComponent {
|
|
120
|
+
constructor() {
|
|
121
|
+
super(...arguments);
|
|
122
|
+
this.EditMode = false;
|
|
123
|
+
}
|
|
124
|
+
};
|
|
125
|
+
EmployeeRoleDetailsComponent.ɵfac = /*@__PURE__*/ function () { let ɵEmployeeRoleDetailsComponent_BaseFactory; return function EmployeeRoleDetailsComponent_Factory(t) { return (ɵEmployeeRoleDetailsComponent_BaseFactory || (ɵEmployeeRoleDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EmployeeRoleDetailsComponent)))(t || EmployeeRoleDetailsComponent); }; }();
|
|
126
|
+
EmployeeRoleDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EmployeeRoleDetailsComponent, selectors: [["gen-employeerole-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], [1, "record-form-row"], [1, "fieldLabel"], [3, "value", "valueChange"], ["mjFieldLink", "", "fieldName", "EmployeeID", 3, "record"], ["mjFieldLink", "", "fieldName", "RoleID", 3, "record"]], template: function EmployeeRoleDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
127
|
+
i0.ɵɵtemplate(0, EmployeeRoleDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
128
|
+
} if (rf & 2) {
|
|
129
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
130
|
+
} }, dependencies: [i1.NgIf, i2.NumericTextBoxComponent, i3.FieldLink], styles: ["a[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form[_ngcontent-%COMP%] {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}"] });
|
|
131
|
+
EmployeeRoleDetailsComponent = __decorate([
|
|
132
|
+
RegisterClass(BaseFormSectionComponent, 'Employee Roles.details') // Tell MemberJunction about this class
|
|
133
|
+
], EmployeeRoleDetailsComponent);
|
|
134
|
+
export { EmployeeRoleDetailsComponent };
|
|
135
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmployeeRoleDetailsComponent, [{
|
|
136
|
+
type: Component,
|
|
137
|
+
args: [{ selector: 'gen-employeerole-form-details', template: `<div *ngIf="this.record">
|
|
138
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
139
|
+
|
|
140
|
+
<div class="record-form-row">
|
|
141
|
+
<label class="fieldLabel">Employee ID</label>
|
|
142
|
+
<kendo-numerictextbox [(value)]="record.EmployeeID" ></kendo-numerictextbox>
|
|
143
|
+
</div>
|
|
144
|
+
<div class="record-form-row">
|
|
145
|
+
<label class="fieldLabel">Role ID</label>
|
|
146
|
+
<kendo-numerictextbox [(value)]="record.RoleID" ></kendo-numerictextbox>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="record-form-row">
|
|
149
|
+
<label class="fieldLabel">Created At</label>
|
|
150
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
151
|
+
</div>
|
|
152
|
+
<div class="record-form-row">
|
|
153
|
+
<label class="fieldLabel">Updated At</label>
|
|
154
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="record-form-row">
|
|
157
|
+
<label class="fieldLabel">Role</label>
|
|
158
|
+
<span >{{FormatValue('Role', 0)}}</span>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
162
|
+
|
|
163
|
+
<div class="record-form-row">
|
|
164
|
+
<label class="fieldLabel">Employee ID</label>
|
|
165
|
+
<span mjFieldLink [record]="record" fieldName="EmployeeID" >{{FormatValue('EmployeeID', 0)}}</span>
|
|
166
|
+
</div>
|
|
167
|
+
<div class="record-form-row">
|
|
168
|
+
<label class="fieldLabel">Role ID</label>
|
|
169
|
+
<span mjFieldLink [record]="record" fieldName="RoleID" >{{FormatValue('RoleID', 0)}}</span>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="record-form-row">
|
|
172
|
+
<label class="fieldLabel">Created At</label>
|
|
173
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="record-form-row">
|
|
176
|
+
<label class="fieldLabel">Updated At</label>
|
|
177
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
178
|
+
</div>
|
|
179
|
+
<div class="record-form-row">
|
|
180
|
+
<label class="fieldLabel">Role</label>
|
|
181
|
+
<span >{{FormatValue('Role', 0)}}</span>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
</div>
|
|
185
|
+
`, styles: ["a {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form h2 {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n/* .record-form .record-form-row:nth-child(odd) {\r\n background-color: #f2f2f2; \r\n} */\r\n\r\n/* \r\n.record-form .record-form-row:nth-child(even) {\r\n background-color: #ffffff; \r\n} */\r\n\r\n.record-form .record-form-row > :first-child {\r\n font-weight: bold;\r\n padding-right: 10px;\r\n} \r\n\r\n.record-form .record-form-row > span {\r\n white-space: pre-line;\r\n max-height: 300px;\r\n overflow: auto;\r\n}\r\n\r\n \r\n\r\n@media (min-width: 768px) {\r\n .record-form {\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n padding-bottom: 5px;\r\n }\r\n\r\n .record-form-row {\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n .record-form-row label {\r\n width: 240px;\r\n margin-bottom: 0;\r\n }\r\n}\r\n"] }]
|
|
186
|
+
}], null, { record: [{
|
|
187
|
+
type: Input
|
|
188
|
+
}], EditMode: [{
|
|
189
|
+
type: Input
|
|
190
|
+
}] }); })();
|
|
191
|
+
export function LoadEmployeeRoleDetailsComponent() {
|
|
192
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
193
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EmployeeSkillEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EmployeeSkillFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EmployeeSkillEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmployeeSkillFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmployeeSkillFormComponent, "gen-employeeskill-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEmployeeSkillFormComponent(): void;
|