@memberjunction/ng-core-entity-forms 2.33.0 → 2.34.1
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/ArtifactType/artifacttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ArtifactType/artifacttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ArtifactType/artifacttype.form.component.js +72 -0
- package/dist/lib/generated/Entities/ArtifactType/artifacttype.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ArtifactType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ArtifactType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ArtifactType/sections/details.component.js +107 -0
- package/dist/lib/generated/Entities/ArtifactType/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/Conversation/conversation.form.component.js +13 -3
- package/dist/lib/generated/Entities/Conversation/conversation.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.js +82 -0
- package/dist/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifact/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ConversationArtifact/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifact/sections/details.component.js +147 -0
- package/dist/lib/generated/Entities/ConversationArtifact/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifactPermission/conversationartifactpermission.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ConversationArtifactPermission/conversationartifactpermission.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifactPermission/conversationartifactpermission.form.component.js +61 -0
- package/dist/lib/generated/Entities/ConversationArtifactPermission/conversationartifactpermission.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifactPermission/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ConversationArtifactPermission/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifactPermission/sections/details.component.js +109 -0
- package/dist/lib/generated/Entities/ConversationArtifactPermission/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifactVersion/conversationartifactversion.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/ConversationArtifactVersion/conversationartifactversion.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifactVersion/conversationartifactversion.form.component.js +61 -0
- package/dist/lib/generated/Entities/ConversationArtifactVersion/conversationartifactversion.form.component.js.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifactVersion/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/ConversationArtifactVersion/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/ConversationArtifactVersion/sections/details.component.js +127 -0
- package/dist/lib/generated/Entities/ConversationArtifactVersion/sections/details.component.js.map +1 -0
- package/dist/lib/generated/Entities/EntityField/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/EntityField/sections/details.component.js +4 -40
- package/dist/lib/generated/Entities/EntityField/sections/details.component.js.map +1 -1
- package/dist/lib/generated/generated-forms.module.d.ts +255 -242
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +235 -146
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +11 -11
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ArtifactTypeEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArtifactTypeFormComponent extends BaseFormComponent {
|
|
5
|
+
record: ArtifactTypeEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArtifactTypeFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArtifactTypeFormComponent, "gen-artifacttype-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadArtifactTypeFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=artifacttype.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifacttype.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ArtifactType/artifacttype.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,yBAA0B,SAAQ,iBAAiB;IACrD,MAAM,EAAG,kBAAkB,CAAC;yCAD1B,yBAAyB;2CAAzB,yBAAyB;CAErC;AAED,wBAAgB,6BAA6B,SAE5C"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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-base-forms';
|
|
10
|
+
import { LoadArtifactTypeDetailsComponent } 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 "@memberjunction/ng-user-view-grid";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-base-forms";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-form-toolbar";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-tabstrip";
|
|
18
|
+
import * as i7 from "@memberjunction/ng-container-directives";
|
|
19
|
+
function ArtifactTypeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
21
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
22
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
23
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
24
|
+
i0.ɵɵlistener("TabSelected", function ArtifactTypeFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event)); })("ResizeContainer", function ArtifactTypeFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
25
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
26
|
+
i0.ɵɵtext(5, " Details ");
|
|
27
|
+
i0.ɵɵelementEnd();
|
|
28
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
29
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
32
|
+
i0.ɵɵtext(9, " MJ: Conversation Artifacts ");
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
35
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
36
|
+
i0.ɵɵelementEnd()()();
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
39
|
+
i0.ɵɵadvance(2);
|
|
40
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
41
|
+
i0.ɵɵadvance(5);
|
|
42
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
43
|
+
i0.ɵɵadvance();
|
|
44
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
45
|
+
i0.ɵɵadvance(3);
|
|
46
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Conversation Artifacts", "ArtifactTypeID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Conversation Artifacts"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Conversation Artifacts"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
47
|
+
} }
|
|
48
|
+
let ArtifactTypeFormComponent = class ArtifactTypeFormComponent extends BaseFormComponent {
|
|
49
|
+
};
|
|
50
|
+
ArtifactTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵArtifactTypeFormComponent_BaseFactory; return function ArtifactTypeFormComponent_Factory(t) { return (ɵArtifactTypeFormComponent_BaseFactory || (ɵArtifactTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ArtifactTypeFormComponent)))(t || ArtifactTypeFormComponent); }; })();
|
|
51
|
+
ArtifactTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ArtifactTypeFormComponent, selectors: [["gen-artifacttype-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: Artifact Types", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: Conversation Artifacts", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function ArtifactTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
53
|
+
i0.ɵɵtemplate(1, ArtifactTypeFormComponent_form_1_Template, 12, 9, "form", 2);
|
|
54
|
+
i0.ɵɵelementEnd();
|
|
55
|
+
} if (rf & 2) {
|
|
56
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
57
|
+
i0.ɵɵadvance();
|
|
58
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
59
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.UserViewGridComponent, i4.SectionLoaderComponent, i5.FormToolbarComponent, i6.MJTabStripComponent, i6.MJTabBodyComponent, i6.MJTabComponent, i7.FillContainer], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
60
|
+
ArtifactTypeFormComponent = __decorate([
|
|
61
|
+
RegisterClass(BaseFormComponent, 'MJ: Artifact Types') // Tell MemberJunction about this class
|
|
62
|
+
], ArtifactTypeFormComponent);
|
|
63
|
+
export { ArtifactTypeFormComponent };
|
|
64
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArtifactTypeFormComponent, [{
|
|
65
|
+
type: Component,
|
|
66
|
+
args: [{ selector: 'gen-artifacttype-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: Artifact Types\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: Conversation Artifacts\" [Visible]=\"record.IsSaved\"> \n MJ: Conversation Artifacts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Artifacts','ArtifactTypeID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Artifacts')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Conversation Artifacts')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
67
|
+
}], null, null); })();
|
|
68
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ArtifactTypeFormComponent, { className: "ArtifactTypeFormComponent", filePath: "src/lib/generated/Entities/ArtifactType/artifacttype.form.component.ts", lineNumber: 14 }); })();
|
|
69
|
+
export function LoadArtifactTypeFormComponent() {
|
|
70
|
+
LoadArtifactTypeDetailsComponent();
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=artifacttype.form.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifacttype.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ArtifactType/artifacttype.form.component.ts","../../../../../src/lib/generated/Entities/ArtifactType/artifacttype.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;;ICH3E,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,6MAAe,0BAAmB,KAAC,kMAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAqE;IACjE,4CACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IA7Bc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIQ,cAA0B;IAA1B,+CAA0B;IAK5D,eAAiG;IAIjG,AADA,AADA,AADA,AADA,uHAAiG,yEAChC,gEACT,mCAC7B,yCACM;;ADdtD,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,iBAAiB;;gRAAnD,yBAAyB,SAAzB,yBAAyB;4EAAzB,yBAAyB;QCbtC,8BAAyF;QACrF,6EAAyE;QA+B7E,iBAAM;;QAhCiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,yBAAyB;IANrC,aAAa,CAAC,iBAAiB,EAAE,oBAAoB,CAAC,CAAC,uCAAuC;GAMlF,yBAAyB,CAErC;;iFAFY,yBAAyB;cALrC,SAAS;2BACI,uBAAuB;;kFAIxB,yBAAyB;AAItC,MAAM,UAAU,6BAA6B;IACzC,gCAAgC,EAAE,CAAC;AACvC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ArtifactTypeEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ArtifactTypeDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ArtifactTypeEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArtifactTypeDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ArtifactTypeDetailsComponent, "gen-artifacttype-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadArtifactTypeDetailsComponent(): void;
|
|
11
|
+
//# sourceMappingURL=details.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/ArtifactType/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;;AAEnE,qBAqDa,4BAA6B,SAAQ,wBAAwB;IACpD,MAAM,EAAG,kBAAkB,CAAC;IAC5B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,4BAA4B;2CAA5B,4BAA4B;CAGxC;AAED,wBAAgB,gCAAgC,SAE/C"}
|
|
@@ -0,0 +1,107 @@
|
|
|
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-base-forms';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
import * as i1 from "@angular/common";
|
|
12
|
+
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
|
+
function ArtifactTypeDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
|
+
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
|
+
i0.ɵɵelement(2, "mj-form-field", 2)(3, "mj-form-field", 3)(4, "mj-form-field", 4)(5, "mj-form-field", 5)(6, "mj-form-field", 6)(7, "mj-form-field", 7);
|
|
16
|
+
i0.ɵɵelementEnd()();
|
|
17
|
+
} if (rf & 2) {
|
|
18
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
+
i0.ɵɵadvance(2);
|
|
20
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
21
|
+
i0.ɵɵadvance();
|
|
22
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
23
|
+
i0.ɵɵadvance();
|
|
24
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
25
|
+
i0.ɵɵadvance();
|
|
26
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
27
|
+
i0.ɵɵadvance();
|
|
28
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
29
|
+
i0.ɵɵadvance();
|
|
30
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
31
|
+
} }
|
|
32
|
+
let ArtifactTypeDetailsComponent = class ArtifactTypeDetailsComponent extends BaseFormSectionComponent {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
this.EditMode = false;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
ArtifactTypeDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵArtifactTypeDetailsComponent_BaseFactory; return function ArtifactTypeDetailsComponent_Factory(t) { return (ɵArtifactTypeDetailsComponent_BaseFactory || (ɵArtifactTypeDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ArtifactTypeDetailsComponent)))(t || ArtifactTypeDetailsComponent); }; })();
|
|
39
|
+
ArtifactTypeDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ArtifactTypeDetailsComponent, selectors: [["gen-artifacttype-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "ContentType", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "IsEnabled", "Type", "checkbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function ArtifactTypeDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵtemplate(0, ArtifactTypeDetailsComponent_div_0_Template, 8, 18, "div", 0);
|
|
41
|
+
} if (rf & 2) {
|
|
42
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
43
|
+
} }, dependencies: [i1.NgIf, i2.MJFormField], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
44
|
+
ArtifactTypeDetailsComponent = __decorate([
|
|
45
|
+
RegisterClass(BaseFormSectionComponent, 'MJ: Artifact Types.details') // Tell MemberJunction about this class
|
|
46
|
+
], ArtifactTypeDetailsComponent);
|
|
47
|
+
export { ArtifactTypeDetailsComponent };
|
|
48
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArtifactTypeDetailsComponent, [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: 'gen-artifacttype-form-details', template: `<div *ngIf="this.record">
|
|
51
|
+
<div class="record-form">
|
|
52
|
+
<mj-form-field
|
|
53
|
+
[record]="record"
|
|
54
|
+
[ShowLabel]="true"
|
|
55
|
+
FieldName="Name"
|
|
56
|
+
Type="textbox"
|
|
57
|
+
[EditMode]="EditMode"
|
|
58
|
+
></mj-form-field>
|
|
59
|
+
<mj-form-field
|
|
60
|
+
[record]="record"
|
|
61
|
+
[ShowLabel]="true"
|
|
62
|
+
FieldName="Description"
|
|
63
|
+
Type="textarea"
|
|
64
|
+
[EditMode]="EditMode"
|
|
65
|
+
></mj-form-field>
|
|
66
|
+
<mj-form-field
|
|
67
|
+
[record]="record"
|
|
68
|
+
[ShowLabel]="true"
|
|
69
|
+
FieldName="ContentType"
|
|
70
|
+
Type="textbox"
|
|
71
|
+
[EditMode]="EditMode"
|
|
72
|
+
></mj-form-field>
|
|
73
|
+
<mj-form-field
|
|
74
|
+
[record]="record"
|
|
75
|
+
[ShowLabel]="true"
|
|
76
|
+
FieldName="IsEnabled"
|
|
77
|
+
Type="checkbox"
|
|
78
|
+
[EditMode]="EditMode"
|
|
79
|
+
></mj-form-field>
|
|
80
|
+
<mj-form-field
|
|
81
|
+
[record]="record"
|
|
82
|
+
[ShowLabel]="true"
|
|
83
|
+
FieldName="__mj_CreatedAt"
|
|
84
|
+
Type="textbox"
|
|
85
|
+
[EditMode]="EditMode"
|
|
86
|
+
></mj-form-field>
|
|
87
|
+
<mj-form-field
|
|
88
|
+
[record]="record"
|
|
89
|
+
[ShowLabel]="true"
|
|
90
|
+
FieldName="__mj_UpdatedAt"
|
|
91
|
+
Type="textbox"
|
|
92
|
+
[EditMode]="EditMode"
|
|
93
|
+
></mj-form-field>
|
|
94
|
+
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
98
|
+
}], null, { record: [{
|
|
99
|
+
type: Input
|
|
100
|
+
}], EditMode: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}] }); })();
|
|
103
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ArtifactTypeDetailsComponent, { className: "ArtifactTypeDetailsComponent", filePath: "src/lib/generated/Entities/ArtifactType/sections/details.component.ts", lineNumber: 59 }); })();
|
|
104
|
+
export function LoadArtifactTypeDetailsComponent() {
|
|
105
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=details.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/ArtifactType/sections/details.component.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;;;;IAQrE,AADW,2BAAyB,aACX;IAoCrB,AAPA,AAPA,AAPA,AAPA,AAPA,mCAMiB,uBAOA,uBAOA,uBAOA,uBAOA,uBAOA;IAGzB,AADI,iBAAM,EACJ;;;IA3CM,eAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;IAGrB,cAAiB;IAIjB,AAHA,AADA,sCAAiB,mBACC,6BAGG;;AAO1B,IAAM,4BAA4B,GAAlC,MAAM,4BAA6B,SAAQ,wBAAwB;IAAnE;;QAEe,aAAQ,GAAY,KAAK,CAAC;KAC/C;;+RAHY,4BAA4B,SAA5B,4BAA4B;+EAA5B,4BAA4B;QAjD1B,8EAAyB;;QAAnB,iCAAiB;;AAiDzB,4BAA4B;IArDxC,aAAa,CAAC,wBAAwB,EAAE,4BAA4B,CAAC,CAAC,wCAAwC;GAqDlG,4BAA4B,CAGxC;;iFAHY,4BAA4B;cApDxC,SAAS;2BACI,+BAA+B,YAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA+CT;gBAGiB,MAAM;kBAAvB,KAAK;YACY,QAAQ;kBAAzB,KAAK;;kFAFG,4BAA4B;AAKzC,MAAM,UAAU,gCAAgC;IAC5C,2GAA2G;AAC/G,CAAC"}
|
|
@@ -40,6 +40,12 @@ function ConversationFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
40
40
|
i0.ɵɵelementEnd();
|
|
41
41
|
i0.ɵɵelementStart(15, "mj-tab-body");
|
|
42
42
|
i0.ɵɵelement(16, "mj-user-view-grid", 9);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
i0.ɵɵelementStart(17, "mj-tab", 12);
|
|
45
|
+
i0.ɵɵtext(18, " MJ: Conversation Artifacts ");
|
|
46
|
+
i0.ɵɵelementEnd();
|
|
47
|
+
i0.ɵɵelementStart(19, "mj-tab-body");
|
|
48
|
+
i0.ɵɵelement(20, "mj-user-view-grid", 9);
|
|
43
49
|
i0.ɵɵelementEnd()()();
|
|
44
50
|
} if (rf & 2) {
|
|
45
51
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -55,13 +61,17 @@ function ConversationFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
55
61
|
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
56
62
|
i0.ɵɵadvance(4);
|
|
57
63
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Reports", "ConversationID"))("NewRecordValues", ctx_r1.NewRecordValues("Reports"))("AllowLoad", ctx_r1.IsCurrentTab("Reports"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
64
|
+
i0.ɵɵadvance();
|
|
65
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
66
|
+
i0.ɵɵadvance(3);
|
|
67
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Conversation Artifacts", "ConversationID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Conversation Artifacts"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Conversation Artifacts"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
58
68
|
} }
|
|
59
69
|
let ConversationFormComponent = class ConversationFormComponent extends BaseFormComponent {
|
|
60
70
|
};
|
|
61
71
|
ConversationFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵConversationFormComponent_BaseFactory; return function ConversationFormComponent_Factory(t) { return (ɵConversationFormComponent_BaseFactory || (ɵConversationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ConversationFormComponent)))(t || ConversationFormComponent); }; })();
|
|
62
|
-
ConversationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationFormComponent, selectors: [["gen-conversation-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "Conversations", "Section", "details", 3, "record", "EditMode"], ["Name", "Conversation Details", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Reports", 3, "Visible"], [1, "fa-solid", "fa-chart-line", "tab-header-icon"]], template: function ConversationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
72
|
+
ConversationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationFormComponent, selectors: [["gen-conversation-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "Conversations", "Section", "details", 3, "record", "EditMode"], ["Name", "Conversation Details", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "Reports", 3, "Visible"], [1, "fa-solid", "fa-chart-line", "tab-header-icon"], ["Name", "MJ: Conversation Artifacts", 3, "Visible"]], template: function ConversationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
63
73
|
i0.ɵɵelementStart(0, "div", 1);
|
|
64
|
-
i0.ɵɵtemplate(1, ConversationFormComponent_form_1_Template,
|
|
74
|
+
i0.ɵɵtemplate(1, ConversationFormComponent_form_1_Template, 21, 21, "form", 2);
|
|
65
75
|
i0.ɵɵelementEnd();
|
|
66
76
|
} if (rf & 2) {
|
|
67
77
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -74,7 +84,7 @@ ConversationFormComponent = __decorate([
|
|
|
74
84
|
export { ConversationFormComponent };
|
|
75
85
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConversationFormComponent, [{
|
|
76
86
|
type: Component,
|
|
77
|
-
args: [{ selector: 'gen-conversation-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Conversations\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Conversation Details\" [Visible]=\"record.IsSaved\"> \n Conversation Details\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Conversation Details','ConversationID')\" \n [NewRecordValues]=\"NewRecordValues('Conversation Details')\"\n [AllowLoad]=\"IsCurrentTab('Conversation Details')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Reports\" [Visible]=\"record.IsSaved\"> \n <span class=\"fa-solid fa-chart-line tab-header-icon\"></span>Reports\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Reports','ConversationID')\" \n [NewRecordValues]=\"NewRecordValues('Reports')\"\n [AllowLoad]=\"IsCurrentTab('Reports')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
87
|
+
args: [{ selector: 'gen-conversation-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Conversations\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Conversation Details\" [Visible]=\"record.IsSaved\"> \n Conversation Details\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Conversation Details','ConversationID')\" \n [NewRecordValues]=\"NewRecordValues('Conversation Details')\"\n [AllowLoad]=\"IsCurrentTab('Conversation Details')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"Reports\" [Visible]=\"record.IsSaved\"> \n <span class=\"fa-solid fa-chart-line tab-header-icon\"></span>Reports\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Reports','ConversationID')\" \n [NewRecordValues]=\"NewRecordValues('Reports')\"\n [AllowLoad]=\"IsCurrentTab('Reports')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: Conversation Artifacts\" [Visible]=\"record.IsSaved\"> \n MJ: Conversation Artifacts\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Artifacts','ConversationID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Artifacts')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Conversation Artifacts')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
78
88
|
}], null, null); })();
|
|
79
89
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConversationFormComponent, { className: "ConversationFormComponent", filePath: "src/lib/generated/Entities/Conversation/conversation.form.component.ts", lineNumber: 14 }); })();
|
|
80
90
|
export function LoadConversationFormComponent() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Conversation/conversation.form.component.ts","../../../../../src/lib/generated/Entities/Conversation/conversation.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;;ICH3E,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,6MAAe,0BAAmB,KAAC,kMAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAA+D;IAC3D,sCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAkD;IAC9C,4BAA4D;IAAA,yBAChE;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;
|
|
1
|
+
{"version":3,"file":"conversation.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Conversation/conversation.form.component.ts","../../../../../src/lib/generated/Entities/Conversation/conversation.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gCAAgC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;;ICH3E,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,6MAAe,0BAAmB,KAAC,kMAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAA+D;IAC3D,sCACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAkD;IAC9C,4BAA4D;IAAA,yBAChE;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAAqE;IACjE,6CACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IAvDc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAIE,cAA0B;IAA1B,+CAA0B;IAKtD,eAA2F;IAI3F,AADA,AADA,AADA,AADA,iHAA2F,mEAChC,0DACT,mCACvB,yCACM;IAIlB,cAA0B;IAA1B,+CAA0B;IAKzC,eAA8E;IAI9E,AADA,AADA,AADA,AADA,oGAA8E,sDAChC,6CACT,mCACV,yCACM;IAIC,cAA0B;IAA1B,+CAA0B;IAK5D,eAAiG;IAIjG,AADA,AADA,AADA,AADA,uHAAiG,yEAChC,gEACT,mCAC7B,yCACM;;ADxCtD,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,iBAAiB;;gRAAnD,yBAAyB,SAAzB,yBAAyB;4EAAzB,yBAAyB;QCbtC,8BAAyF;QACrF,8EAAyE;QAyD7E,iBAAM;;QA1DiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,yBAAyB;IANrC,aAAa,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,uCAAuC;GAM7E,yBAAyB,CAErC;;iFAFY,yBAAyB;cALrC,SAAS;2BACI,uBAAuB;;kFAIxB,yBAAyB;AAItC,MAAM,UAAU,6BAA6B;IACzC,gCAAgC,EAAE,CAAC;AACvC,CAAC"}
|
package/dist/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ConversationArtifactEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ConversationArtifactFormComponent extends BaseFormComponent {
|
|
5
|
+
record: ConversationArtifactEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationArtifactFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationArtifactFormComponent, "gen-conversationartifact-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadConversationArtifactFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=conversationartifact.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversationartifact.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAIlE,qBAMa,iCAAkC,SAAQ,iBAAiB;IAC7D,MAAM,EAAG,0BAA0B,CAAC;yCADlC,iCAAiC;2CAAjC,iCAAiC;CAE7C;AAED,wBAAgB,qCAAqC,SAEpD"}
|
package/dist/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
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-base-forms';
|
|
10
|
+
import { LoadConversationArtifactDetailsComponent } 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 "@memberjunction/ng-user-view-grid";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-base-forms";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-form-toolbar";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-tabstrip";
|
|
18
|
+
import * as i7 from "@memberjunction/ng-container-directives";
|
|
19
|
+
function ConversationArtifactFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
20
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
21
|
+
i0.ɵɵelementStart(0, "form", 3, 0);
|
|
22
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 4);
|
|
23
|
+
i0.ɵɵelementStart(3, "mj-tabstrip", 5);
|
|
24
|
+
i0.ɵɵlistener("TabSelected", function ConversationArtifactFormComponent_form_1_Template_mj_tabstrip_TabSelected_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event)); })("ResizeContainer", function ConversationArtifactFormComponent_form_1_Template_mj_tabstrip_ResizeContainer_3_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.InvokeManualResize()); });
|
|
25
|
+
i0.ɵɵelementStart(4, "mj-tab", 6);
|
|
26
|
+
i0.ɵɵtext(5, " Details ");
|
|
27
|
+
i0.ɵɵelementEnd();
|
|
28
|
+
i0.ɵɵelementStart(6, "mj-tab-body");
|
|
29
|
+
i0.ɵɵelement(7, "mj-form-section", 7);
|
|
30
|
+
i0.ɵɵelementEnd();
|
|
31
|
+
i0.ɵɵelementStart(8, "mj-tab", 8);
|
|
32
|
+
i0.ɵɵtext(9, " MJ: Conversation Artifact Permissions ");
|
|
33
|
+
i0.ɵɵelementEnd();
|
|
34
|
+
i0.ɵɵelementStart(10, "mj-tab-body");
|
|
35
|
+
i0.ɵɵelement(11, "mj-user-view-grid", 9);
|
|
36
|
+
i0.ɵɵelementEnd();
|
|
37
|
+
i0.ɵɵelementStart(12, "mj-tab", 10);
|
|
38
|
+
i0.ɵɵtext(13, " MJ: Conversation Artifact Versions ");
|
|
39
|
+
i0.ɵɵelementEnd();
|
|
40
|
+
i0.ɵɵelementStart(14, "mj-tab-body");
|
|
41
|
+
i0.ɵɵelement(15, "mj-user-view-grid", 9);
|
|
42
|
+
i0.ɵɵelementEnd()()();
|
|
43
|
+
} if (rf & 2) {
|
|
44
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
45
|
+
i0.ɵɵadvance(2);
|
|
46
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
47
|
+
i0.ɵɵadvance(5);
|
|
48
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
49
|
+
i0.ɵɵadvance();
|
|
50
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
51
|
+
i0.ɵɵadvance(3);
|
|
52
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Conversation Artifact Permissions", "ConversationArtifactID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Conversation Artifact Permissions"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Conversation Artifact Permissions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
53
|
+
i0.ɵɵadvance();
|
|
54
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved);
|
|
55
|
+
i0.ɵɵadvance(3);
|
|
56
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ: Conversation Artifact Versions", "ConversationArtifactID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ: Conversation Artifact Versions"))("AllowLoad", ctx_r1.IsCurrentTab("MJ: Conversation Artifact Versions"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
57
|
+
} }
|
|
58
|
+
let ConversationArtifactFormComponent = class ConversationArtifactFormComponent extends BaseFormComponent {
|
|
59
|
+
};
|
|
60
|
+
ConversationArtifactFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵConversationArtifactFormComponent_BaseFactory; return function ConversationArtifactFormComponent_Factory(t) { return (ɵConversationArtifactFormComponent_BaseFactory || (ɵConversationArtifactFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(ConversationArtifactFormComponent)))(t || ConversationArtifactFormComponent); }; })();
|
|
61
|
+
ConversationArtifactFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConversationArtifactFormComponent, selectors: [["gen-conversationartifact-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], ["mjFillContainer", "", 3, "TabSelected", "ResizeContainer"], ["Name", "Details"], ["Entity", "MJ: Conversation Artifacts", "Section", "details", 3, "record", "EditMode"], ["Name", "MJ: Conversation Artifact Permissions", 3, "Visible"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"], ["Name", "MJ: Conversation Artifact Versions", 3, "Visible"]], template: function ConversationArtifactFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
62
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
63
|
+
i0.ɵɵtemplate(1, ConversationArtifactFormComponent_form_1_Template, 16, 15, "form", 2);
|
|
64
|
+
i0.ɵɵelementEnd();
|
|
65
|
+
} if (rf & 2) {
|
|
66
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
67
|
+
i0.ɵɵadvance();
|
|
68
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
69
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.UserViewGridComponent, i4.SectionLoaderComponent, i5.FormToolbarComponent, i6.MJTabStripComponent, i6.MJTabBodyComponent, i6.MJTabComponent, i7.FillContainer], styles: [".k-pane[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n} \n\n\na[_ngcontent-%COMP%] {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group[_ngcontent-%COMP%] {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.record-form[_ngcontent-%COMP%] h2[_ngcontent-%COMP%] {\n margin-bottom: 10px;\n}\n\n.k-splitter[_ngcontent-%COMP%] {\n border-width: 0px;\n}\n\n.record-form-row[_ngcontent-%COMP%] {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form[_ngcontent-%COMP%] .record-form-row[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row[_ngcontent-%COMP%] {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row[_ngcontent-%COMP%] label[_ngcontent-%COMP%] {\n width: 240px;\n margin-bottom: 0;\n }\n}"] });
|
|
70
|
+
ConversationArtifactFormComponent = __decorate([
|
|
71
|
+
RegisterClass(BaseFormComponent, 'MJ: Conversation Artifacts') // Tell MemberJunction about this class
|
|
72
|
+
], ConversationArtifactFormComponent);
|
|
73
|
+
export { ConversationArtifactFormComponent };
|
|
74
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConversationArtifactFormComponent, [{
|
|
75
|
+
type: Component,
|
|
76
|
+
args: [{ selector: 'gen-conversationartifact-form', template: "<div class=\"record-form-container\" mjFillContainer [bottomMargin]=\"20\" [rightMargin]=\"5\">\n <form *ngIf=\"record\" class=\"record-form\" #form=\"ngForm\" mjFillContainer>\n <mj-form-toolbar [form]=\"this\"></mj-form-toolbar>\n\n <mj-tabstrip (TabSelected)=\"onTabSelect($event)\" mjFillContainer (ResizeContainer)=\"InvokeManualResize()\">\n \n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"MJ: Conversation Artifacts\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"MJ: Conversation Artifact Permissions\" [Visible]=\"record.IsSaved\"> \n MJ: Conversation Artifact Permissions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Artifact Permissions','ConversationArtifactID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Artifact Permissions')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Conversation Artifact Permissions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n\n <mj-tab Name=\"MJ: Conversation Artifact Versions\" [Visible]=\"record.IsSaved\"> \n MJ: Conversation Artifact Versions\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ: Conversation Artifact Versions','ConversationArtifactID')\" \n [NewRecordValues]=\"NewRecordValues('MJ: Conversation Artifact Versions')\"\n [AllowLoad]=\"IsCurrentTab('MJ: Conversation Artifact Versions')\" \n [EditMode]=\"GridEditMode()\" \n [BottomMargin]=\"GridBottomMargin\">\n </mj-user-view-grid> \n </mj-tab-body>\n </mj-tabstrip>\n </form>\n</div>\n ", styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\n}\n\n.tab-header-icon {\n margin-right: 5px;\n}\n\n.record-form {\n display: block;\n flex-direction: column;\n background-color: #F5F6FA;\n padding: 10px;\n}\n\n.record-form-group {\n margin-top: 0px;\n background-color: #F5F6FA;\n}\n\nbutton {\n margin-right: 5px;\n}\n\n.record-form h2 {\n margin-bottom: 10px;\n}\n\n.k-splitter {\n border-width: 0px;\n}\n\n.record-form-row {\n display: grid;\n grid-template-columns: auto 1fr;\n align-items: start;\n gap: 10px;\n margin-bottom: 12px;\n padding-top: 5px;\n padding-bottom: 5px;\n}\n\n\n/* .record-form .record-form-row:nth-child(odd) {\n background-color: #f2f2f2; \n} */\n\n/* \n.record-form .record-form-row:nth-child(even) {\n background-color: #ffffff; \n} */\n\n.record-form .record-form-row > :first-child {\n font-weight: bold;\n padding-right: 10px;\n} \n\n.record-form .record-form-row > span {\n white-space: pre-line;\n max-height: 300px;\n overflow: auto;\n}\n\n \n\n@media (min-width: 768px) {\n .record-form-row {\n flex-direction: row;\n align-items: center;\n }\n\n .record-form-row label {\n width: 240px;\n margin-bottom: 0;\n }\n}\n"] }]
|
|
77
|
+
}], null, null); })();
|
|
78
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConversationArtifactFormComponent, { className: "ConversationArtifactFormComponent", filePath: "src/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.ts", lineNumber: 14 }); })();
|
|
79
|
+
export function LoadConversationArtifactFormComponent() {
|
|
80
|
+
LoadConversationArtifactDetailsComponent();
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=conversationartifact.form.component.js.map
|
package/dist/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversationartifact.form.component.js","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.ts","../../../../../src/lib/generated/Entities/ConversationArtifact/conversationartifact.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,wCAAwC,EAAE,MAAM,8BAA8B,CAAA;;;;;;;;;;;ICHnF,kCAAyE;IACrE,qCAAiD;IAEzC,sCAA0G;IAAzC,AAApD,qNAAe,0BAAmB,KAAC,0MAAoC,2BAAoB,KAAC;IAErG,iCAAuB;IACnB,yBACJ;IAAA,iBAAS;IACT,mCAAa;IACT,qCAKkB;IACtB,iBAAc;IAEd,iCAAgF;IAC5E,uDACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IACxB,iBAAc;IAEd,mCAA6E;IACzE,qDACJ;IAAA,iBAAS;IACT,oCAAa;IACT,wCAMoB;IAGxC,AADY,AADI,iBAAc,EACJ,EACnB;;;IA1Cc,eAAa;IAAb,6BAAa;IAWV,eAAiB;IACjB,AADA,sCAAiB,6BACS;IAImB,cAA0B;IAA1B,+CAA0B;IAKvE,eAAoH;IAIpH,AADA,AADA,AADA,AADA,0IAAoH,oFACxC,2EACT,mCACxC,yCACM;IAIS,cAA0B;IAA1B,+CAA0B;IAKpE,eAAiH;IAIjH,AADA,AADA,AADA,AADA,uIAAiH,iFACxC,wEACT,mCACrC,yCACM;;AD3BtD,IAAM,iCAAiC,GAAvC,MAAM,iCAAkC,SAAQ,iBAAiB;;wTAA3D,iCAAiC,SAAjC,iCAAiC;oFAAjC,iCAAiC;QCb9C,8BAAyF;QACrF,sFAAyE;QA4C7E,iBAAM;;QA7CiE,AAApB,iCAAmB,kBAAkB;QAC7E,cAAY;QAAZ,iCAAY;;ADYV,iCAAiC;IAN7C,aAAa,CAAC,iBAAiB,EAAE,4BAA4B,CAAC,CAAC,uCAAuC;GAM1F,iCAAiC,CAE7C;;iFAFY,iCAAiC;cAL7C,SAAS;2BACI,+BAA+B;;kFAIhC,iCAAiC;AAI9C,MAAM,UAAU,qCAAqC;IACjD,wCAAwC,EAAE,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { ConversationArtifactEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ConversationArtifactDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: ConversationArtifactEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConversationArtifactDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConversationArtifactDetailsComponent, "gen-conversationartifact-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadConversationArtifactDetailsComponent(): void;
|
|
11
|
+
//# sourceMappingURL=details.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/ConversationArtifact/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;;AAE3E,qBAqFa,oCAAqC,SAAQ,wBAAwB;IAC5D,MAAM,EAAG,0BAA0B,CAAC;IACpC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,oCAAoC;2CAApC,oCAAoC;CAGhD;AAED,wBAAgB,wCAAwC,SAEvD"}
|