@memberjunction/ng-core-entity-forms 1.5.2 → 1.5.3
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/custom/Entities/entities-form.component.js +38 -38
- package/dist/lib/generated/Entities/AIAction/aiaction.form.component.js +14 -14
- package/dist/lib/generated/Entities/AIModel/aimodel.form.component.js +20 -20
- package/dist/lib/generated/Entities/AIModelAction/aimodelaction.form.component.js +10 -10
- package/dist/lib/generated/Entities/AIModelType/aimodeltype.form.component.js +12 -12
- package/dist/lib/generated/Entities/Action/action.form.component.js +30 -30
- package/dist/lib/generated/Entities/Action/sections/code.component.js +2 -2
- package/dist/lib/generated/Entities/ActionAuthorization/actionauthorization.form.component.js +10 -10
- package/dist/lib/generated/Entities/ActionCategory/actioncategory.form.component.js +14 -14
- package/dist/lib/generated/Entities/ActionContext/actioncontext.form.component.js +10 -10
- package/dist/lib/generated/Entities/ActionContextType/actioncontexttype.form.component.js +12 -12
- package/dist/lib/generated/Entities/ActionExecutionLog/actionexecutionlog.form.component.js +10 -10
- package/dist/lib/generated/Entities/ActionFilter/actionfilter.form.component.js +12 -12
- package/dist/lib/generated/Entities/ActionLibrary/actionlibrary.form.component.js +10 -10
- package/dist/lib/generated/Entities/ActionParam/actionparam.form.component.js +10 -10
- package/dist/lib/generated/Entities/ActionResultCode/actionresultcode.form.component.js +10 -10
- package/dist/lib/generated/Entities/Application/application.form.component.js +16 -16
- package/dist/lib/generated/Entities/ApplicationEntity/applicationentity.form.component.js +10 -10
- package/dist/lib/generated/Entities/ApplicationSetting/applicationsetting.form.component.js +10 -10
- package/dist/lib/generated/Entities/AuditLog/auditlog.form.component.js +10 -10
- package/dist/lib/generated/Entities/AuditLogType/auditlogtype.form.component.js +14 -14
- package/dist/lib/generated/Entities/Authorization/authorization.form.component.js +20 -20
- package/dist/lib/generated/Entities/AuthorizationRole/authorizationrole.form.component.js +10 -10
- package/dist/lib/generated/Entities/CommunicationBaseMessageType/communicationbasemessagetype.form.component.js +24 -13
- package/dist/lib/generated/Entities/CommunicationLog/communicationlog.form.component.js +10 -10
- package/dist/lib/generated/Entities/CommunicationProvider/communicationprovider.form.component.js +14 -14
- package/dist/lib/generated/Entities/CommunicationProviderMessageType/communicationprovidermessagetype.form.component.js +12 -12
- package/dist/lib/generated/Entities/CommunicationRun/communicationrun.form.component.js +12 -12
- package/dist/lib/generated/Entities/CommunicationRun/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/CommunicationRun/sections/details.component.js +22 -4
- package/dist/lib/generated/Entities/Company/company.form.component.js +16 -16
- package/dist/lib/generated/Entities/CompanyIntegration/companyintegration.form.component.js +26 -26
- package/dist/lib/generated/Entities/CompanyIntegrationRecordMap/companyintegrationrecordmap.form.component.js +10 -10
- package/dist/lib/generated/Entities/CompanyIntegrationRun/companyintegrationrun.form.component.js +16 -16
- package/dist/lib/generated/Entities/CompanyIntegrationRunAPILog/companyintegrationrunapilog.form.component.js +10 -10
- package/dist/lib/generated/Entities/CompanyIntegrationRunDetail/companyintegrationrundetail.form.component.js +12 -12
- package/dist/lib/generated/Entities/Conversation/conversation.form.component.js +14 -14
- package/dist/lib/generated/Entities/ConversationDetail/conversationdetail.form.component.js +12 -12
- package/dist/lib/generated/Entities/Dashboard/dashboard.form.component.js +10 -10
- package/dist/lib/generated/Entities/DashboardCategory/dashboardcategory.form.component.js +14 -14
- package/dist/lib/generated/Entities/DataContext/datacontext.form.component.js +14 -14
- package/dist/lib/generated/Entities/DataContextItem/datacontextitem.form.component.js +10 -10
- package/dist/lib/generated/Entities/Dataset/dataset.form.component.js +12 -12
- package/dist/lib/generated/Entities/DatasetItem/datasetitem.form.component.js +10 -10
- package/dist/lib/generated/Entities/DuplicateRun/duplicaterun.form.component.js +12 -12
- package/dist/lib/generated/Entities/DuplicateRunDetail/duplicaterundetail.form.component.js +12 -12
- package/dist/lib/generated/Entities/DuplicateRunDetailMatch/duplicaterundetailmatch.form.component.js +10 -10
- package/dist/lib/generated/Entities/Employee/employee.form.component.js +24 -24
- package/dist/lib/generated/Entities/EmployeeCompanyIntegration/employeecompanyintegration.form.component.js +10 -10
- package/dist/lib/generated/Entities/EmployeeRole/employeerole.form.component.js +10 -10
- package/dist/lib/generated/Entities/EmployeeSkill/employeeskill.form.component.js +10 -10
- package/dist/lib/generated/Entities/Entity/entity.form.component.js +128 -84
- package/dist/lib/generated/Entities/Entity/sections/details.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/Entity/sections/details.component.js +13 -4
- package/dist/lib/generated/Entities/EntityAIAction/entityaiaction.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntityAction/entityaction.form.component.js +14 -14
- package/dist/lib/generated/Entities/EntityActionFilter/entityactionfilter.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntityActionInvocation/entityactioninvocation.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntityActionInvocationType/entityactioninvocationtype.form.component.js +12 -12
- package/dist/lib/generated/Entities/EntityBehavior/entitybehavior.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntityBehaviorType/entitybehaviortype.form.component.js +12 -12
- package/dist/lib/generated/Entities/EntityCommunicationField/entitycommunicationfield.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityCommunicationField/entitycommunicationfield.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/EntityCommunicationField/entitycommunicationfield.form.component.js +60 -0
- package/dist/lib/generated/Entities/EntityCommunicationField/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/EntityCommunicationField/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/EntityCommunicationField/sections/details.component.js +98 -0
- package/dist/lib/generated/Entities/EntityCommunicationMessageType/entitycommunicationmessagetype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/EntityCommunicationMessageType/entitycommunicationmessagetype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/EntityCommunicationMessageType/entitycommunicationmessagetype.form.component.js +72 -0
- package/dist/lib/generated/Entities/EntityCommunicationMessageType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/EntityCommunicationMessageType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/EntityCommunicationMessageType/sections/details.component.js +117 -0
- package/dist/lib/generated/Entities/EntityDocument/entitydocument.form.component.js +14 -14
- package/dist/lib/generated/Entities/EntityDocumentRun/entitydocumentrun.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntityDocumentSetting/entitydocumentsetting.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntityDocumentType/entitydocumenttype.form.component.js +12 -12
- package/dist/lib/generated/Entities/EntityField/entityfield.form.component.js +12 -12
- package/dist/lib/generated/Entities/EntityFieldValue/entityfieldvalue.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntityPermission/entitypermission.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntityRecordDocument/entityrecorddocument.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntityRelationship/entityrelationship.form.component.js +10 -10
- package/dist/lib/generated/Entities/EntitySetting/entitysetting.form.component.js +10 -10
- package/dist/lib/generated/Entities/ErrorLog/errorlog.form.component.js +10 -10
- package/dist/lib/generated/Entities/File/file.form.component.js +12 -12
- package/dist/lib/generated/Entities/FileCategory/filecategory.form.component.js +14 -14
- package/dist/lib/generated/Entities/FileEntityRecordLink/fileentityrecordlink.form.component.js +10 -10
- package/dist/lib/generated/Entities/FileStorageProvider/filestorageprovider.form.component.js +12 -12
- package/dist/lib/generated/Entities/Integration/integration.form.component.js +14 -14
- package/dist/lib/generated/Entities/IntegrationURLFormat/integrationurlformat.form.component.js +10 -10
- package/dist/lib/generated/Entities/Library/library.form.component.js +12 -12
- package/dist/lib/generated/Entities/Library/sections/details.component.js +2 -2
- package/dist/lib/generated/Entities/List/list.form.component.js +14 -14
- package/dist/lib/generated/Entities/ListCategory/listcategory.form.component.js +10 -10
- package/dist/lib/generated/Entities/ListDetail/listdetail.form.component.js +10 -10
- package/dist/lib/generated/Entities/OutputDeliveryType/outputdeliverytype.form.component.js +12 -12
- package/dist/lib/generated/Entities/OutputFormatType/outputformattype.form.component.js +12 -12
- package/dist/lib/generated/Entities/OutputTriggerType/outputtriggertype.form.component.js +12 -12
- package/dist/lib/generated/Entities/Query/query.form.component.js +16 -16
- package/dist/lib/generated/Entities/QueryCategory/querycategory.form.component.js +14 -14
- package/dist/lib/generated/Entities/QueryField/queryfield.form.component.js +10 -10
- package/dist/lib/generated/Entities/QueryPermission/querypermission.form.component.js +10 -10
- package/dist/lib/generated/Entities/Queue/queue.form.component.js +12 -12
- package/dist/lib/generated/Entities/QueueTask/queuetask.form.component.js +10 -10
- package/dist/lib/generated/Entities/QueueType/queuetype.form.component.js +12 -12
- package/dist/lib/generated/Entities/Recommendation/recommendation.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/Recommendation/recommendation.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/Recommendation/recommendation.form.component.js +72 -0
- package/dist/lib/generated/Entities/Recommendation/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/Recommendation/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/Recommendation/sections/details.component.js +108 -0
- package/dist/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.js +60 -0
- package/dist/lib/generated/Entities/RecommendationItem/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/RecommendationItem/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/{CommunicationTemplate → RecommendationItem}/sections/details.component.js +24 -23
- package/dist/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.js +72 -0
- package/dist/lib/generated/Entities/RecommendationProvider/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/RecommendationProvider/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/RecommendationProvider/sections/details.component.js +88 -0
- package/dist/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.js +72 -0
- package/dist/lib/generated/Entities/RecommendationRun/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/RecommendationRun/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/RecommendationRun/sections/details.component.js +144 -0
- package/dist/lib/generated/Entities/RecordChange/recordchange.form.component.js +10 -10
- package/dist/lib/generated/Entities/RecordMergeDeletionLog/recordmergedeletionlog.form.component.js +10 -10
- package/dist/lib/generated/Entities/RecordMergeLog/recordmergelog.form.component.js +14 -14
- package/dist/lib/generated/Entities/Report/report.form.component.js +12 -12
- package/dist/lib/generated/Entities/ReportCategory/reportcategory.form.component.js +14 -14
- package/dist/lib/generated/Entities/ReportSnapshot/reportsnapshot.form.component.js +10 -10
- package/dist/lib/generated/Entities/ResourceType/resourcetype.form.component.js +12 -12
- package/dist/lib/generated/Entities/Role/role.form.component.js +20 -20
- package/dist/lib/generated/Entities/RowLevelSecurityFilter/rowlevelsecurityfilter.form.component.js +12 -12
- package/dist/lib/generated/Entities/SchemaInfo/schemainfo.form.component.js +10 -10
- package/dist/lib/generated/Entities/Skill/skill.form.component.js +14 -14
- package/dist/lib/generated/Entities/Tag/tag.form.component.js +14 -14
- package/dist/lib/generated/Entities/TaggedItem/taggeditem.form.component.js +10 -10
- package/dist/lib/generated/Entities/Template/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/Template/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/Template/sections/details.component.js +162 -0
- package/dist/lib/generated/Entities/Template/template.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/Template/template.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/Template/template.form.component.js +83 -0
- package/dist/lib/generated/Entities/TemplateCategory/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/TemplateCategory/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/TemplateCategory/sections/details.component.js +126 -0
- package/dist/lib/generated/Entities/TemplateCategory/templatecategory.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/TemplateCategory/templatecategory.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/TemplateCategory/templatecategory.form.component.js +83 -0
- package/dist/lib/generated/Entities/TemplateContent/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/TemplateContent/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/TemplateContent/sections/details.component.js +135 -0
- package/dist/lib/generated/Entities/TemplateContent/templatecontent.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/TemplateContent/templatecontent.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/TemplateContent/templatecontent.form.component.js +60 -0
- package/dist/lib/generated/Entities/TemplateContentType/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/TemplateContentType/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/TemplateContentType/sections/details.component.js +88 -0
- package/dist/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/TemplateContentType/templatecontenttype.form.component.js +72 -0
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.d.ts +11 -0
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/TemplateParam/sections/details.component.js +162 -0
- package/dist/lib/generated/Entities/TemplateParam/templateparam.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/TemplateParam/templateparam.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/TemplateParam/templateparam.form.component.js +60 -0
- package/dist/lib/generated/Entities/User/user.form.component.js +96 -63
- package/dist/lib/generated/Entities/UserApplication/userapplication.form.component.js +12 -12
- package/dist/lib/generated/Entities/UserApplicationEntity/userapplicationentity.form.component.js +10 -10
- package/dist/lib/generated/Entities/UserFavorite/userfavorite.form.component.js +10 -10
- package/dist/lib/generated/Entities/UserNotification/usernotification.form.component.js +10 -10
- package/dist/lib/generated/Entities/UserRecordLog/userrecordlog.form.component.js +10 -10
- package/dist/lib/generated/Entities/UserRole/userrole.form.component.js +10 -10
- package/dist/lib/generated/Entities/UserView/userview.form.component.js +16 -16
- package/dist/lib/generated/Entities/UserViewCategory/userviewcategory.form.component.js +14 -14
- package/dist/lib/generated/Entities/UserViewRun/userviewrun.form.component.js +12 -12
- package/dist/lib/generated/Entities/UserViewRunDetail/userviewrundetail.form.component.js +10 -10
- package/dist/lib/generated/Entities/VectorDatabase/vectordatabase.form.component.js +14 -14
- package/dist/lib/generated/Entities/VectorIndex/vectorindex.form.component.js +10 -10
- package/dist/lib/generated/Entities/VersionInstallation/versioninstallation.form.component.js +10 -10
- package/dist/lib/generated/Entities/Workflow/workflow.form.component.js +14 -14
- package/dist/lib/generated/Entities/WorkflowEngine/workflowengine.form.component.js +12 -12
- package/dist/lib/generated/Entities/WorkflowRun/workflowrun.form.component.js +10 -10
- package/dist/lib/generated/Entities/Workspace/workspace.form.component.js +12 -12
- package/dist/lib/generated/Entities/WorkspaceItem/workspaceitem.form.component.js +10 -10
- package/dist/lib/generated/generated-forms.module.d.ts +166 -141
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +289 -152
- package/package.json +17 -17
- package/dist/lib/generated/Entities/CommunicationTemplate/communicationtemplate.form.component.d.ts +0 -10
- package/dist/lib/generated/Entities/CommunicationTemplate/communicationtemplate.form.component.d.ts.map +0 -1
- package/dist/lib/generated/Entities/CommunicationTemplate/communicationtemplate.form.component.js +0 -72
- package/dist/lib/generated/Entities/CommunicationTemplate/sections/details.component.d.ts +0 -11
- package/dist/lib/generated/Entities/CommunicationTemplate/sections/details.component.d.ts.map +0 -1
|
@@ -10,7 +10,7 @@ import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "@angular/common";
|
|
12
12
|
import * as i2 from "@memberjunction/ng-base-forms";
|
|
13
|
-
function
|
|
13
|
+
function RecommendationItemDetailsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
14
14
|
i0.ɵɵelementStart(0, "div")(1, "div", 1);
|
|
15
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)(8, "mj-form-field", 8);
|
|
16
16
|
i0.ɵɵelementEnd()();
|
|
@@ -31,53 +31,54 @@ function CommunicationTemplateDetailsComponent_div_0_Template(rf, ctx) { if (rf
|
|
|
31
31
|
i0.ɵɵadvance();
|
|
32
32
|
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
33
|
} }
|
|
34
|
-
let
|
|
34
|
+
let RecommendationItemDetailsComponent = class RecommendationItemDetailsComponent extends BaseFormSectionComponent {
|
|
35
35
|
constructor() {
|
|
36
36
|
super(...arguments);
|
|
37
37
|
this.EditMode = false;
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
i0.ɵɵtemplate(0,
|
|
40
|
+
RecommendationItemDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵRecommendationItemDetailsComponent_BaseFactory; return function RecommendationItemDetailsComponent_Factory(t) { return (ɵRecommendationItemDetailsComponent_BaseFactory || (ɵRecommendationItemDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RecommendationItemDetailsComponent)))(t || RecommendationItemDetailsComponent); }; })();
|
|
41
|
+
RecommendationItemDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecommendationItemDetailsComponent, selectors: [["gen-recommendationitem-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "RecommendationID", "Type", "numerictextbox", "LinkType", "Record", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DestinationEntityID", "Type", "numerictextbox", "LinkType", "Record", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DestinationEntityRecordID", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "MatchProbability", "Type", "numerictextbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "DestinationEntity", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function RecommendationItemDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
42
|
+
i0.ɵɵtemplate(0, RecommendationItemDetailsComponent_div_0_Template, 9, 21, "div", 0);
|
|
43
43
|
} if (rf & 2) {
|
|
44
44
|
i0.ɵɵproperty("ngIf", ctx.record);
|
|
45
45
|
} }, 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.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}"] });
|
|
46
|
-
|
|
47
|
-
RegisterClass(BaseFormSectionComponent, '
|
|
48
|
-
],
|
|
49
|
-
export {
|
|
50
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(
|
|
46
|
+
RecommendationItemDetailsComponent = __decorate([
|
|
47
|
+
RegisterClass(BaseFormSectionComponent, 'Recommendation Items.details') // Tell MemberJunction about this class
|
|
48
|
+
], RecommendationItemDetailsComponent);
|
|
49
|
+
export { RecommendationItemDetailsComponent };
|
|
50
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecommendationItemDetailsComponent, [{
|
|
51
51
|
type: Component,
|
|
52
|
-
args: [{ selector: 'gen-
|
|
52
|
+
args: [{ selector: 'gen-recommendationitem-form-details', template: `<div *ngIf="this.record">
|
|
53
53
|
<div class="record-form">
|
|
54
54
|
<mj-form-field
|
|
55
55
|
[record]="record"
|
|
56
56
|
[ShowLabel]="true"
|
|
57
|
-
FieldName="
|
|
58
|
-
Type="
|
|
57
|
+
FieldName="RecommendationID"
|
|
58
|
+
Type="numerictextbox"
|
|
59
59
|
[EditMode]="EditMode"
|
|
60
|
+
LinkType="Record"
|
|
60
61
|
></mj-form-field>
|
|
61
62
|
<mj-form-field
|
|
62
63
|
[record]="record"
|
|
63
64
|
[ShowLabel]="true"
|
|
64
|
-
FieldName="
|
|
65
|
-
Type="
|
|
65
|
+
FieldName="DestinationEntityID"
|
|
66
|
+
Type="numerictextbox"
|
|
66
67
|
[EditMode]="EditMode"
|
|
68
|
+
LinkType="Record"
|
|
67
69
|
></mj-form-field>
|
|
68
70
|
<mj-form-field
|
|
69
71
|
[record]="record"
|
|
70
72
|
[ShowLabel]="true"
|
|
71
|
-
FieldName="
|
|
72
|
-
Type="
|
|
73
|
+
FieldName="DestinationEntityRecordID"
|
|
74
|
+
Type="textarea"
|
|
73
75
|
[EditMode]="EditMode"
|
|
74
|
-
LinkType="Record"
|
|
75
76
|
></mj-form-field>
|
|
76
77
|
<mj-form-field
|
|
77
78
|
[record]="record"
|
|
78
79
|
[ShowLabel]="true"
|
|
79
|
-
FieldName="
|
|
80
|
-
Type="
|
|
80
|
+
FieldName="MatchProbability"
|
|
81
|
+
Type="numerictextbox"
|
|
81
82
|
[EditMode]="EditMode"
|
|
82
83
|
></mj-form-field>
|
|
83
84
|
<mj-form-field
|
|
@@ -97,7 +98,7 @@ export { CommunicationTemplateDetailsComponent };
|
|
|
97
98
|
<mj-form-field
|
|
98
99
|
[record]="record"
|
|
99
100
|
[ShowLabel]="true"
|
|
100
|
-
FieldName="
|
|
101
|
+
FieldName="DestinationEntity"
|
|
101
102
|
Type="textbox"
|
|
102
103
|
[EditMode]="EditMode"
|
|
103
104
|
></mj-form-field>
|
|
@@ -110,7 +111,7 @@ export { CommunicationTemplateDetailsComponent };
|
|
|
110
111
|
}], EditMode: [{
|
|
111
112
|
type: Input
|
|
112
113
|
}] }); })();
|
|
113
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(
|
|
114
|
-
export function
|
|
114
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RecommendationItemDetailsComponent, { className: "RecommendationItemDetailsComponent", filePath: "src/lib/generated/Entities/RecommendationItem/sections/details.component.ts", lineNumber: 68 }); })();
|
|
115
|
+
export function LoadRecommendationItemDetailsComponent() {
|
|
115
116
|
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
116
117
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RecommendationProviderEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RecommendationProviderFormComponent extends BaseFormComponent {
|
|
5
|
+
record: RecommendationProviderEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecommendationProviderFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecommendationProviderFormComponent, "gen-recommendationprovider-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadRecommendationProviderFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=recommendationprovider.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommendationprovider.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAE7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,mCAAoC,SAAQ,iBAAiB;IAC/D,MAAM,EAAG,4BAA4B,CAAC;yCADpC,mCAAmC;2CAAnC,mCAAmC;CAE/C;AAED,wBAAgB,uCAAuC,SAEtD"}
|
package/dist/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.js
ADDED
|
@@ -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 { LoadRecommendationProviderDetailsComponent } 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
|
+
const _c0 = () => ({ EntityRelationshipID: 288 });
|
|
20
|
+
function RecommendationProviderFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
22
|
+
i0.ɵɵelementStart(0, "form", 4, 0);
|
|
23
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 5)(3, "div", 6, 1);
|
|
24
|
+
i0.ɵɵelementStart(5, "mj-tabstrip", 7);
|
|
25
|
+
i0.ɵɵlistener("TabSelected", function RecommendationProviderFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event.index)); });
|
|
26
|
+
i0.ɵɵelementStart(6, "mj-tab", 8);
|
|
27
|
+
i0.ɵɵtext(7, " Details ");
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
i0.ɵɵelementStart(8, "mj-tab-body");
|
|
30
|
+
i0.ɵɵelement(9, "mj-form-section", 9);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(10, "mj-tab", 10);
|
|
33
|
+
i0.ɵɵtext(11, " Recommendation Runs ");
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
i0.ɵɵelementStart(12, "mj-tab-body");
|
|
36
|
+
i0.ɵɵelement(13, "mj-user-view-grid", 11);
|
|
37
|
+
i0.ɵɵelementEnd()()();
|
|
38
|
+
} if (rf & 2) {
|
|
39
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
40
|
+
i0.ɵɵadvance(2);
|
|
41
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
42
|
+
i0.ɵɵadvance(7);
|
|
43
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
44
|
+
i0.ɵɵadvance();
|
|
45
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(10, _c0));
|
|
46
|
+
i0.ɵɵadvance(3);
|
|
47
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Recommendation Runs"))("NewRecordValues", ctx_r1.NewRecordValues("Recommendation Runs"))("AllowLoad", ctx_r1.IsCurrentTab("Recommendation Runs"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
48
|
+
} }
|
|
49
|
+
let RecommendationProviderFormComponent = class RecommendationProviderFormComponent extends BaseFormComponent {
|
|
50
|
+
};
|
|
51
|
+
RecommendationProviderFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵRecommendationProviderFormComponent_BaseFactory; return function RecommendationProviderFormComponent_Factory(t) { return (ɵRecommendationProviderFormComponent_BaseFactory || (ɵRecommendationProviderFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RecommendationProviderFormComponent)))(t || RecommendationProviderFormComponent); }; })();
|
|
52
|
+
RecommendationProviderFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecommendationProviderFormComponent, selectors: [["gen-recommendationprovider-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["topArea", ""], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], [1, "record-form-group"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "Recommendation Providers", "Section", "details", 3, "record", "EditMode"], ["Name", "Recommendation Runs", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function RecommendationProviderFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
54
|
+
i0.ɵɵtemplate(1, RecommendationProviderFormComponent_form_1_Template, 14, 11, "form", 3);
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
} if (rf & 2) {
|
|
57
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
58
|
+
i0.ɵɵadvance();
|
|
59
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
60
|
+
} }, 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.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}"] });
|
|
61
|
+
RecommendationProviderFormComponent = __decorate([
|
|
62
|
+
RegisterClass(BaseFormComponent, 'Recommendation Providers') // Tell MemberJunction about this class
|
|
63
|
+
], RecommendationProviderFormComponent);
|
|
64
|
+
export { RecommendationProviderFormComponent };
|
|
65
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecommendationProviderFormComponent, [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'gen-recommendationprovider-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 <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Recommendation Providers\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Recommendation Runs\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 288}\">\n Recommendation Runs\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Recommendation Runs')\" \n [NewRecordValues]=\"NewRecordValues('Recommendation Runs')\"\n [AllowLoad]=\"IsCurrentTab('Recommendation Runs')\" \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.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"] }]
|
|
68
|
+
}], null, null); })();
|
|
69
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RecommendationProviderFormComponent, { className: "RecommendationProviderFormComponent", filePath: "src/lib/generated/Entities/RecommendationProvider/recommendationprovider.form.component.ts", lineNumber: 12 }); })();
|
|
70
|
+
export function LoadRecommendationProviderFormComponent() {
|
|
71
|
+
LoadRecommendationProviderDetailsComponent();
|
|
72
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { RecommendationProviderEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RecommendationProviderDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: RecommendationProviderEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecommendationProviderDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecommendationProviderDetailsComponent, "gen-recommendationprovider-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadRecommendationProviderDetailsComponent(): void;
|
|
11
|
+
//# sourceMappingURL=details.component.d.ts.map
|
package/dist/lib/generated/Entities/RecommendationProvider/sections/details.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"details.component.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/generated/Entities/RecommendationProvider/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;;AAE7E,qBAuCa,sCAAuC,SAAQ,wBAAwB;IAC9D,MAAM,EAAG,4BAA4B,CAAC;IACtC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,sCAAsC;2CAAtC,sCAAsC;CAGlD;AAED,wBAAgB,0CAA0C,SAEzD"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 RecommendationProviderDetailsComponent_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);
|
|
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
|
+
} }
|
|
28
|
+
let RecommendationProviderDetailsComponent = class RecommendationProviderDetailsComponent extends BaseFormSectionComponent {
|
|
29
|
+
constructor() {
|
|
30
|
+
super(...arguments);
|
|
31
|
+
this.EditMode = false;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
RecommendationProviderDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵRecommendationProviderDetailsComponent_BaseFactory; return function RecommendationProviderDetailsComponent_Factory(t) { return (ɵRecommendationProviderDetailsComponent_BaseFactory || (ɵRecommendationProviderDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RecommendationProviderDetailsComponent)))(t || RecommendationProviderDetailsComponent); }; })();
|
|
35
|
+
RecommendationProviderDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecommendationProviderDetailsComponent, selectors: [["gen-recommendationprovider-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "Name", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function RecommendationProviderDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
36
|
+
i0.ɵɵtemplate(0, RecommendationProviderDetailsComponent_div_0_Template, 6, 12, "div", 0);
|
|
37
|
+
} if (rf & 2) {
|
|
38
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
39
|
+
} }, 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.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}"] });
|
|
40
|
+
RecommendationProviderDetailsComponent = __decorate([
|
|
41
|
+
RegisterClass(BaseFormSectionComponent, 'Recommendation Providers.details') // Tell MemberJunction about this class
|
|
42
|
+
], RecommendationProviderDetailsComponent);
|
|
43
|
+
export { RecommendationProviderDetailsComponent };
|
|
44
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecommendationProviderDetailsComponent, [{
|
|
45
|
+
type: Component,
|
|
46
|
+
args: [{ selector: 'gen-recommendationprovider-form-details', template: `<div *ngIf="this.record">
|
|
47
|
+
<div class="record-form">
|
|
48
|
+
<mj-form-field
|
|
49
|
+
[record]="record"
|
|
50
|
+
[ShowLabel]="true"
|
|
51
|
+
FieldName="Name"
|
|
52
|
+
Type="textarea"
|
|
53
|
+
[EditMode]="EditMode"
|
|
54
|
+
></mj-form-field>
|
|
55
|
+
<mj-form-field
|
|
56
|
+
[record]="record"
|
|
57
|
+
[ShowLabel]="true"
|
|
58
|
+
FieldName="Description"
|
|
59
|
+
Type="textarea"
|
|
60
|
+
[EditMode]="EditMode"
|
|
61
|
+
></mj-form-field>
|
|
62
|
+
<mj-form-field
|
|
63
|
+
[record]="record"
|
|
64
|
+
[ShowLabel]="true"
|
|
65
|
+
FieldName="CreatedAt"
|
|
66
|
+
Type="textbox"
|
|
67
|
+
[EditMode]="EditMode"
|
|
68
|
+
></mj-form-field>
|
|
69
|
+
<mj-form-field
|
|
70
|
+
[record]="record"
|
|
71
|
+
[ShowLabel]="true"
|
|
72
|
+
FieldName="UpdatedAt"
|
|
73
|
+
Type="textbox"
|
|
74
|
+
[EditMode]="EditMode"
|
|
75
|
+
></mj-form-field>
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\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"] }]
|
|
80
|
+
}], null, { record: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], EditMode: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}] }); })();
|
|
85
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RecommendationProviderDetailsComponent, { className: "RecommendationProviderDetailsComponent", filePath: "src/lib/generated/Entities/RecommendationProvider/sections/details.component.ts", lineNumber: 45 }); })();
|
|
86
|
+
export function LoadRecommendationProviderDetailsComponent() {
|
|
87
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
88
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RecommendationRunEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RecommendationRunFormComponent extends BaseFormComponent {
|
|
5
|
+
record: RecommendationRunEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecommendationRunFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecommendationRunFormComponent, "gen-recommendationrun-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadRecommendationRunFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=recommendationrun.form.component.d.ts.map
|
package/dist/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommendationrun.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AAExE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,8BAA+B,SAAQ,iBAAiB;IAC1D,MAAM,EAAG,uBAAuB,CAAC;yCAD/B,8BAA8B;2CAA9B,8BAA8B;CAE1C;AAED,wBAAgB,kCAAkC,SAEjD"}
|
|
@@ -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 { LoadRecommendationRunDetailsComponent } 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
|
+
const _c0 = () => ({ EntityRelationshipID: 289 });
|
|
20
|
+
function RecommendationRunFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
22
|
+
i0.ɵɵelementStart(0, "form", 4, 0);
|
|
23
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 5)(3, "div", 6, 1);
|
|
24
|
+
i0.ɵɵelementStart(5, "mj-tabstrip", 7);
|
|
25
|
+
i0.ɵɵlistener("TabSelected", function RecommendationRunFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onTabSelect($event.index)); });
|
|
26
|
+
i0.ɵɵelementStart(6, "mj-tab", 8);
|
|
27
|
+
i0.ɵɵtext(7, " Details ");
|
|
28
|
+
i0.ɵɵelementEnd();
|
|
29
|
+
i0.ɵɵelementStart(8, "mj-tab-body");
|
|
30
|
+
i0.ɵɵelement(9, "mj-form-section", 9);
|
|
31
|
+
i0.ɵɵelementEnd();
|
|
32
|
+
i0.ɵɵelementStart(10, "mj-tab", 10);
|
|
33
|
+
i0.ɵɵtext(11, " Recommendations ");
|
|
34
|
+
i0.ɵɵelementEnd();
|
|
35
|
+
i0.ɵɵelementStart(12, "mj-tab-body");
|
|
36
|
+
i0.ɵɵelement(13, "mj-user-view-grid", 11);
|
|
37
|
+
i0.ɵɵelementEnd()()();
|
|
38
|
+
} if (rf & 2) {
|
|
39
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
40
|
+
i0.ɵɵadvance(2);
|
|
41
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
42
|
+
i0.ɵɵadvance(7);
|
|
43
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
44
|
+
i0.ɵɵadvance();
|
|
45
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(10, _c0));
|
|
46
|
+
i0.ɵɵadvance(3);
|
|
47
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Recommendations"))("NewRecordValues", ctx_r1.NewRecordValues("Recommendations"))("AllowLoad", ctx_r1.IsCurrentTab("Recommendations"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
48
|
+
} }
|
|
49
|
+
let RecommendationRunFormComponent = class RecommendationRunFormComponent extends BaseFormComponent {
|
|
50
|
+
};
|
|
51
|
+
RecommendationRunFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵRecommendationRunFormComponent_BaseFactory; return function RecommendationRunFormComponent_Factory(t) { return (ɵRecommendationRunFormComponent_BaseFactory || (ɵRecommendationRunFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RecommendationRunFormComponent)))(t || RecommendationRunFormComponent); }; })();
|
|
52
|
+
RecommendationRunFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecommendationRunFormComponent, selectors: [["gen-recommendationrun-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["form", "ngForm"], ["topArea", ""], ["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [3, "form"], [1, "record-form-group"], ["mjFillContainer", "", 3, "TabSelected"], ["Name", "Details"], ["Entity", "Recommendation Runs", "Section", "details", 3, "record", "EditMode"], ["Name", "Recommendations", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function RecommendationRunFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
54
|
+
i0.ɵɵtemplate(1, RecommendationRunFormComponent_form_1_Template, 14, 11, "form", 3);
|
|
55
|
+
i0.ɵɵelementEnd();
|
|
56
|
+
} if (rf & 2) {
|
|
57
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
58
|
+
i0.ɵɵadvance();
|
|
59
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
60
|
+
} }, 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.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}"] });
|
|
61
|
+
RecommendationRunFormComponent = __decorate([
|
|
62
|
+
RegisterClass(BaseFormComponent, 'Recommendation Runs') // Tell MemberJunction about this class
|
|
63
|
+
], RecommendationRunFormComponent);
|
|
64
|
+
export { RecommendationRunFormComponent };
|
|
65
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecommendationRunFormComponent, [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'gen-recommendationrun-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 <div #topArea class=\"record-form-group\">\n \n </div>\n <mj-tabstrip (TabSelected)=\"onTabSelect($event.index)\" mjFillContainer>\n <mj-tab Name=\"Details\">\n Details\n </mj-tab>\n <mj-tab-body>\n <mj-form-section \n Entity=\"Recommendation Runs\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Recommendations\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 289}\">\n Recommendations\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Recommendations')\" \n [NewRecordValues]=\"NewRecordValues('Recommendations')\"\n [AllowLoad]=\"IsCurrentTab('Recommendations')\" \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.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"] }]
|
|
68
|
+
}], null, null); })();
|
|
69
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RecommendationRunFormComponent, { className: "RecommendationRunFormComponent", filePath: "src/lib/generated/Entities/RecommendationRun/recommendationrun.form.component.ts", lineNumber: 12 }); })();
|
|
70
|
+
export function LoadRecommendationRunFormComponent() {
|
|
71
|
+
LoadRecommendationRunDetailsComponent();
|
|
72
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { RecommendationRunEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RecommendationRunDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: RecommendationRunEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecommendationRunDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecommendationRunDetailsComponent, "gen-recommendationrun-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadRecommendationRunDetailsComponent(): 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/RecommendationRun/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;;AAExE,qBAmFa,iCAAkC,SAAQ,wBAAwB;IACzD,MAAM,EAAG,uBAAuB,CAAC;IACjC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,iCAAiC;2CAAjC,iCAAiC;CAG7C;AAED,wBAAgB,qCAAqC,SAEpD"}
|
|
@@ -0,0 +1,144 @@
|
|
|
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 RecommendationRunDetailsComponent_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)(8, "mj-form-field", 8)(9, "mj-form-field", 9)(10, "mj-form-field", 10)(11, "mj-form-field", 11);
|
|
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
|
+
i0.ɵɵadvance();
|
|
32
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
33
|
+
i0.ɵɵadvance();
|
|
34
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
35
|
+
i0.ɵɵadvance();
|
|
36
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
37
|
+
i0.ɵɵadvance();
|
|
38
|
+
i0.ɵɵproperty("record", ctx_r0.record)("ShowLabel", true)("EditMode", ctx_r0.EditMode);
|
|
39
|
+
} }
|
|
40
|
+
let RecommendationRunDetailsComponent = class RecommendationRunDetailsComponent extends BaseFormSectionComponent {
|
|
41
|
+
constructor() {
|
|
42
|
+
super(...arguments);
|
|
43
|
+
this.EditMode = false;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
RecommendationRunDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵRecommendationRunDetailsComponent_BaseFactory; return function RecommendationRunDetailsComponent_Factory(t) { return (ɵRecommendationRunDetailsComponent_BaseFactory || (ɵRecommendationRunDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RecommendationRunDetailsComponent)))(t || RecommendationRunDetailsComponent); }; })();
|
|
47
|
+
RecommendationRunDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecommendationRunDetailsComponent, selectors: [["gen-recommendationrun-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "RecommendationProviderID", "Type", "numerictextbox", "LinkType", "Record", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "StartDate", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "EndDate", "Type", "datepicker", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Status", "Type", "dropdownlist", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "Description", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RunByUserID", "Type", "numerictextbox", "LinkType", "Record", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RecommendationProvider", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "RunByUser", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function RecommendationRunDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
48
|
+
i0.ɵɵtemplate(0, RecommendationRunDetailsComponent_div_0_Template, 12, 30, "div", 0);
|
|
49
|
+
} if (rf & 2) {
|
|
50
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
51
|
+
} }, 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.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}"] });
|
|
52
|
+
RecommendationRunDetailsComponent = __decorate([
|
|
53
|
+
RegisterClass(BaseFormSectionComponent, 'Recommendation Runs.details') // Tell MemberJunction about this class
|
|
54
|
+
], RecommendationRunDetailsComponent);
|
|
55
|
+
export { RecommendationRunDetailsComponent };
|
|
56
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecommendationRunDetailsComponent, [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{ selector: 'gen-recommendationrun-form-details', template: `<div *ngIf="this.record">
|
|
59
|
+
<div class="record-form">
|
|
60
|
+
<mj-form-field
|
|
61
|
+
[record]="record"
|
|
62
|
+
[ShowLabel]="true"
|
|
63
|
+
FieldName="RecommendationProviderID"
|
|
64
|
+
Type="numerictextbox"
|
|
65
|
+
[EditMode]="EditMode"
|
|
66
|
+
LinkType="Record"
|
|
67
|
+
></mj-form-field>
|
|
68
|
+
<mj-form-field
|
|
69
|
+
[record]="record"
|
|
70
|
+
[ShowLabel]="true"
|
|
71
|
+
FieldName="StartDate"
|
|
72
|
+
Type="datepicker"
|
|
73
|
+
[EditMode]="EditMode"
|
|
74
|
+
></mj-form-field>
|
|
75
|
+
<mj-form-field
|
|
76
|
+
[record]="record"
|
|
77
|
+
[ShowLabel]="true"
|
|
78
|
+
FieldName="EndDate"
|
|
79
|
+
Type="datepicker"
|
|
80
|
+
[EditMode]="EditMode"
|
|
81
|
+
></mj-form-field>
|
|
82
|
+
<mj-form-field
|
|
83
|
+
[record]="record"
|
|
84
|
+
[ShowLabel]="true"
|
|
85
|
+
FieldName="Status"
|
|
86
|
+
Type="dropdownlist"
|
|
87
|
+
[EditMode]="EditMode"
|
|
88
|
+
></mj-form-field>
|
|
89
|
+
<mj-form-field
|
|
90
|
+
[record]="record"
|
|
91
|
+
[ShowLabel]="true"
|
|
92
|
+
FieldName="Description"
|
|
93
|
+
Type="textarea"
|
|
94
|
+
[EditMode]="EditMode"
|
|
95
|
+
></mj-form-field>
|
|
96
|
+
<mj-form-field
|
|
97
|
+
[record]="record"
|
|
98
|
+
[ShowLabel]="true"
|
|
99
|
+
FieldName="RunByUserID"
|
|
100
|
+
Type="numerictextbox"
|
|
101
|
+
[EditMode]="EditMode"
|
|
102
|
+
LinkType="Record"
|
|
103
|
+
></mj-form-field>
|
|
104
|
+
<mj-form-field
|
|
105
|
+
[record]="record"
|
|
106
|
+
[ShowLabel]="true"
|
|
107
|
+
FieldName="CreatedAt"
|
|
108
|
+
Type="textbox"
|
|
109
|
+
[EditMode]="EditMode"
|
|
110
|
+
></mj-form-field>
|
|
111
|
+
<mj-form-field
|
|
112
|
+
[record]="record"
|
|
113
|
+
[ShowLabel]="true"
|
|
114
|
+
FieldName="UpdatedAt"
|
|
115
|
+
Type="textbox"
|
|
116
|
+
[EditMode]="EditMode"
|
|
117
|
+
></mj-form-field>
|
|
118
|
+
<mj-form-field
|
|
119
|
+
[record]="record"
|
|
120
|
+
[ShowLabel]="true"
|
|
121
|
+
FieldName="RecommendationProvider"
|
|
122
|
+
Type="textbox"
|
|
123
|
+
[EditMode]="EditMode"
|
|
124
|
+
></mj-form-field>
|
|
125
|
+
<mj-form-field
|
|
126
|
+
[record]="record"
|
|
127
|
+
[ShowLabel]="true"
|
|
128
|
+
FieldName="RunByUser"
|
|
129
|
+
Type="textbox"
|
|
130
|
+
[EditMode]="EditMode"
|
|
131
|
+
></mj-form-field>
|
|
132
|
+
|
|
133
|
+
</div>
|
|
134
|
+
</div>
|
|
135
|
+
`, styles: [".k-pane {\n background-color: #F5F6FA;\n} \n\n\na {\n font-size: 14px;\n font-weight: bolder;\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"] }]
|
|
136
|
+
}], null, { record: [{
|
|
137
|
+
type: Input
|
|
138
|
+
}], EditMode: [{
|
|
139
|
+
type: Input
|
|
140
|
+
}] }); })();
|
|
141
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RecommendationRunDetailsComponent, { className: "RecommendationRunDetailsComponent", filePath: "src/lib/generated/Entities/RecommendationRun/sections/details.component.ts", lineNumber: 89 }); })();
|
|
142
|
+
export function LoadRecommendationRunDetailsComponent() {
|
|
143
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
144
|
+
}
|