@memberjunction/ng-core-entity-forms 0.9.38 → 0.9.51
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/AIModel/aimodel.form.component.js +18 -4
- package/dist/lib/generated/Entities/CompanyIntegration/companyintegration.form.component.js +60 -4
- package/dist/lib/generated/Entities/Conversation/sections/details.component.js +92 -18
- package/dist/lib/generated/Entities/Employee/employee.form.component.js +32 -4
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +33 -5
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.js +81 -0
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityDocument/sections/details.component.js +290 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.js +66 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityDocumentRun/sections/details.component.js +241 -0
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.js +81 -0
- package/dist/lib/generated/Entities/EntityDocumentType/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityDocumentType/sections/details.component.js +165 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.js +66 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityRecordDocument/sections/details.component.js +286 -0
- package/dist/lib/generated/Entities/VectorDatabase/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/VectorDatabase/sections/details.component.js +213 -0
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.js +81 -0
- package/dist/lib/generated/Entities/VectorIndex/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/VectorIndex/sections/details.component.js +266 -0
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.js +66 -0
- package/dist/lib/generated/generated-forms.module.d.ts +102 -85
- package/dist/lib/generated/generated-forms.module.js +153 -63
- package/package.json +4 -4
|
@@ -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 { LoadEntityDocumentRunDetailsComponent } 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 EntityDocumentRunFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵtext(0, "Details");
|
|
18
|
+
} }
|
|
19
|
+
function EntityDocumentRunFormComponent_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 EntityDocumentRunFormComponent_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 EntityDocumentRunFormComponent_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, EntityDocumentRunFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, EntityDocumentRunFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
34
|
+
i0.ɵɵelementEnd()()();
|
|
35
|
+
} if (rf & 2) {
|
|
36
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
37
|
+
i0.ɵɵadvance(4);
|
|
38
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
39
|
+
i0.ɵɵadvance();
|
|
40
|
+
i0.ɵɵproperty("keepTabContent", true)("animate", false)("height", ctx_r0.TabHeight);
|
|
41
|
+
i0.ɵɵadvance(2);
|
|
42
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
43
|
+
} }
|
|
44
|
+
let EntityDocumentRunFormComponent = class EntityDocumentRunFormComponent extends BaseFormComponent {
|
|
45
|
+
};
|
|
46
|
+
EntityDocumentRunFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentRunFormComponent_BaseFactory; return function EntityDocumentRunFormComponent_Factory(t) { return (ɵEntityDocumentRunFormComponent_BaseFactory || (ɵEntityDocumentRunFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentRunFormComponent)))(t || EntityDocumentRunFormComponent); }; })();
|
|
47
|
+
EntityDocumentRunFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentRunFormComponent, selectors: [["gen-entitydocumentrun-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", "Entity Document Runs", "Section", "details", 3, "record", "EditMode"]], template: function EntityDocumentRunFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
49
|
+
i0.ɵɵtemplate(1, EntityDocumentRunFormComponent_form_1_Template, 10, 5, "form", 1);
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
} if (rf & 2) {
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
54
|
+
} }, 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\n\r\n\r\n\r\n\r\n\r\n\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}"] });
|
|
55
|
+
EntityDocumentRunFormComponent = __decorate([
|
|
56
|
+
RegisterClass(BaseFormComponent, 'Entity Document Runs') // Tell MemberJunction about this class
|
|
57
|
+
], EntityDocumentRunFormComponent);
|
|
58
|
+
export { EntityDocumentRunFormComponent };
|
|
59
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentRunFormComponent, [{
|
|
60
|
+
type: Component,
|
|
61
|
+
args: [{ selector: 'gen-entitydocumentrun-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=\"Entity Document Runs\" 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"] }]
|
|
62
|
+
}], null, null); })();
|
|
63
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityDocumentRunFormComponent, { className: "EntityDocumentRunFormComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocumentRun\\entitydocumentrun.form.component.ts", lineNumber: 12 }); })();
|
|
64
|
+
export function LoadEntityDocumentRunFormComponent() {
|
|
65
|
+
LoadEntityDocumentRunDetailsComponent();
|
|
66
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { EntityDocumentRunEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentRunDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: EntityDocumentRunEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentRunDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentRunDetailsComponent, "gen-entitydocumentrun-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadEntityDocumentRunDetailsComponent(): void;
|
|
@@ -0,0 +1,241 @@
|
|
|
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 "@progress/kendo-angular-dateinputs";
|
|
15
|
+
import * as i5 from "@memberjunction/ng-link-directives";
|
|
16
|
+
function EntityDocumentRunDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
18
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
19
|
+
i0.ɵɵtext(3, "Entity Document ID");
|
|
20
|
+
i0.ɵɵelementEnd();
|
|
21
|
+
i0.ɵɵelementStart(4, "kendo-numerictextbox", 5);
|
|
22
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentRunDetailsComponent_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.EntityDocumentID = $event); });
|
|
23
|
+
i0.ɵɵelementEnd()();
|
|
24
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "label", 4);
|
|
25
|
+
i0.ɵɵtext(7, "Started At");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(8, "kendo-datepicker", 5);
|
|
28
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentRunDetailsComponent_div_0_div_1_Template_kendo_datepicker_valueChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.StartedAt = $event); });
|
|
29
|
+
i0.ɵɵelementEnd()();
|
|
30
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
31
|
+
i0.ɵɵtext(11, "Ended At");
|
|
32
|
+
i0.ɵɵelementEnd();
|
|
33
|
+
i0.ɵɵelementStart(12, "kendo-datepicker", 5);
|
|
34
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentRunDetailsComponent_div_0_div_1_Template_kendo_datepicker_valueChange_12_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.record.EndedAt = $event); });
|
|
35
|
+
i0.ɵɵelementEnd()();
|
|
36
|
+
i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
|
|
37
|
+
i0.ɵɵtext(15, "Status");
|
|
38
|
+
i0.ɵɵelementEnd();
|
|
39
|
+
i0.ɵɵelementStart(16, "kendo-textbox", 6);
|
|
40
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentRunDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r7 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r7.record.Status = $event); });
|
|
41
|
+
i0.ɵɵelementEnd()();
|
|
42
|
+
i0.ɵɵelementStart(17, "div", 3)(18, "label", 4);
|
|
43
|
+
i0.ɵɵtext(19, "Created At");
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(20, "span");
|
|
46
|
+
i0.ɵɵtext(21);
|
|
47
|
+
i0.ɵɵelementEnd()();
|
|
48
|
+
i0.ɵɵelementStart(22, "div", 3)(23, "label", 4);
|
|
49
|
+
i0.ɵɵtext(24, "Updated At");
|
|
50
|
+
i0.ɵɵelementEnd();
|
|
51
|
+
i0.ɵɵelementStart(25, "span");
|
|
52
|
+
i0.ɵɵtext(26);
|
|
53
|
+
i0.ɵɵelementEnd()();
|
|
54
|
+
i0.ɵɵelementStart(27, "div", 3)(28, "label", 4);
|
|
55
|
+
i0.ɵɵtext(29, "Entity Document");
|
|
56
|
+
i0.ɵɵelementEnd();
|
|
57
|
+
i0.ɵɵelementStart(30, "span");
|
|
58
|
+
i0.ɵɵtext(31);
|
|
59
|
+
i0.ɵɵelementEnd()()();
|
|
60
|
+
} if (rf & 2) {
|
|
61
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
62
|
+
i0.ɵɵadvance(4);
|
|
63
|
+
i0.ɵɵproperty("value", ctx_r1.record.EntityDocumentID);
|
|
64
|
+
i0.ɵɵadvance(4);
|
|
65
|
+
i0.ɵɵproperty("value", ctx_r1.record.StartedAt);
|
|
66
|
+
i0.ɵɵadvance(4);
|
|
67
|
+
i0.ɵɵproperty("value", ctx_r1.record.EndedAt);
|
|
68
|
+
i0.ɵɵadvance(4);
|
|
69
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Status);
|
|
70
|
+
i0.ɵɵadvance(5);
|
|
71
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
72
|
+
i0.ɵɵadvance(5);
|
|
73
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
74
|
+
i0.ɵɵadvance(5);
|
|
75
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("EntityDocument", 0));
|
|
76
|
+
} }
|
|
77
|
+
function EntityDocumentRunDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
78
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
79
|
+
i0.ɵɵtext(3, "Entity Document ID");
|
|
80
|
+
i0.ɵɵelementEnd();
|
|
81
|
+
i0.ɵɵelementStart(4, "span", 7);
|
|
82
|
+
i0.ɵɵtext(5);
|
|
83
|
+
i0.ɵɵelementEnd()();
|
|
84
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
85
|
+
i0.ɵɵtext(8, "Started At");
|
|
86
|
+
i0.ɵɵelementEnd();
|
|
87
|
+
i0.ɵɵelementStart(9, "span");
|
|
88
|
+
i0.ɵɵtext(10);
|
|
89
|
+
i0.ɵɵelementEnd()();
|
|
90
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
91
|
+
i0.ɵɵtext(13, "Ended At");
|
|
92
|
+
i0.ɵɵelementEnd();
|
|
93
|
+
i0.ɵɵelementStart(14, "span");
|
|
94
|
+
i0.ɵɵtext(15);
|
|
95
|
+
i0.ɵɵelementEnd()();
|
|
96
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
97
|
+
i0.ɵɵtext(18, "Status");
|
|
98
|
+
i0.ɵɵelementEnd();
|
|
99
|
+
i0.ɵɵelementStart(19, "span");
|
|
100
|
+
i0.ɵɵtext(20);
|
|
101
|
+
i0.ɵɵelementEnd()();
|
|
102
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
103
|
+
i0.ɵɵtext(23, "Created At");
|
|
104
|
+
i0.ɵɵelementEnd();
|
|
105
|
+
i0.ɵɵelementStart(24, "span");
|
|
106
|
+
i0.ɵɵtext(25);
|
|
107
|
+
i0.ɵɵelementEnd()();
|
|
108
|
+
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
109
|
+
i0.ɵɵtext(28, "Updated At");
|
|
110
|
+
i0.ɵɵelementEnd();
|
|
111
|
+
i0.ɵɵelementStart(29, "span");
|
|
112
|
+
i0.ɵɵtext(30);
|
|
113
|
+
i0.ɵɵelementEnd()();
|
|
114
|
+
i0.ɵɵelementStart(31, "div", 3)(32, "label", 4);
|
|
115
|
+
i0.ɵɵtext(33, "Entity Document");
|
|
116
|
+
i0.ɵɵelementEnd();
|
|
117
|
+
i0.ɵɵelementStart(34, "span");
|
|
118
|
+
i0.ɵɵtext(35);
|
|
119
|
+
i0.ɵɵelementEnd()()();
|
|
120
|
+
} if (rf & 2) {
|
|
121
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
122
|
+
i0.ɵɵadvance(4);
|
|
123
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
124
|
+
i0.ɵɵadvance();
|
|
125
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EntityDocumentID", 0));
|
|
126
|
+
i0.ɵɵadvance(5);
|
|
127
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("StartedAt", 0));
|
|
128
|
+
i0.ɵɵadvance(5);
|
|
129
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EndedAt", 0));
|
|
130
|
+
i0.ɵɵadvance(5);
|
|
131
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Status", 0));
|
|
132
|
+
i0.ɵɵadvance(5);
|
|
133
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
134
|
+
i0.ɵɵadvance(5);
|
|
135
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
136
|
+
i0.ɵɵadvance(5);
|
|
137
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EntityDocument", 0));
|
|
138
|
+
} }
|
|
139
|
+
function EntityDocumentRunDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
140
|
+
i0.ɵɵelementStart(0, "div");
|
|
141
|
+
i0.ɵɵtemplate(1, EntityDocumentRunDetailsComponent_div_0_div_1_Template, 32, 7, "div", 1)(2, EntityDocumentRunDetailsComponent_div_0_div_2_Template, 36, 8, "div", 1);
|
|
142
|
+
i0.ɵɵelementEnd();
|
|
143
|
+
} if (rf & 2) {
|
|
144
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
145
|
+
i0.ɵɵadvance();
|
|
146
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
147
|
+
i0.ɵɵadvance();
|
|
148
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
149
|
+
} }
|
|
150
|
+
let EntityDocumentRunDetailsComponent = class EntityDocumentRunDetailsComponent extends BaseFormSectionComponent {
|
|
151
|
+
constructor() {
|
|
152
|
+
super(...arguments);
|
|
153
|
+
this.EditMode = false;
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
EntityDocumentRunDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentRunDetailsComponent_BaseFactory; return function EntityDocumentRunDetailsComponent_Factory(t) { return (ɵEntityDocumentRunDetailsComponent_BaseFactory || (ɵEntityDocumentRunDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentRunDetailsComponent)))(t || EntityDocumentRunDetailsComponent); }; })();
|
|
157
|
+
EntityDocumentRunDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentRunDetailsComponent, selectors: [["gen-entitydocumentrun-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"], ["mjFieldLink", "", "fieldName", "EntityDocumentID", 3, "record"]], template: function EntityDocumentRunDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
158
|
+
i0.ɵɵtemplate(0, EntityDocumentRunDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
159
|
+
} if (rf & 2) {
|
|
160
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
161
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent, i3.NumericTextBoxComponent, i4.DatePickerComponent, i5.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\n\r\n\r\n\r\n\r\n\r\n\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}"] });
|
|
162
|
+
EntityDocumentRunDetailsComponent = __decorate([
|
|
163
|
+
RegisterClass(BaseFormSectionComponent, 'Entity Document Runs.details') // Tell MemberJunction about this class
|
|
164
|
+
], EntityDocumentRunDetailsComponent);
|
|
165
|
+
export { EntityDocumentRunDetailsComponent };
|
|
166
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentRunDetailsComponent, [{
|
|
167
|
+
type: Component,
|
|
168
|
+
args: [{ selector: 'gen-entitydocumentrun-form-details', template: `<div *ngIf="this.record">
|
|
169
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
170
|
+
|
|
171
|
+
<div class="record-form-row">
|
|
172
|
+
<label class="fieldLabel">Entity Document ID</label>
|
|
173
|
+
<kendo-numerictextbox [(value)]="record.EntityDocumentID" ></kendo-numerictextbox>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="record-form-row">
|
|
176
|
+
<label class="fieldLabel">Started At</label>
|
|
177
|
+
<kendo-datepicker [(value)]="record.StartedAt" ></kendo-datepicker>
|
|
178
|
+
</div>
|
|
179
|
+
<div class="record-form-row">
|
|
180
|
+
<label class="fieldLabel">Ended At</label>
|
|
181
|
+
<kendo-datepicker [(value)]="record.EndedAt" ></kendo-datepicker>
|
|
182
|
+
</div>
|
|
183
|
+
<div class="record-form-row">
|
|
184
|
+
<label class="fieldLabel">Status</label>
|
|
185
|
+
<kendo-textbox [(ngModel)]="record.Status" />
|
|
186
|
+
</div>
|
|
187
|
+
<div class="record-form-row">
|
|
188
|
+
<label class="fieldLabel">Created At</label>
|
|
189
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
190
|
+
</div>
|
|
191
|
+
<div class="record-form-row">
|
|
192
|
+
<label class="fieldLabel">Updated At</label>
|
|
193
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
194
|
+
</div>
|
|
195
|
+
<div class="record-form-row">
|
|
196
|
+
<label class="fieldLabel">Entity Document</label>
|
|
197
|
+
<span >{{FormatValue('EntityDocument', 0)}}</span>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
201
|
+
|
|
202
|
+
<div class="record-form-row">
|
|
203
|
+
<label class="fieldLabel">Entity Document ID</label>
|
|
204
|
+
<span mjFieldLink [record]="record" fieldName="EntityDocumentID" >{{FormatValue('EntityDocumentID', 0)}}</span>
|
|
205
|
+
</div>
|
|
206
|
+
<div class="record-form-row">
|
|
207
|
+
<label class="fieldLabel">Started At</label>
|
|
208
|
+
<span >{{FormatValue('StartedAt', 0)}}</span>
|
|
209
|
+
</div>
|
|
210
|
+
<div class="record-form-row">
|
|
211
|
+
<label class="fieldLabel">Ended At</label>
|
|
212
|
+
<span >{{FormatValue('EndedAt', 0)}}</span>
|
|
213
|
+
</div>
|
|
214
|
+
<div class="record-form-row">
|
|
215
|
+
<label class="fieldLabel">Status</label>
|
|
216
|
+
<span >{{FormatValue('Status', 0)}}</span>
|
|
217
|
+
</div>
|
|
218
|
+
<div class="record-form-row">
|
|
219
|
+
<label class="fieldLabel">Created At</label>
|
|
220
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
221
|
+
</div>
|
|
222
|
+
<div class="record-form-row">
|
|
223
|
+
<label class="fieldLabel">Updated At</label>
|
|
224
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
225
|
+
</div>
|
|
226
|
+
<div class="record-form-row">
|
|
227
|
+
<label class="fieldLabel">Entity Document</label>
|
|
228
|
+
<span >{{FormatValue('EntityDocument', 0)}}</span>
|
|
229
|
+
</div>
|
|
230
|
+
</div>
|
|
231
|
+
</div>
|
|
232
|
+
`, 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"] }]
|
|
233
|
+
}], null, { record: [{
|
|
234
|
+
type: Input
|
|
235
|
+
}], EditMode: [{
|
|
236
|
+
type: Input
|
|
237
|
+
}] }); })();
|
|
238
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityDocumentRunDetailsComponent, { className: "EntityDocumentRunDetailsComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocumentRun\\sections\\details.component.ts", lineNumber: 76 }); })();
|
|
239
|
+
export function LoadEntityDocumentRunDetailsComponent() {
|
|
240
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
241
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EntityDocumentTypeEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentTypeFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EntityDocumentTypeEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentTypeFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentTypeFormComponent, "gen-entitydocumenttype-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEntityDocumentTypeFormComponent(): void;
|
|
@@ -0,0 +1,81 @@
|
|
|
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 { LoadEntityDocumentTypeDetailsComponent } 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
|
+
import * as i5 from "@memberjunction/ng-user-view-grid";
|
|
17
|
+
function EntityDocumentTypeFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵtext(0, "Details");
|
|
19
|
+
} }
|
|
20
|
+
function EntityDocumentTypeFormComponent_form_1_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
i0.ɵɵelement(0, "mj-form-section", 12);
|
|
22
|
+
} if (rf & 2) {
|
|
23
|
+
const ctx_r5 = i0.ɵɵnextContext(2);
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r5.record)("EditMode", ctx_r5.EditMode);
|
|
25
|
+
} }
|
|
26
|
+
function EntityDocumentTypeFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵtext(0, "Entity Documents");
|
|
28
|
+
} }
|
|
29
|
+
function EntityDocumentTypeFormComponent_form_1_ng_template_12_Template(rf, ctx) { if (rf & 1) {
|
|
30
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 13);
|
|
31
|
+
} if (rf & 2) {
|
|
32
|
+
const ctx_r7 = i0.ɵɵnextContext(2);
|
|
33
|
+
i0.ɵɵproperty("Params", ctx_r7.BuildRelationshipViewParamsByEntityName("Entity Documents"))("AllowLoad", ctx_r7.IsCurrentTab("Entity Documents"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
|
+
} }
|
|
35
|
+
function EntityDocumentTypeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
37
|
+
i0.ɵɵelementStart(0, "form", 2, 3)(2, "div", 4, 5);
|
|
38
|
+
i0.ɵɵelement(4, "mj-form-toolbar", 6);
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementStart(5, "kendo-tabstrip", 7, 8);
|
|
41
|
+
i0.ɵɵlistener("tabSelect", function EntityDocumentTypeFormComponent_form_1_Template_kendo_tabstrip_tabSelect_5_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r8 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r8.onTabSelect($event)); });
|
|
42
|
+
i0.ɵɵelementStart(7, "kendo-tabstrip-tab", 9);
|
|
43
|
+
i0.ɵɵtemplate(8, EntityDocumentTypeFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, EntityDocumentTypeFormComponent_form_1_ng_template_9_Template, 1, 2, "ng-template", 11);
|
|
44
|
+
i0.ɵɵelementEnd();
|
|
45
|
+
i0.ɵɵelementStart(10, "kendo-tabstrip-tab", 9);
|
|
46
|
+
i0.ɵɵtemplate(11, EntityDocumentTypeFormComponent_form_1_ng_template_11_Template, 1, 0, "ng-template", 10)(12, EntityDocumentTypeFormComponent_form_1_ng_template_12_Template, 1, 4, "ng-template", 11);
|
|
47
|
+
i0.ɵɵelementEnd()()();
|
|
48
|
+
} if (rf & 2) {
|
|
49
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
50
|
+
i0.ɵɵadvance(4);
|
|
51
|
+
i0.ɵɵproperty("form", ctx_r0);
|
|
52
|
+
i0.ɵɵadvance();
|
|
53
|
+
i0.ɵɵproperty("keepTabContent", true)("animate", false)("height", ctx_r0.TabHeight);
|
|
54
|
+
i0.ɵɵadvance(2);
|
|
55
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Details"));
|
|
56
|
+
i0.ɵɵadvance(3);
|
|
57
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Entity Documents"));
|
|
58
|
+
} }
|
|
59
|
+
let EntityDocumentTypeFormComponent = class EntityDocumentTypeFormComponent extends BaseFormComponent {
|
|
60
|
+
};
|
|
61
|
+
EntityDocumentTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentTypeFormComponent_BaseFactory; return function EntityDocumentTypeFormComponent_Factory(t) { return (ɵEntityDocumentTypeFormComponent_BaseFactory || (ɵEntityDocumentTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentTypeFormComponent)))(t || EntityDocumentTypeFormComponent); }; })();
|
|
62
|
+
EntityDocumentTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentTypeFormComponent, selectors: [["gen-entitydocumenttype-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", "Entity Document Types", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function EntityDocumentTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
+
i0.ɵɵtemplate(1, EntityDocumentTypeFormComponent_form_1_Template, 13, 6, "form", 1);
|
|
65
|
+
i0.ɵɵelementEnd();
|
|
66
|
+
} if (rf & 2) {
|
|
67
|
+
i0.ɵɵadvance();
|
|
68
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
69
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.TabStripComponent, i3.TabStripTabComponent, i3.TabContentDirective, i3.TabTitleDirective, i4.FormToolbarComponent, i4.SectionLoaderComponent, i5.UserViewGridComponent], 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\n\r\n\r\n\r\n\r\n\r\n\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}"] });
|
|
70
|
+
EntityDocumentTypeFormComponent = __decorate([
|
|
71
|
+
RegisterClass(BaseFormComponent, 'Entity Document Types') // Tell MemberJunction about this class
|
|
72
|
+
], EntityDocumentTypeFormComponent);
|
|
73
|
+
export { EntityDocumentTypeFormComponent };
|
|
74
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentTypeFormComponent, [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{ selector: 'gen-entitydocumenttype-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=\"Entity Document Types\" Section=\"details\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entity Documents')\">\n <ng-template kendoTabTitle>Entity Documents</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Documents')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Documents')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\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"] }]
|
|
77
|
+
}], null, null); })();
|
|
78
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityDocumentTypeFormComponent, { className: "EntityDocumentTypeFormComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocumentType\\entitydocumenttype.form.component.ts", lineNumber: 12 }); })();
|
|
79
|
+
export function LoadEntityDocumentTypeFormComponent() {
|
|
80
|
+
LoadEntityDocumentTypeDetailsComponent();
|
|
81
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { EntityDocumentTypeEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentTypeDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: EntityDocumentTypeEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentTypeDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentTypeDetailsComponent, "gen-entitydocumenttype-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadEntityDocumentTypeDetailsComponent(): void;
|
|
@@ -0,0 +1,165 @@
|
|
|
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
|
+
function EntityDocumentTypeDetailsComponent_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, "Name");
|
|
18
|
+
i0.ɵɵelementEnd();
|
|
19
|
+
i0.ɵɵelementStart(4, "kendo-textbox", 5);
|
|
20
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentTypeDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.record.Name = $event); });
|
|
21
|
+
i0.ɵɵelementEnd()();
|
|
22
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "label", 4);
|
|
23
|
+
i0.ɵɵtext(7, "Description");
|
|
24
|
+
i0.ɵɵelementEnd();
|
|
25
|
+
i0.ɵɵelementStart(8, "kendo-textbox", 5);
|
|
26
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentTypeDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.Description = $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
|
+
} if (rf & 2) {
|
|
41
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
42
|
+
i0.ɵɵadvance(4);
|
|
43
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Name);
|
|
44
|
+
i0.ɵɵadvance(4);
|
|
45
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Description);
|
|
46
|
+
i0.ɵɵadvance(5);
|
|
47
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
48
|
+
i0.ɵɵadvance(5);
|
|
49
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
50
|
+
} }
|
|
51
|
+
function EntityDocumentTypeDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
53
|
+
i0.ɵɵtext(3, "Name");
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
i0.ɵɵelementStart(4, "span");
|
|
56
|
+
i0.ɵɵtext(5);
|
|
57
|
+
i0.ɵɵelementEnd()();
|
|
58
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
59
|
+
i0.ɵɵtext(8, "Description");
|
|
60
|
+
i0.ɵɵelementEnd();
|
|
61
|
+
i0.ɵɵelementStart(9, "span");
|
|
62
|
+
i0.ɵɵtext(10);
|
|
63
|
+
i0.ɵɵelementEnd()();
|
|
64
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
65
|
+
i0.ɵɵtext(13, "Created At");
|
|
66
|
+
i0.ɵɵelementEnd();
|
|
67
|
+
i0.ɵɵelementStart(14, "span");
|
|
68
|
+
i0.ɵɵtext(15);
|
|
69
|
+
i0.ɵɵelementEnd()();
|
|
70
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
71
|
+
i0.ɵɵtext(18, "Updated At");
|
|
72
|
+
i0.ɵɵelementEnd();
|
|
73
|
+
i0.ɵɵelementStart(19, "span");
|
|
74
|
+
i0.ɵɵtext(20);
|
|
75
|
+
i0.ɵɵelementEnd()()();
|
|
76
|
+
} if (rf & 2) {
|
|
77
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
78
|
+
i0.ɵɵadvance(5);
|
|
79
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Name", 0));
|
|
80
|
+
i0.ɵɵadvance(5);
|
|
81
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Description", 0));
|
|
82
|
+
i0.ɵɵadvance(5);
|
|
83
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
84
|
+
i0.ɵɵadvance(5);
|
|
85
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
86
|
+
} }
|
|
87
|
+
function EntityDocumentTypeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
88
|
+
i0.ɵɵelementStart(0, "div");
|
|
89
|
+
i0.ɵɵtemplate(1, EntityDocumentTypeDetailsComponent_div_0_div_1_Template, 19, 4, "div", 1)(2, EntityDocumentTypeDetailsComponent_div_0_div_2_Template, 21, 4, "div", 1);
|
|
90
|
+
i0.ɵɵelementEnd();
|
|
91
|
+
} if (rf & 2) {
|
|
92
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
93
|
+
i0.ɵɵadvance();
|
|
94
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
95
|
+
i0.ɵɵadvance();
|
|
96
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
97
|
+
} }
|
|
98
|
+
let EntityDocumentTypeDetailsComponent = class EntityDocumentTypeDetailsComponent extends BaseFormSectionComponent {
|
|
99
|
+
constructor() {
|
|
100
|
+
super(...arguments);
|
|
101
|
+
this.EditMode = false;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
EntityDocumentTypeDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentTypeDetailsComponent_BaseFactory; return function EntityDocumentTypeDetailsComponent_Factory(t) { return (ɵEntityDocumentTypeDetailsComponent_BaseFactory || (ɵEntityDocumentTypeDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentTypeDetailsComponent)))(t || EntityDocumentTypeDetailsComponent); }; })();
|
|
105
|
+
EntityDocumentTypeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentTypeDetailsComponent, selectors: [["gen-entitydocumenttype-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, "ngModel", "ngModelChange"]], template: function EntityDocumentTypeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
106
|
+
i0.ɵɵtemplate(0, EntityDocumentTypeDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
107
|
+
} if (rf & 2) {
|
|
108
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
109
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextBoxComponent], 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\n\r\n\r\n\r\n\r\n\r\n\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}"] });
|
|
110
|
+
EntityDocumentTypeDetailsComponent = __decorate([
|
|
111
|
+
RegisterClass(BaseFormSectionComponent, 'Entity Document Types.details') // Tell MemberJunction about this class
|
|
112
|
+
], EntityDocumentTypeDetailsComponent);
|
|
113
|
+
export { EntityDocumentTypeDetailsComponent };
|
|
114
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentTypeDetailsComponent, [{
|
|
115
|
+
type: Component,
|
|
116
|
+
args: [{ selector: 'gen-entitydocumenttype-form-details', template: `<div *ngIf="this.record">
|
|
117
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
118
|
+
|
|
119
|
+
<div class="record-form-row">
|
|
120
|
+
<label class="fieldLabel">Name</label>
|
|
121
|
+
<kendo-textbox [(ngModel)]="record.Name" />
|
|
122
|
+
</div>
|
|
123
|
+
<div class="record-form-row">
|
|
124
|
+
<label class="fieldLabel">Description</label>
|
|
125
|
+
<kendo-textbox [(ngModel)]="record.Description" />
|
|
126
|
+
</div>
|
|
127
|
+
<div class="record-form-row">
|
|
128
|
+
<label class="fieldLabel">Created At</label>
|
|
129
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
130
|
+
</div>
|
|
131
|
+
<div class="record-form-row">
|
|
132
|
+
<label class="fieldLabel">Updated At</label>
|
|
133
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
137
|
+
|
|
138
|
+
<div class="record-form-row">
|
|
139
|
+
<label class="fieldLabel">Name</label>
|
|
140
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
141
|
+
</div>
|
|
142
|
+
<div class="record-form-row">
|
|
143
|
+
<label class="fieldLabel">Description</label>
|
|
144
|
+
<span >{{FormatValue('Description', 0)}}</span>
|
|
145
|
+
</div>
|
|
146
|
+
<div class="record-form-row">
|
|
147
|
+
<label class="fieldLabel">Created At</label>
|
|
148
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
149
|
+
</div>
|
|
150
|
+
<div class="record-form-row">
|
|
151
|
+
<label class="fieldLabel">Updated At</label>
|
|
152
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</div>
|
|
156
|
+
`, 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"] }]
|
|
157
|
+
}], null, { record: [{
|
|
158
|
+
type: Input
|
|
159
|
+
}], EditMode: [{
|
|
160
|
+
type: Input
|
|
161
|
+
}] }); })();
|
|
162
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityDocumentTypeDetailsComponent, { className: "EntityDocumentTypeDetailsComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocumentType\\sections\\details.component.ts", lineNumber: 52 }); })();
|
|
163
|
+
export function LoadEntityDocumentTypeDetailsComponent() {
|
|
164
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
165
|
+
}
|
package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EntityRecordDocumentEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityRecordDocumentFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EntityRecordDocumentEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityRecordDocumentFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityRecordDocumentFormComponent, "gen-entityrecorddocument-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEntityRecordDocumentFormComponent(): void;
|