@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
|
@@ -253,15 +253,33 @@ function EntityFormComponent_form_1_ng_template_88_Template(rf, ctx) { if (rf &
|
|
|
253
253
|
const ctx_r55 = i0.ɵɵnextContext(2);
|
|
254
254
|
i0.ɵɵproperty("Params", ctx_r55.BuildRelationshipViewParamsByEntityName("Query Fields"))("AllowLoad", ctx_r55.IsCurrentTab("Query Fields"))("EditMode", ctx_r55.GridEditMode())("BottomMargin", ctx_r55.GridBottomMargin);
|
|
255
255
|
} }
|
|
256
|
+
function EntityFormComponent_form_1_ng_template_90_Template(rf, ctx) { if (rf & 1) {
|
|
257
|
+
i0.ɵɵtext(0, "Conversations");
|
|
258
|
+
} }
|
|
259
|
+
function EntityFormComponent_form_1_ng_template_91_Template(rf, ctx) { if (rf & 1) {
|
|
260
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 19);
|
|
261
|
+
} if (rf & 2) {
|
|
262
|
+
const ctx_r57 = i0.ɵɵnextContext(2);
|
|
263
|
+
i0.ɵɵproperty("Params", ctx_r57.BuildRelationshipViewParamsByEntityName("Conversations"))("AllowLoad", ctx_r57.IsCurrentTab("Conversations"))("EditMode", ctx_r57.GridEditMode())("BottomMargin", ctx_r57.GridBottomMargin);
|
|
264
|
+
} }
|
|
265
|
+
function EntityFormComponent_form_1_ng_template_93_Template(rf, ctx) { if (rf & 1) {
|
|
266
|
+
i0.ɵɵtext(0, "Entity Documents");
|
|
267
|
+
} }
|
|
268
|
+
function EntityFormComponent_form_1_ng_template_94_Template(rf, ctx) { if (rf & 1) {
|
|
269
|
+
i0.ɵɵelement(0, "mj-user-view-grid", 19);
|
|
270
|
+
} if (rf & 2) {
|
|
271
|
+
const ctx_r59 = i0.ɵɵnextContext(2);
|
|
272
|
+
i0.ɵɵproperty("Params", ctx_r59.BuildRelationshipViewParamsByEntityName("Entity Documents"))("AllowLoad", ctx_r59.IsCurrentTab("Entity Documents"))("EditMode", ctx_r59.GridEditMode())("BottomMargin", ctx_r59.GridBottomMargin);
|
|
273
|
+
} }
|
|
256
274
|
function EntityFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
257
|
-
const
|
|
275
|
+
const _r61 = i0.ɵɵgetCurrentView();
|
|
258
276
|
i0.ɵɵelementStart(0, "form", 2, 3)(2, "kendo-splitter", 4);
|
|
259
|
-
i0.ɵɵlistener("layoutChange", function EntityFormComponent_form_1_Template_kendo_splitter_layoutChange_2_listener() { i0.ɵɵrestoreView(
|
|
277
|
+
i0.ɵɵlistener("layoutChange", function EntityFormComponent_form_1_Template_kendo_splitter_layoutChange_2_listener() { i0.ɵɵrestoreView(_r61); const ctx_r60 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r60.splitterLayoutChange()); });
|
|
260
278
|
i0.ɵɵelementStart(3, "kendo-splitter-pane")(4, "div", 5, 6);
|
|
261
279
|
i0.ɵɵelement(6, "mj-form-toolbar", 7)(7, "mj-form-section", 8);
|
|
262
280
|
i0.ɵɵelementEnd()();
|
|
263
281
|
i0.ɵɵelementStart(8, "kendo-splitter-pane")(9, "kendo-tabstrip", 9, 10);
|
|
264
|
-
i0.ɵɵlistener("tabSelect", function EntityFormComponent_form_1_Template_kendo_tabstrip_tabSelect_9_listener($event) { i0.ɵɵrestoreView(
|
|
282
|
+
i0.ɵɵlistener("tabSelect", function EntityFormComponent_form_1_Template_kendo_tabstrip_tabSelect_9_listener($event) { i0.ɵɵrestoreView(_r61); const ctx_r62 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r62.onTabSelect($event)); });
|
|
265
283
|
i0.ɵɵelementStart(11, "kendo-tabstrip-tab", 11);
|
|
266
284
|
i0.ɵɵtemplate(12, EntityFormComponent_form_1_ng_template_12_Template, 1, 0, "ng-template", 12)(13, EntityFormComponent_form_1_ng_template_13_Template, 1, 2, "ng-template", 13);
|
|
267
285
|
i0.ɵɵelementEnd();
|
|
@@ -339,6 +357,12 @@ function EntityFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
339
357
|
i0.ɵɵelementEnd();
|
|
340
358
|
i0.ɵɵelementStart(86, "kendo-tabstrip-tab", 11);
|
|
341
359
|
i0.ɵɵtemplate(87, EntityFormComponent_form_1_ng_template_87_Template, 1, 0, "ng-template", 12)(88, EntityFormComponent_form_1_ng_template_88_Template, 1, 4, "ng-template", 13);
|
|
360
|
+
i0.ɵɵelementEnd();
|
|
361
|
+
i0.ɵɵelementStart(89, "kendo-tabstrip-tab", 11);
|
|
362
|
+
i0.ɵɵtemplate(90, EntityFormComponent_form_1_ng_template_90_Template, 1, 0, "ng-template", 12)(91, EntityFormComponent_form_1_ng_template_91_Template, 1, 4, "ng-template", 13);
|
|
363
|
+
i0.ɵɵelementEnd();
|
|
364
|
+
i0.ɵɵelementStart(92, "kendo-tabstrip-tab", 11);
|
|
365
|
+
i0.ɵɵtemplate(93, EntityFormComponent_form_1_ng_template_93_Template, 1, 0, "ng-template", 12)(94, EntityFormComponent_form_1_ng_template_94_Template, 1, 4, "ng-template", 13);
|
|
342
366
|
i0.ɵɵelementEnd()()()()();
|
|
343
367
|
} if (rf & 2) {
|
|
344
368
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -400,13 +424,17 @@ function EntityFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
400
424
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Record Merge Logs"));
|
|
401
425
|
i0.ɵɵadvance(3);
|
|
402
426
|
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Query Fields"));
|
|
427
|
+
i0.ɵɵadvance(3);
|
|
428
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Conversations"));
|
|
429
|
+
i0.ɵɵadvance(3);
|
|
430
|
+
i0.ɵɵproperty("selected", ctx_r0.RegisterAndCheckIfCurrentTab("Entity Documents"));
|
|
403
431
|
} }
|
|
404
432
|
let EntityFormComponent = class EntityFormComponent extends BaseFormComponent {
|
|
405
433
|
};
|
|
406
434
|
EntityFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityFormComponent_BaseFactory; return function EntityFormComponent_Factory(t) { return (ɵEntityFormComponent_BaseFactory || (ɵEntityFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityFormComponent)))(t || EntityFormComponent); }; })();
|
|
407
435
|
EntityFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityFormComponent, selectors: [["gen-entity-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "record-form-container"], ["class", "record-form", 4, "ngIf"], [1, "record-form"], ["form", "ngForm"], ["orientation", "vertical", 3, "layoutChange"], [1, "record-form-group"], ["topArea", ""], [3, "form"], ["Entity", "Entities", "Section", "top-area", 3, "record", "EditMode"], [3, "keepTabContent", "animate", "height", "tabSelect"], ["tabStrip", ""], [3, "selected"], ["kendoTabTitle", ""], ["kendoTabContent", ""], ["Entity", "Entities", "Section", "details", 3, "record", "EditMode"], ["Entity", "Entities", "Section", "audit", 3, "record", "EditMode"], ["Entity", "Entities", "Section", "api", 3, "record", "EditMode"], ["Entity", "Entities", "Section", "db", 3, "record", "EditMode"], ["Entity", "Entities", "Section", "ui", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function EntityFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
408
436
|
i0.ɵɵelementStart(0, "div", 0);
|
|
409
|
-
i0.ɵɵtemplate(1, EntityFormComponent_form_1_Template,
|
|
437
|
+
i0.ɵɵtemplate(1, EntityFormComponent_form_1_Template, 95, 34, "form", 1);
|
|
410
438
|
i0.ɵɵelementEnd();
|
|
411
439
|
} if (rf & 2) {
|
|
412
440
|
i0.ɵɵadvance();
|
|
@@ -418,7 +446,7 @@ EntityFormComponent = __decorate([
|
|
|
418
446
|
export { EntityFormComponent };
|
|
419
447
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityFormComponent, [{
|
|
420
448
|
type: Component,
|
|
421
|
-
args: [{ selector: 'gen-entity-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <kendo-splitter orientation=\"vertical\" (layoutChange)=\"splitterLayoutChange()\">\n <kendo-splitter-pane>\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n <mj-form-section Entity=\"Entities\" Section=\"top-area\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </div>\n </kendo-splitter-pane>\n <kendo-splitter-pane>\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=\"Entities\" 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('Audit')\">\n <ng-template kendoTabTitle>Audit</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"audit\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('API')\">\n <ng-template kendoTabTitle>API</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"api\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('DB')\">\n <ng-template kendoTabTitle>DB</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"db\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('UI')\">\n <ng-template kendoTabTitle>UI</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"ui\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Fields')\">\n <ng-template kendoTabTitle>Fields</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Permissions')\">\n <ng-template kendoTabTitle>Permissions</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Permissions')\" \n [AllowLoad]=\"this.IsCurrentTab('Permissions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Relationships')\">\n <ng-template kendoTabTitle>Relationships</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Relationships')\" \n [AllowLoad]=\"this.IsCurrentTab('Relationships')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('AI Actions')\">\n <ng-template kendoTabTitle>AI Actions</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \n [AllowLoad]=\"this.IsCurrentTab('AI Actions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Record Logs')\">\n <ng-template kendoTabTitle>User Record Logs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Record Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('User Record Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Integration URL Formats')\">\n <ng-template kendoTabTitle>Integration URL Formats</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Integration URL Formats')\" \n [AllowLoad]=\"this.IsCurrentTab('Integration URL Formats')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entities')\">\n <ng-template kendoTabTitle>Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Favorites')\">\n <ng-template kendoTabTitle>User Favorites</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Favorites')\" \n [AllowLoad]=\"this.IsCurrentTab('User Favorites')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Run Details')\">\n <ng-template kendoTabTitle>Company Integration Run Details</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Run Details')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Run Details')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Application Entities')\">\n <ng-template kendoTabTitle>Application Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Application Entities')\">\n <ng-template kendoTabTitle>User Application Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('User Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Lists')\">\n <ng-template kendoTabTitle>Lists</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Lists')\" \n [AllowLoad]=\"this.IsCurrentTab('Lists')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Views')\">\n <ng-template kendoTabTitle>User Views</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Views')\" \n [AllowLoad]=\"this.IsCurrentTab('User Views')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Record Changes')\">\n <ng-template kendoTabTitle>Record Changes</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Changes')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Changes')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Audit Logs')\">\n <ng-template kendoTabTitle>Audit Logs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Audit Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Audit Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Resource Types')\">\n <ng-template kendoTabTitle>Resource Types</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Resource Types')\" \n [AllowLoad]=\"this.IsCurrentTab('Resource Types')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Tagged Items')\">\n <ng-template kendoTabTitle>Tagged Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Tagged Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Tagged Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Dataset Items')\">\n <ng-template kendoTabTitle>Dataset Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dataset Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Dataset Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Record Maps')\">\n <ng-template kendoTabTitle>Company Integration Record Maps</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Record Maps')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Record Maps')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Record Merge Logs')\">\n <ng-template kendoTabTitle>Record Merge Logs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Merge Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Merge Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Query Fields')\">\n <ng-template kendoTabTitle>Query Fields</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Query Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Query Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n </kendo-tabstrip>\n </kendo-splitter-pane>\n </kendo-splitter>\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"] }]
|
|
449
|
+
args: [{ selector: 'gen-entity-form', template: "<div class=\"record-form-container\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\">\n <kendo-splitter orientation=\"vertical\" (layoutChange)=\"splitterLayoutChange()\">\n <kendo-splitter-pane>\n <div #topArea class=\"record-form-group\">\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n <mj-form-section Entity=\"Entities\" Section=\"top-area\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </div>\n </kendo-splitter-pane>\n <kendo-splitter-pane>\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=\"Entities\" 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('Audit')\">\n <ng-template kendoTabTitle>Audit</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"audit\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('API')\">\n <ng-template kendoTabTitle>API</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"api\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('DB')\">\n <ng-template kendoTabTitle>DB</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"db\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('UI')\">\n <ng-template kendoTabTitle>UI</ng-template>\n <ng-template kendoTabContent >\n <mj-form-section Entity=\"Entities\" Section=\"ui\" [record]=\"record\" [EditMode]=\"this.EditMode\"></mj-form-section>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Fields')\">\n <ng-template kendoTabTitle>Fields</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Permissions')\">\n <ng-template kendoTabTitle>Permissions</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Permissions')\" \n [AllowLoad]=\"this.IsCurrentTab('Permissions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Relationships')\">\n <ng-template kendoTabTitle>Relationships</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Relationships')\" \n [AllowLoad]=\"this.IsCurrentTab('Relationships')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('AI Actions')\">\n <ng-template kendoTabTitle>AI Actions</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity AI Actions')\" \n [AllowLoad]=\"this.IsCurrentTab('AI Actions')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Record Logs')\">\n <ng-template kendoTabTitle>User Record Logs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Record Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('User Record Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Integration URL Formats')\">\n <ng-template kendoTabTitle>Integration URL Formats</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Integration URL Formats')\" \n [AllowLoad]=\"this.IsCurrentTab('Integration URL Formats')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Entities')\">\n <ng-template kendoTabTitle>Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Favorites')\">\n <ng-template kendoTabTitle>User Favorites</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Favorites')\" \n [AllowLoad]=\"this.IsCurrentTab('User Favorites')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Run Details')\">\n <ng-template kendoTabTitle>Company Integration Run Details</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Run Details')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Run Details')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Application Entities')\">\n <ng-template kendoTabTitle>Application Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Application Entities')\">\n <ng-template kendoTabTitle>User Application Entities</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Application Entities')\" \n [AllowLoad]=\"this.IsCurrentTab('User Application Entities')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Lists')\">\n <ng-template kendoTabTitle>Lists</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Lists')\" \n [AllowLoad]=\"this.IsCurrentTab('Lists')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('User Views')\">\n <ng-template kendoTabTitle>User Views</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('User Views')\" \n [AllowLoad]=\"this.IsCurrentTab('User Views')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Record Changes')\">\n <ng-template kendoTabTitle>Record Changes</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Changes')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Changes')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Audit Logs')\">\n <ng-template kendoTabTitle>Audit Logs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Audit Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Audit Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Resource Types')\">\n <ng-template kendoTabTitle>Resource Types</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Resource Types')\" \n [AllowLoad]=\"this.IsCurrentTab('Resource Types')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Tagged Items')\">\n <ng-template kendoTabTitle>Tagged Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Tagged Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Tagged Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Dataset Items')\">\n <ng-template kendoTabTitle>Dataset Items</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Dataset Items')\" \n [AllowLoad]=\"this.IsCurrentTab('Dataset Items')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Company Integration Record Maps')\">\n <ng-template kendoTabTitle>Company Integration Record Maps</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Company Integration Record Maps')\" \n [AllowLoad]=\"this.IsCurrentTab('Company Integration Record Maps')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Record Merge Logs')\">\n <ng-template kendoTabTitle>Record Merge Logs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Record Merge Logs')\" \n [AllowLoad]=\"this.IsCurrentTab('Record Merge Logs')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Query Fields')\">\n <ng-template kendoTabTitle>Query Fields</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Query Fields')\" \n [AllowLoad]=\"this.IsCurrentTab('Query Fields')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\n </ng-template>\n </kendo-tabstrip-tab>\n \n <kendo-tabstrip-tab [selected]=\"this.RegisterAndCheckIfCurrentTab('Conversations')\">\n <ng-template kendoTabTitle>Conversations</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Conversations')\" \n [AllowLoad]=\"this.IsCurrentTab('Conversations')\" \n [EditMode]=\"this.GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\"></mj-user-view-grid>\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 </kendo-splitter-pane>\n </kendo-splitter>\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"] }]
|
|
422
450
|
}], null, null); })();
|
|
423
451
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityFormComponent, { className: "EntityFormComponent", filePath: "src\\lib\\generated\\Entities\\Entity\\entity.form.component.ts", lineNumber: 17 }); })();
|
|
424
452
|
export function LoadEntityFormComponent() {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EntityDocumentEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EntityDocumentEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentFormComponent, "gen-entitydocument-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEntityDocumentFormComponent(): 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 { LoadEntityDocumentDetailsComponent } 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 EntityDocumentFormComponent_form_1_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
18
|
+
i0.ɵɵtext(0, "Details");
|
|
19
|
+
} }
|
|
20
|
+
function EntityDocumentFormComponent_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 EntityDocumentFormComponent_form_1_ng_template_11_Template(rf, ctx) { if (rf & 1) {
|
|
27
|
+
i0.ɵɵtext(0, "Entity Document Runs");
|
|
28
|
+
} }
|
|
29
|
+
function EntityDocumentFormComponent_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 Document Runs"))("AllowLoad", ctx_r7.IsCurrentTab("Entity Document Runs"))("EditMode", ctx_r7.GridEditMode())("BottomMargin", ctx_r7.GridBottomMargin);
|
|
34
|
+
} }
|
|
35
|
+
function EntityDocumentFormComponent_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 EntityDocumentFormComponent_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, EntityDocumentFormComponent_form_1_ng_template_8_Template, 1, 0, "ng-template", 10)(9, EntityDocumentFormComponent_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, EntityDocumentFormComponent_form_1_ng_template_11_Template, 1, 0, "ng-template", 10)(12, EntityDocumentFormComponent_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 Document Runs"));
|
|
58
|
+
} }
|
|
59
|
+
let EntityDocumentFormComponent = class EntityDocumentFormComponent extends BaseFormComponent {
|
|
60
|
+
};
|
|
61
|
+
EntityDocumentFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentFormComponent_BaseFactory; return function EntityDocumentFormComponent_Factory(t) { return (ɵEntityDocumentFormComponent_BaseFactory || (ɵEntityDocumentFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentFormComponent)))(t || EntityDocumentFormComponent); }; })();
|
|
62
|
+
EntityDocumentFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentFormComponent, selectors: [["gen-entitydocument-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 Documents", "Section", "details", 3, "record", "EditMode"], [3, "Params", "AllowLoad", "EditMode", "BottomMargin"]], template: function EntityDocumentFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
64
|
+
i0.ɵɵtemplate(1, EntityDocumentFormComponent_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
|
+
EntityDocumentFormComponent = __decorate([
|
|
71
|
+
RegisterClass(BaseFormComponent, 'Entity Documents') // Tell MemberJunction about this class
|
|
72
|
+
], EntityDocumentFormComponent);
|
|
73
|
+
export { EntityDocumentFormComponent };
|
|
74
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentFormComponent, [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{ selector: 'gen-entitydocument-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 Documents\" 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 Document Runs')\">\n <ng-template kendoTabTitle>Entity Document Runs</ng-template>\n <ng-template kendoTabContent >\n <mj-user-view-grid [Params]=\"this.BuildRelationshipViewParamsByEntityName('Entity Document Runs')\" \n [AllowLoad]=\"this.IsCurrentTab('Entity Document Runs')\" \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(EntityDocumentFormComponent, { className: "EntityDocumentFormComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocument\\entitydocument.form.component.ts", lineNumber: 12 }); })();
|
|
79
|
+
export function LoadEntityDocumentFormComponent() {
|
|
80
|
+
LoadEntityDocumentDetailsComponent();
|
|
81
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
2
|
+
import { EntityDocumentEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: EntityDocumentEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentDetailsComponent, "gen-entitydocument-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadEntityDocumentDetailsComponent(): void;
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { Component, Input } from '@angular/core';
|
|
8
|
+
import { RegisterClass } from '@memberjunction/global';
|
|
9
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-explorer-core';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@angular/forms";
|
|
13
|
+
import * as i3 from "@progress/kendo-angular-inputs";
|
|
14
|
+
import * as i4 from "@memberjunction/ng-link-directives";
|
|
15
|
+
function EntityDocumentDetailsComponent_div_0_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
17
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
18
|
+
i0.ɵɵtext(3, "Name");
|
|
19
|
+
i0.ɵɵelementEnd();
|
|
20
|
+
i0.ɵɵelementStart(4, "kendo-textarea", 5);
|
|
21
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentDetailsComponent_div_0_div_1_Template_kendo_textarea_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.record.Name = $event); });
|
|
22
|
+
i0.ɵɵelementEnd()();
|
|
23
|
+
i0.ɵɵelementStart(5, "div", 3)(6, "label", 4);
|
|
24
|
+
i0.ɵɵtext(7, "Entity ID");
|
|
25
|
+
i0.ɵɵelementEnd();
|
|
26
|
+
i0.ɵɵelementStart(8, "kendo-numerictextbox", 6);
|
|
27
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_8_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r5 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r5.record.EntityID = $event); });
|
|
28
|
+
i0.ɵɵelementEnd()();
|
|
29
|
+
i0.ɵɵelementStart(9, "div", 3)(10, "label", 4);
|
|
30
|
+
i0.ɵɵtext(11, "Type ID");
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(12, "kendo-numerictextbox", 6);
|
|
33
|
+
i0.ɵɵlistener("valueChange", function EntityDocumentDetailsComponent_div_0_div_1_Template_kendo_numerictextbox_valueChange_12_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r6 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r6.record.TypeID = $event); });
|
|
34
|
+
i0.ɵɵelementEnd()();
|
|
35
|
+
i0.ɵɵelementStart(13, "div", 3)(14, "label", 4);
|
|
36
|
+
i0.ɵɵtext(15, "Status");
|
|
37
|
+
i0.ɵɵelementEnd();
|
|
38
|
+
i0.ɵɵelementStart(16, "kendo-textbox", 5);
|
|
39
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentDetailsComponent_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); });
|
|
40
|
+
i0.ɵɵelementEnd()();
|
|
41
|
+
i0.ɵɵelementStart(17, "div", 3)(18, "label", 4);
|
|
42
|
+
i0.ɵɵtext(19, "Template");
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
i0.ɵɵelementStart(20, "kendo-textbox", 5);
|
|
45
|
+
i0.ɵɵlistener("ngModelChange", function EntityDocumentDetailsComponent_div_0_div_1_Template_kendo_textbox_ngModelChange_20_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r8 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r8.record.Template = $event); });
|
|
46
|
+
i0.ɵɵelementEnd()();
|
|
47
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
48
|
+
i0.ɵɵtext(23, "Created At");
|
|
49
|
+
i0.ɵɵelementEnd();
|
|
50
|
+
i0.ɵɵelementStart(24, "span");
|
|
51
|
+
i0.ɵɵtext(25);
|
|
52
|
+
i0.ɵɵelementEnd()();
|
|
53
|
+
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
54
|
+
i0.ɵɵtext(28, "Updated At");
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
i0.ɵɵelementStart(29, "span");
|
|
57
|
+
i0.ɵɵtext(30);
|
|
58
|
+
i0.ɵɵelementEnd()();
|
|
59
|
+
i0.ɵɵelementStart(31, "div", 3)(32, "label", 4);
|
|
60
|
+
i0.ɵɵtext(33, "Entity");
|
|
61
|
+
i0.ɵɵelementEnd();
|
|
62
|
+
i0.ɵɵelementStart(34, "span");
|
|
63
|
+
i0.ɵɵtext(35);
|
|
64
|
+
i0.ɵɵelementEnd()();
|
|
65
|
+
i0.ɵɵelementStart(36, "div", 3)(37, "label", 4);
|
|
66
|
+
i0.ɵɵtext(38, "Type");
|
|
67
|
+
i0.ɵɵelementEnd();
|
|
68
|
+
i0.ɵɵelementStart(39, "span");
|
|
69
|
+
i0.ɵɵtext(40);
|
|
70
|
+
i0.ɵɵelementEnd()()();
|
|
71
|
+
} if (rf & 2) {
|
|
72
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
73
|
+
i0.ɵɵadvance(4);
|
|
74
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Name);
|
|
75
|
+
i0.ɵɵadvance(4);
|
|
76
|
+
i0.ɵɵproperty("value", ctx_r1.record.EntityID);
|
|
77
|
+
i0.ɵɵadvance(4);
|
|
78
|
+
i0.ɵɵproperty("value", ctx_r1.record.TypeID);
|
|
79
|
+
i0.ɵɵadvance(4);
|
|
80
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Status);
|
|
81
|
+
i0.ɵɵadvance(4);
|
|
82
|
+
i0.ɵɵproperty("ngModel", ctx_r1.record.Template);
|
|
83
|
+
i0.ɵɵadvance(5);
|
|
84
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("CreatedAt", 0));
|
|
85
|
+
i0.ɵɵadvance(5);
|
|
86
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("UpdatedAt", 0));
|
|
87
|
+
i0.ɵɵadvance(5);
|
|
88
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("Entity", 0));
|
|
89
|
+
i0.ɵɵadvance(5);
|
|
90
|
+
i0.ɵɵtextInterpolate(ctx_r1.FormatValue("Type", 0));
|
|
91
|
+
} }
|
|
92
|
+
function EntityDocumentDetailsComponent_div_0_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
93
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "label", 4);
|
|
94
|
+
i0.ɵɵtext(3, "Name");
|
|
95
|
+
i0.ɵɵelementEnd();
|
|
96
|
+
i0.ɵɵelementStart(4, "span");
|
|
97
|
+
i0.ɵɵtext(5);
|
|
98
|
+
i0.ɵɵelementEnd()();
|
|
99
|
+
i0.ɵɵelementStart(6, "div", 3)(7, "label", 4);
|
|
100
|
+
i0.ɵɵtext(8, "Entity ID");
|
|
101
|
+
i0.ɵɵelementEnd();
|
|
102
|
+
i0.ɵɵelementStart(9, "span", 7);
|
|
103
|
+
i0.ɵɵtext(10);
|
|
104
|
+
i0.ɵɵelementEnd()();
|
|
105
|
+
i0.ɵɵelementStart(11, "div", 3)(12, "label", 4);
|
|
106
|
+
i0.ɵɵtext(13, "Type ID");
|
|
107
|
+
i0.ɵɵelementEnd();
|
|
108
|
+
i0.ɵɵelementStart(14, "span", 8);
|
|
109
|
+
i0.ɵɵtext(15);
|
|
110
|
+
i0.ɵɵelementEnd()();
|
|
111
|
+
i0.ɵɵelementStart(16, "div", 3)(17, "label", 4);
|
|
112
|
+
i0.ɵɵtext(18, "Status");
|
|
113
|
+
i0.ɵɵelementEnd();
|
|
114
|
+
i0.ɵɵelementStart(19, "span");
|
|
115
|
+
i0.ɵɵtext(20);
|
|
116
|
+
i0.ɵɵelementEnd()();
|
|
117
|
+
i0.ɵɵelementStart(21, "div", 3)(22, "label", 4);
|
|
118
|
+
i0.ɵɵtext(23, "Template");
|
|
119
|
+
i0.ɵɵelementEnd();
|
|
120
|
+
i0.ɵɵelementStart(24, "span");
|
|
121
|
+
i0.ɵɵtext(25);
|
|
122
|
+
i0.ɵɵelementEnd()();
|
|
123
|
+
i0.ɵɵelementStart(26, "div", 3)(27, "label", 4);
|
|
124
|
+
i0.ɵɵtext(28, "Created At");
|
|
125
|
+
i0.ɵɵelementEnd();
|
|
126
|
+
i0.ɵɵelementStart(29, "span");
|
|
127
|
+
i0.ɵɵtext(30);
|
|
128
|
+
i0.ɵɵelementEnd()();
|
|
129
|
+
i0.ɵɵelementStart(31, "div", 3)(32, "label", 4);
|
|
130
|
+
i0.ɵɵtext(33, "Updated At");
|
|
131
|
+
i0.ɵɵelementEnd();
|
|
132
|
+
i0.ɵɵelementStart(34, "span");
|
|
133
|
+
i0.ɵɵtext(35);
|
|
134
|
+
i0.ɵɵelementEnd()();
|
|
135
|
+
i0.ɵɵelementStart(36, "div", 3)(37, "label", 4);
|
|
136
|
+
i0.ɵɵtext(38, "Entity");
|
|
137
|
+
i0.ɵɵelementEnd();
|
|
138
|
+
i0.ɵɵelementStart(39, "span");
|
|
139
|
+
i0.ɵɵtext(40);
|
|
140
|
+
i0.ɵɵelementEnd()();
|
|
141
|
+
i0.ɵɵelementStart(41, "div", 3)(42, "label", 4);
|
|
142
|
+
i0.ɵɵtext(43, "Type");
|
|
143
|
+
i0.ɵɵelementEnd();
|
|
144
|
+
i0.ɵɵelementStart(44, "span");
|
|
145
|
+
i0.ɵɵtext(45);
|
|
146
|
+
i0.ɵɵelementEnd()()();
|
|
147
|
+
} if (rf & 2) {
|
|
148
|
+
const ctx_r2 = i0.ɵɵnextContext(2);
|
|
149
|
+
i0.ɵɵadvance(5);
|
|
150
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Name", 0));
|
|
151
|
+
i0.ɵɵadvance(4);
|
|
152
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
153
|
+
i0.ɵɵadvance();
|
|
154
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("EntityID", 0));
|
|
155
|
+
i0.ɵɵadvance(4);
|
|
156
|
+
i0.ɵɵproperty("record", ctx_r2.record);
|
|
157
|
+
i0.ɵɵadvance();
|
|
158
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("TypeID", 0));
|
|
159
|
+
i0.ɵɵadvance(5);
|
|
160
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Status", 0));
|
|
161
|
+
i0.ɵɵadvance(5);
|
|
162
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Template", 0));
|
|
163
|
+
i0.ɵɵadvance(5);
|
|
164
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("CreatedAt", 0));
|
|
165
|
+
i0.ɵɵadvance(5);
|
|
166
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("UpdatedAt", 0));
|
|
167
|
+
i0.ɵɵadvance(5);
|
|
168
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Entity", 0));
|
|
169
|
+
i0.ɵɵadvance(5);
|
|
170
|
+
i0.ɵɵtextInterpolate(ctx_r2.FormatValue("Type", 0));
|
|
171
|
+
} }
|
|
172
|
+
function EntityDocumentDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
173
|
+
i0.ɵɵelementStart(0, "div");
|
|
174
|
+
i0.ɵɵtemplate(1, EntityDocumentDetailsComponent_div_0_div_1_Template, 41, 9, "div", 1)(2, EntityDocumentDetailsComponent_div_0_div_2_Template, 46, 11, "div", 1);
|
|
175
|
+
i0.ɵɵelementEnd();
|
|
176
|
+
} if (rf & 2) {
|
|
177
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
178
|
+
i0.ɵɵadvance();
|
|
179
|
+
i0.ɵɵproperty("ngIf", ctx_r0.EditMode);
|
|
180
|
+
i0.ɵɵadvance();
|
|
181
|
+
i0.ɵɵproperty("ngIf", !ctx_r0.EditMode);
|
|
182
|
+
} }
|
|
183
|
+
let EntityDocumentDetailsComponent = class EntityDocumentDetailsComponent extends BaseFormSectionComponent {
|
|
184
|
+
constructor() {
|
|
185
|
+
super(...arguments);
|
|
186
|
+
this.EditMode = false;
|
|
187
|
+
}
|
|
188
|
+
};
|
|
189
|
+
EntityDocumentDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵEntityDocumentDetailsComponent_BaseFactory; return function EntityDocumentDetailsComponent_Factory(t) { return (ɵEntityDocumentDetailsComponent_BaseFactory || (ɵEntityDocumentDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(EntityDocumentDetailsComponent)))(t || EntityDocumentDetailsComponent); }; })();
|
|
190
|
+
EntityDocumentDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: EntityDocumentDetailsComponent, selectors: [["gen-entitydocument-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"], [3, "value", "valueChange"], ["mjFieldLink", "", "fieldName", "EntityID", 3, "record"], ["mjFieldLink", "", "fieldName", "TypeID", 3, "record"]], template: function EntityDocumentDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
191
|
+
i0.ɵɵtemplate(0, EntityDocumentDetailsComponent_div_0_Template, 3, 2, "div", 0);
|
|
192
|
+
} if (rf & 2) {
|
|
193
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
194
|
+
} }, dependencies: [i1.NgIf, i2.NgControlStatus, i2.NgModel, i3.TextAreaComponent, i3.TextBoxComponent, i3.NumericTextBoxComponent, i4.FieldLink], styles: ["a[_ngcontent-%COMP%] {\r\n font-size: 14px;\r\n font-weight: bolder;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] {\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n\r\n.record-form-group[_ngcontent-%COMP%] {\r\n margin-top: 0px;\r\n}\r\n\r\nbutton[_ngcontent-%COMP%] {\r\n margin-right: 5px;\r\n}\r\n\r\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\r\n margin-bottom: 10px;\r\n}\r\n\r\n.k-splitter[_ngcontent-%COMP%] {\r\n border-width: 0px;\r\n}\r\n\r\n.record-form-row[_ngcontent-%COMP%] {\r\n display: grid;\r\n grid-template-columns: auto 1fr;\r\n align-items: start;\r\n gap: 10px;\r\n margin-bottom: 12px;\r\n padding-top: 5px;\r\n padding-bottom: 5px;\r\n}\r\n\r\n\r\n\r\n\r\n\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}"] });
|
|
195
|
+
EntityDocumentDetailsComponent = __decorate([
|
|
196
|
+
RegisterClass(BaseFormSectionComponent, 'Entity Documents.details') // Tell MemberJunction about this class
|
|
197
|
+
], EntityDocumentDetailsComponent);
|
|
198
|
+
export { EntityDocumentDetailsComponent };
|
|
199
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EntityDocumentDetailsComponent, [{
|
|
200
|
+
type: Component,
|
|
201
|
+
args: [{ selector: 'gen-entitydocument-form-details', template: `<div *ngIf="this.record">
|
|
202
|
+
<div *ngIf="this.EditMode" class="record-form">
|
|
203
|
+
|
|
204
|
+
<div class="record-form-row">
|
|
205
|
+
<label class="fieldLabel">Name</label>
|
|
206
|
+
<kendo-textarea [(ngModel)]="record.Name" ></kendo-textarea>
|
|
207
|
+
</div>
|
|
208
|
+
<div class="record-form-row">
|
|
209
|
+
<label class="fieldLabel">Entity ID</label>
|
|
210
|
+
<kendo-numerictextbox [(value)]="record.EntityID" ></kendo-numerictextbox>
|
|
211
|
+
</div>
|
|
212
|
+
<div class="record-form-row">
|
|
213
|
+
<label class="fieldLabel">Type ID</label>
|
|
214
|
+
<kendo-numerictextbox [(value)]="record.TypeID" ></kendo-numerictextbox>
|
|
215
|
+
</div>
|
|
216
|
+
<div class="record-form-row">
|
|
217
|
+
<label class="fieldLabel">Status</label>
|
|
218
|
+
<kendo-textbox [(ngModel)]="record.Status" />
|
|
219
|
+
</div>
|
|
220
|
+
<div class="record-form-row">
|
|
221
|
+
<label class="fieldLabel">Template</label>
|
|
222
|
+
<kendo-textbox [(ngModel)]="record.Template" />
|
|
223
|
+
</div>
|
|
224
|
+
<div class="record-form-row">
|
|
225
|
+
<label class="fieldLabel">Created At</label>
|
|
226
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
227
|
+
</div>
|
|
228
|
+
<div class="record-form-row">
|
|
229
|
+
<label class="fieldLabel">Updated At</label>
|
|
230
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
231
|
+
</div>
|
|
232
|
+
<div class="record-form-row">
|
|
233
|
+
<label class="fieldLabel">Entity</label>
|
|
234
|
+
<span >{{FormatValue('Entity', 0)}}</span>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="record-form-row">
|
|
237
|
+
<label class="fieldLabel">Type</label>
|
|
238
|
+
<span >{{FormatValue('Type', 0)}}</span>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
<div *ngIf="!this.EditMode" class="record-form">
|
|
242
|
+
|
|
243
|
+
<div class="record-form-row">
|
|
244
|
+
<label class="fieldLabel">Name</label>
|
|
245
|
+
<span >{{FormatValue('Name', 0)}}</span>
|
|
246
|
+
</div>
|
|
247
|
+
<div class="record-form-row">
|
|
248
|
+
<label class="fieldLabel">Entity ID</label>
|
|
249
|
+
<span mjFieldLink [record]="record" fieldName="EntityID" >{{FormatValue('EntityID', 0)}}</span>
|
|
250
|
+
</div>
|
|
251
|
+
<div class="record-form-row">
|
|
252
|
+
<label class="fieldLabel">Type ID</label>
|
|
253
|
+
<span mjFieldLink [record]="record" fieldName="TypeID" >{{FormatValue('TypeID', 0)}}</span>
|
|
254
|
+
</div>
|
|
255
|
+
<div class="record-form-row">
|
|
256
|
+
<label class="fieldLabel">Status</label>
|
|
257
|
+
<span >{{FormatValue('Status', 0)}}</span>
|
|
258
|
+
</div>
|
|
259
|
+
<div class="record-form-row">
|
|
260
|
+
<label class="fieldLabel">Template</label>
|
|
261
|
+
<span >{{FormatValue('Template', 0)}}</span>
|
|
262
|
+
</div>
|
|
263
|
+
<div class="record-form-row">
|
|
264
|
+
<label class="fieldLabel">Created At</label>
|
|
265
|
+
<span >{{FormatValue('CreatedAt', 0)}}</span>
|
|
266
|
+
</div>
|
|
267
|
+
<div class="record-form-row">
|
|
268
|
+
<label class="fieldLabel">Updated At</label>
|
|
269
|
+
<span >{{FormatValue('UpdatedAt', 0)}}</span>
|
|
270
|
+
</div>
|
|
271
|
+
<div class="record-form-row">
|
|
272
|
+
<label class="fieldLabel">Entity</label>
|
|
273
|
+
<span >{{FormatValue('Entity', 0)}}</span>
|
|
274
|
+
</div>
|
|
275
|
+
<div class="record-form-row">
|
|
276
|
+
<label class="fieldLabel">Type</label>
|
|
277
|
+
<span >{{FormatValue('Type', 0)}}</span>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
`, 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"] }]
|
|
282
|
+
}], null, { record: [{
|
|
283
|
+
type: Input
|
|
284
|
+
}], EditMode: [{
|
|
285
|
+
type: Input
|
|
286
|
+
}] }); })();
|
|
287
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(EntityDocumentDetailsComponent, { className: "EntityDocumentDetailsComponent", filePath: "src\\lib\\generated\\Entities\\EntityDocument\\sections\\details.component.ts", lineNumber: 92 }); })();
|
|
288
|
+
export function LoadEntityDocumentDetailsComponent() {
|
|
289
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
290
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EntityDocumentRunEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-explorer-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EntityDocumentRunFormComponent extends BaseFormComponent {
|
|
5
|
+
record: EntityDocumentRunEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EntityDocumentRunFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityDocumentRunFormComponent, "gen-entitydocumentrun-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadEntityDocumentRunFormComponent(): void;
|