@memberjunction/ng-core-entity-forms 0.9.38 → 0.9.52
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 +116 -18
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js +81 -0
- package/dist/lib/generated/Entities/DataContext/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DataContext/sections/details.component.js +241 -0
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.d.ts +9 -0
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.js +66 -0
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.d.ts +10 -0
- package/dist/lib/generated/Entities/DataContextItem/sections/details.component.js +289 -0
- 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/User/user.form.component.js +18 -4
- 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 +106 -85
- package/dist/lib/generated/generated-forms.module.js +183 -77
- package/package.json +4 -4
|
@@ -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;
|
package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.js
ADDED
|
@@ -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 { LoadEntityRecordDocumentDetailsComponent } 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 EntityRecordDocumentFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
17
|
+
i0.ɵɵtext(0, "Details");
|
|
18
|
+
} }
|
|
19
|
+
function EntityRecordDocumentFormComponent_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 EntityRecordDocumentFormComponent_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 EntityRecordDocumentFormComponent_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, EntityRecordDocumentFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, EntityRecordDocumentFormComponent_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 EntityRecordDocumentFormComponent = class EntityRecordDocumentFormComponent extends BaseFormComponent {
|
|
45
|
+
};
|
|
46
|
+
EntityRecordDocumentFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityRecordDocumentFormComponent_BaseFactory; return function EntityRecordDocumentFormComponent_Factory(t) { return (ɵEntityRecordDocumentFormComponent_BaseFactory || (ɵEntityRecordDocumentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityRecordDocumentFormComponent)))(t || EntityRecordDocumentFormComponent); }; })();
|
|
47
|
+
EntityRecordDocumentFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityRecordDocumentFormComponent, selectors: [["gen-entityrecorddocument-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 Record Documents", "Section", "details", 3, "record", "EditMode"]], template: function EntityRecordDocumentFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
49
|
+
i0.ɵɵtemplate(1, EntityRecordDocumentFormComponent_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
|
+
EntityRecordDocumentFormComponent = __decorate([
|
|
56
|
+
RegisterClass(BaseFormComponent, 'Entity Record Documents') // Tell MemberJunction about this class
|
|
57
|
+
], EntityRecordDocumentFormComponent);
|
|
58
|
+
export { EntityRecordDocumentFormComponent };
|
|
59
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityRecordDocumentFormComponent, [{
|
|
60
|
+
type: Component,
|
|
61
|
+
args: [{ selector: 'gen-entityrecorddocument-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 Record Documents\" 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(EntityRecordDocumentFormComponent, { className: "EntityRecordDocumentFormComponent", filePath: "src\\lib\\generated\\Entities\\EntityRecordDocument\\entityrecorddocument.form.component.ts", lineNumber: 12 }); })();
|
|
64
|
+
export function LoadEntityRecordDocumentFormComponent() {
|
|
65
|
+
LoadEntityRecordDocumentDetailsComponent();
|
|
66
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { EntityRecordDocumentEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityRecordDocumentDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: EntityRecordDocumentEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityRecordDocumentDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityRecordDocumentDetailsComponent, "gen-entityrecorddocument-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadEntityRecordDocumentDetailsComponent(): void;
|