@memberjunction/ng-core-entity-forms 1.5.2 → 1.6.0
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
|
@@ -16,11 +16,11 @@ import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
|
16
16
|
import * as i5 from "@memberjunction/ng-tabstrip";
|
|
17
17
|
import * as i6 from "@memberjunction/ng-container-directives";
|
|
18
18
|
function QueryPermissionFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
-
const
|
|
20
|
-
i0.ɵɵelementStart(0, "form",
|
|
21
|
-
i0.ɵɵelement(2, "mj-form-toolbar",
|
|
19
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 4, 0);
|
|
21
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 5)(3, "div", 6, 1);
|
|
22
22
|
i0.ɵɵelementStart(5, "mj-tabstrip", 7);
|
|
23
|
-
i0.ɵɵlistener("TabSelected", function QueryPermissionFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function QueryPermissionFormComponent_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)); });
|
|
24
24
|
i0.ɵɵelementStart(6, "mj-tab", 8);
|
|
25
25
|
i0.ɵɵtext(7, " Details ");
|
|
26
26
|
i0.ɵɵelementEnd();
|
|
@@ -28,18 +28,18 @@ function QueryPermissionFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
28
28
|
i0.ɵɵelement(9, "mj-form-section", 9);
|
|
29
29
|
i0.ɵɵelementEnd()()();
|
|
30
30
|
} if (rf & 2) {
|
|
31
|
-
const
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
32
|
i0.ɵɵadvance(2);
|
|
33
|
-
i0.ɵɵproperty("form",
|
|
33
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
34
34
|
i0.ɵɵadvance(7);
|
|
35
|
-
i0.ɵɵproperty("record",
|
|
35
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
36
36
|
} }
|
|
37
37
|
let QueryPermissionFormComponent = class QueryPermissionFormComponent extends BaseFormComponent {
|
|
38
38
|
};
|
|
39
39
|
QueryPermissionFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵQueryPermissionFormComponent_BaseFactory; return function QueryPermissionFormComponent_Factory(t) { return (ɵQueryPermissionFormComponent_BaseFactory || (ɵQueryPermissionFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(QueryPermissionFormComponent)))(t || QueryPermissionFormComponent); }; })();
|
|
40
|
-
QueryPermissionFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryPermissionFormComponent, selectors: [["gen-querypermission-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [
|
|
41
|
-
i0.ɵɵelementStart(0, "div",
|
|
42
|
-
i0.ɵɵtemplate(1, QueryPermissionFormComponent_form_1_Template, 10, 3, "form",
|
|
40
|
+
QueryPermissionFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueryPermissionFormComponent, selectors: [["gen-querypermission-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", "Query Permissions", "Section", "details", 3, "record", "EditMode"]], template: function QueryPermissionFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
42
|
+
i0.ɵɵtemplate(1, QueryPermissionFormComponent_form_1_Template, 10, 3, "form", 3);
|
|
43
43
|
i0.ɵɵelementEnd();
|
|
44
44
|
} if (rf & 2) {
|
|
45
45
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -18,11 +18,11 @@ import * as i6 from "@memberjunction/ng-tabstrip";
|
|
|
18
18
|
import * as i7 from "@memberjunction/ng-container-directives";
|
|
19
19
|
const _c0 = () => ({ EntityRelationshipID: 109 });
|
|
20
20
|
function QueueFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
const
|
|
22
|
-
i0.ɵɵelementStart(0, "form",
|
|
23
|
-
i0.ɵɵelement(2, "mj-form-toolbar",
|
|
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
24
|
i0.ɵɵelementStart(5, "mj-tabstrip", 7);
|
|
25
|
-
i0.ɵɵlistener("TabSelected", function QueueFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(
|
|
25
|
+
i0.ɵɵlistener("TabSelected", function QueueFormComponent_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
26
|
i0.ɵɵelementStart(6, "mj-tab", 8);
|
|
27
27
|
i0.ɵɵtext(7, " Details ");
|
|
28
28
|
i0.ɵɵelementEnd();
|
|
@@ -36,22 +36,22 @@ function QueueFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
36
36
|
i0.ɵɵelement(13, "mj-user-view-grid", 11);
|
|
37
37
|
i0.ɵɵelementEnd()()();
|
|
38
38
|
} if (rf & 2) {
|
|
39
|
-
const
|
|
39
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
40
40
|
i0.ɵɵadvance(2);
|
|
41
|
-
i0.ɵɵproperty("form",
|
|
41
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
42
42
|
i0.ɵɵadvance(7);
|
|
43
|
-
i0.ɵɵproperty("record",
|
|
43
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
44
44
|
i0.ɵɵadvance();
|
|
45
|
-
i0.ɵɵproperty("Visible",
|
|
45
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(10, _c0));
|
|
46
46
|
i0.ɵɵadvance(3);
|
|
47
|
-
i0.ɵɵproperty("Params",
|
|
47
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Queue Tasks"))("NewRecordValues", ctx_r1.NewRecordValues("Queue Tasks"))("AllowLoad", ctx_r1.IsCurrentTab("Queue Tasks"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
48
48
|
} }
|
|
49
49
|
let QueueFormComponent = class QueueFormComponent extends BaseFormComponent {
|
|
50
50
|
};
|
|
51
51
|
QueueFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵQueueFormComponent_BaseFactory; return function QueueFormComponent_Factory(t) { return (ɵQueueFormComponent_BaseFactory || (ɵQueueFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(QueueFormComponent)))(t || QueueFormComponent); }; })();
|
|
52
|
-
QueueFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueueFormComponent, selectors: [["gen-queue-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [
|
|
53
|
-
i0.ɵɵelementStart(0, "div",
|
|
54
|
-
i0.ɵɵtemplate(1, QueueFormComponent_form_1_Template, 14, 11, "form",
|
|
52
|
+
QueueFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueueFormComponent, selectors: [["gen-queue-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", "Queues", "Section", "details", 3, "record", "EditMode"], ["Name", "Queue Tasks", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function QueueFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
54
|
+
i0.ɵɵtemplate(1, QueueFormComponent_form_1_Template, 14, 11, "form", 3);
|
|
55
55
|
i0.ɵɵelementEnd();
|
|
56
56
|
} if (rf & 2) {
|
|
57
57
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -16,11 +16,11 @@ import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
|
16
16
|
import * as i5 from "@memberjunction/ng-tabstrip";
|
|
17
17
|
import * as i6 from "@memberjunction/ng-container-directives";
|
|
18
18
|
function QueueTaskFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
-
const
|
|
20
|
-
i0.ɵɵelementStart(0, "form",
|
|
21
|
-
i0.ɵɵelement(2, "mj-form-toolbar",
|
|
19
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 4, 0);
|
|
21
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 5)(3, "div", 6, 1);
|
|
22
22
|
i0.ɵɵelementStart(5, "mj-tabstrip", 7);
|
|
23
|
-
i0.ɵɵlistener("TabSelected", function QueueTaskFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function QueueTaskFormComponent_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)); });
|
|
24
24
|
i0.ɵɵelementStart(6, "mj-tab", 8);
|
|
25
25
|
i0.ɵɵtext(7, " Details ");
|
|
26
26
|
i0.ɵɵelementEnd();
|
|
@@ -28,18 +28,18 @@ function QueueTaskFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
28
28
|
i0.ɵɵelement(9, "mj-form-section", 9);
|
|
29
29
|
i0.ɵɵelementEnd()()();
|
|
30
30
|
} if (rf & 2) {
|
|
31
|
-
const
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
32
|
i0.ɵɵadvance(2);
|
|
33
|
-
i0.ɵɵproperty("form",
|
|
33
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
34
34
|
i0.ɵɵadvance(7);
|
|
35
|
-
i0.ɵɵproperty("record",
|
|
35
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
36
36
|
} }
|
|
37
37
|
let QueueTaskFormComponent = class QueueTaskFormComponent extends BaseFormComponent {
|
|
38
38
|
};
|
|
39
39
|
QueueTaskFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵQueueTaskFormComponent_BaseFactory; return function QueueTaskFormComponent_Factory(t) { return (ɵQueueTaskFormComponent_BaseFactory || (ɵQueueTaskFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(QueueTaskFormComponent)))(t || QueueTaskFormComponent); }; })();
|
|
40
|
-
QueueTaskFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueueTaskFormComponent, selectors: [["gen-queuetask-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [
|
|
41
|
-
i0.ɵɵelementStart(0, "div",
|
|
42
|
-
i0.ɵɵtemplate(1, QueueTaskFormComponent_form_1_Template, 10, 3, "form",
|
|
40
|
+
QueueTaskFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueueTaskFormComponent, selectors: [["gen-queuetask-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", "Queue Tasks", "Section", "details", 3, "record", "EditMode"]], template: function QueueTaskFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
42
|
+
i0.ɵɵtemplate(1, QueueTaskFormComponent_form_1_Template, 10, 3, "form", 3);
|
|
43
43
|
i0.ɵɵelementEnd();
|
|
44
44
|
} if (rf & 2) {
|
|
45
45
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -18,11 +18,11 @@ import * as i6 from "@memberjunction/ng-tabstrip";
|
|
|
18
18
|
import * as i7 from "@memberjunction/ng-container-directives";
|
|
19
19
|
const _c0 = () => ({ EntityRelationshipID: 108 });
|
|
20
20
|
function QueueTypeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
const
|
|
22
|
-
i0.ɵɵelementStart(0, "form",
|
|
23
|
-
i0.ɵɵelement(2, "mj-form-toolbar",
|
|
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
24
|
i0.ɵɵelementStart(5, "mj-tabstrip", 7);
|
|
25
|
-
i0.ɵɵlistener("TabSelected", function QueueTypeFormComponent_form_1_Template_mj_tabstrip_TabSelected_5_listener($event) { i0.ɵɵrestoreView(
|
|
25
|
+
i0.ɵɵlistener("TabSelected", function QueueTypeFormComponent_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
26
|
i0.ɵɵelementStart(6, "mj-tab", 8);
|
|
27
27
|
i0.ɵɵtext(7, " Details ");
|
|
28
28
|
i0.ɵɵelementEnd();
|
|
@@ -36,22 +36,22 @@ function QueueTypeFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
36
36
|
i0.ɵɵelement(13, "mj-user-view-grid", 11);
|
|
37
37
|
i0.ɵɵelementEnd()()();
|
|
38
38
|
} if (rf & 2) {
|
|
39
|
-
const
|
|
39
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
40
40
|
i0.ɵɵadvance(2);
|
|
41
|
-
i0.ɵɵproperty("form",
|
|
41
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
42
42
|
i0.ɵɵadvance(7);
|
|
43
|
-
i0.ɵɵproperty("record",
|
|
43
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
44
44
|
i0.ɵɵadvance();
|
|
45
|
-
i0.ɵɵproperty("Visible",
|
|
45
|
+
i0.ɵɵproperty("Visible", ctx_r1.record.IsSaved)("Props", i0.ɵɵpureFunction0(10, _c0));
|
|
46
46
|
i0.ɵɵadvance(3);
|
|
47
|
-
i0.ɵɵproperty("Params",
|
|
47
|
+
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("Queues"))("NewRecordValues", ctx_r1.NewRecordValues("Queues"))("AllowLoad", ctx_r1.IsCurrentTab("Queues"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
48
48
|
} }
|
|
49
49
|
let QueueTypeFormComponent = class QueueTypeFormComponent extends BaseFormComponent {
|
|
50
50
|
};
|
|
51
51
|
QueueTypeFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵQueueTypeFormComponent_BaseFactory; return function QueueTypeFormComponent_Factory(t) { return (ɵQueueTypeFormComponent_BaseFactory || (ɵQueueTypeFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(QueueTypeFormComponent)))(t || QueueTypeFormComponent); }; })();
|
|
52
|
-
QueueTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueueTypeFormComponent, selectors: [["gen-queuetype-form"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "record-form-container", 3, "bottomMargin", "rightMargin"], ["class", "record-form", "mjFillContainer", "", 4, "ngIf"], ["mjFillContainer", "", 1, "record-form"], [
|
|
53
|
-
i0.ɵɵelementStart(0, "div",
|
|
54
|
-
i0.ɵɵtemplate(1, QueueTypeFormComponent_form_1_Template, 14, 11, "form",
|
|
52
|
+
QueueTypeFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: QueueTypeFormComponent, selectors: [["gen-queuetype-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", "Queue Types", "Section", "details", 3, "record", "EditMode"], ["Name", "Queues", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function QueueTypeFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
54
|
+
i0.ɵɵtemplate(1, QueueTypeFormComponent_form_1_Template, 14, 11, "form", 3);
|
|
55
55
|
i0.ɵɵelementEnd();
|
|
56
56
|
} if (rf & 2) {
|
|
57
57
|
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RecommendationEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RecommendationFormComponent extends BaseFormComponent {
|
|
5
|
+
record: RecommendationEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecommendationFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecommendationFormComponent, "gen-recommendation-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadRecommendationFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=recommendation.form.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommendation.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/Recommendation/recommendation.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAErE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,2BAA4B,SAAQ,iBAAiB;IACvD,MAAM,EAAG,oBAAoB,CAAC;yCAD5B,2BAA2B;2CAA3B,2BAA2B;CAEvC;AAED,wBAAgB,+BAA+B,SAE9C"}
|
|
@@ -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 { LoadRecommendationDetailsComponent } 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: 287 });
|
|
20
|
+
function RecommendationFormComponent_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 RecommendationFormComponent_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 Items ");
|
|
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 Items"))("NewRecordValues", ctx_r1.NewRecordValues("Recommendation Items"))("AllowLoad", ctx_r1.IsCurrentTab("Recommendation Items"))("EditMode", ctx_r1.GridEditMode())("BottomMargin", ctx_r1.GridBottomMargin);
|
|
48
|
+
} }
|
|
49
|
+
let RecommendationFormComponent = class RecommendationFormComponent extends BaseFormComponent {
|
|
50
|
+
};
|
|
51
|
+
RecommendationFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵRecommendationFormComponent_BaseFactory; return function RecommendationFormComponent_Factory(t) { return (ɵRecommendationFormComponent_BaseFactory || (ɵRecommendationFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RecommendationFormComponent)))(t || RecommendationFormComponent); }; })();
|
|
52
|
+
RecommendationFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecommendationFormComponent, selectors: [["gen-recommendation-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", "Recommendations", "Section", "details", 3, "record", "EditMode"], ["Name", "Recommendation Items", 3, "Visible", "Props"], [3, "Params", "NewRecordValues", "AllowLoad", "EditMode", "BottomMargin"]], template: function RecommendationFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
54
|
+
i0.ɵɵtemplate(1, RecommendationFormComponent_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
|
+
RecommendationFormComponent = __decorate([
|
|
62
|
+
RegisterClass(BaseFormComponent, 'Recommendations') // Tell MemberJunction about this class
|
|
63
|
+
], RecommendationFormComponent);
|
|
64
|
+
export { RecommendationFormComponent };
|
|
65
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecommendationFormComponent, [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'gen-recommendation-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=\"Recommendations\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \n <mj-tab Name=\"Recommendation Items\" \n [Visible]=\"record.IsSaved\" \n [Props]=\"{EntityRelationshipID: 287}\">\n Recommendation Items\n </mj-tab>\n <mj-tab-body>\n <mj-user-view-grid \n [Params]=\"BuildRelationshipViewParamsByEntityName('Recommendation Items')\" \n [NewRecordValues]=\"NewRecordValues('Recommendation Items')\"\n [AllowLoad]=\"IsCurrentTab('Recommendation Items')\" \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(RecommendationFormComponent, { className: "RecommendationFormComponent", filePath: "src/lib/generated/Entities/Recommendation/recommendation.form.component.ts", lineNumber: 12 }); })();
|
|
70
|
+
export function LoadRecommendationFormComponent() {
|
|
71
|
+
LoadRecommendationDetailsComponent();
|
|
72
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { RecommendationEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RecommendationDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: RecommendationEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecommendationDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecommendationDetailsComponent, "gen-recommendation-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadRecommendationDetailsComponent(): 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/Recommendation/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;;AAErE,qBAuDa,8BAA+B,SAAQ,wBAAwB;IACtD,MAAM,EAAG,oBAAoB,CAAC;IAC9B,QAAQ,EAAE,OAAO,CAAS;yCAFnC,8BAA8B;2CAA9B,8BAA8B;CAG1C;AAED,wBAAgB,kCAAkC,SAEjD"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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 RecommendationDetailsComponent_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 RecommendationDetailsComponent = class RecommendationDetailsComponent extends BaseFormSectionComponent {
|
|
33
|
+
constructor() {
|
|
34
|
+
super(...arguments);
|
|
35
|
+
this.EditMode = false;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
RecommendationDetailsComponent.ɵfac = /*@__PURE__*/ (() => { let ɵRecommendationDetailsComponent_BaseFactory; return function RecommendationDetailsComponent_Factory(t) { return (ɵRecommendationDetailsComponent_BaseFactory || (ɵRecommendationDetailsComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RecommendationDetailsComponent)))(t || RecommendationDetailsComponent); }; })();
|
|
39
|
+
RecommendationDetailsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecommendationDetailsComponent, selectors: [["gen-recommendation-form-details"]], inputs: { record: "record", EditMode: "EditMode" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[4, "ngIf"], [1, "record-form"], ["FieldName", "RecommendationRunID", "Type", "numerictextbox", "LinkType", "Record", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SourceEntityID", "Type", "numerictextbox", "LinkType", "Record", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SourceEntityRecordID", "Type", "textarea", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "CreatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "UpdatedAt", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"], ["FieldName", "SourceEntity", "Type", "textbox", 3, "record", "ShowLabel", "EditMode"]], template: function RecommendationDetailsComponent_Template(rf, ctx) { if (rf & 1) {
|
|
40
|
+
i0.ɵɵtemplate(0, RecommendationDetailsComponent_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.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
|
+
RecommendationDetailsComponent = __decorate([
|
|
45
|
+
RegisterClass(BaseFormSectionComponent, 'Recommendations.details') // Tell MemberJunction about this class
|
|
46
|
+
], RecommendationDetailsComponent);
|
|
47
|
+
export { RecommendationDetailsComponent };
|
|
48
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecommendationDetailsComponent, [{
|
|
49
|
+
type: Component,
|
|
50
|
+
args: [{ selector: 'gen-recommendation-form-details', template: `<div *ngIf="this.record">
|
|
51
|
+
<div class="record-form">
|
|
52
|
+
<mj-form-field
|
|
53
|
+
[record]="record"
|
|
54
|
+
[ShowLabel]="true"
|
|
55
|
+
FieldName="RecommendationRunID"
|
|
56
|
+
Type="numerictextbox"
|
|
57
|
+
[EditMode]="EditMode"
|
|
58
|
+
LinkType="Record"
|
|
59
|
+
></mj-form-field>
|
|
60
|
+
<mj-form-field
|
|
61
|
+
[record]="record"
|
|
62
|
+
[ShowLabel]="true"
|
|
63
|
+
FieldName="SourceEntityID"
|
|
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="SourceEntityRecordID"
|
|
72
|
+
Type="textarea"
|
|
73
|
+
[EditMode]="EditMode"
|
|
74
|
+
></mj-form-field>
|
|
75
|
+
<mj-form-field
|
|
76
|
+
[record]="record"
|
|
77
|
+
[ShowLabel]="true"
|
|
78
|
+
FieldName="CreatedAt"
|
|
79
|
+
Type="textbox"
|
|
80
|
+
[EditMode]="EditMode"
|
|
81
|
+
></mj-form-field>
|
|
82
|
+
<mj-form-field
|
|
83
|
+
[record]="record"
|
|
84
|
+
[ShowLabel]="true"
|
|
85
|
+
FieldName="UpdatedAt"
|
|
86
|
+
Type="textbox"
|
|
87
|
+
[EditMode]="EditMode"
|
|
88
|
+
></mj-form-field>
|
|
89
|
+
<mj-form-field
|
|
90
|
+
[record]="record"
|
|
91
|
+
[ShowLabel]="true"
|
|
92
|
+
FieldName="SourceEntity"
|
|
93
|
+
Type="textbox"
|
|
94
|
+
[EditMode]="EditMode"
|
|
95
|
+
></mj-form-field>
|
|
96
|
+
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
`, 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"] }]
|
|
100
|
+
}], null, { record: [{
|
|
101
|
+
type: Input
|
|
102
|
+
}], EditMode: [{
|
|
103
|
+
type: Input
|
|
104
|
+
}] }); })();
|
|
105
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RecommendationDetailsComponent, { className: "RecommendationDetailsComponent", filePath: "src/lib/generated/Entities/Recommendation/sections/details.component.ts", lineNumber: 61 }); })();
|
|
106
|
+
export function LoadRecommendationDetailsComponent() {
|
|
107
|
+
// does nothing, but called in order to prevent tree-shaking from eliminating this component from the build
|
|
108
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RecommendationItemEntity } from '@memberjunction/core-entities';
|
|
2
|
+
import { BaseFormComponent } from '@memberjunction/ng-base-forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RecommendationItemFormComponent extends BaseFormComponent {
|
|
5
|
+
record: RecommendationItemEntity;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecommendationItemFormComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecommendationItemFormComponent, "gen-recommendationitem-form", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export declare function LoadRecommendationItemFormComponent(): void;
|
|
10
|
+
//# sourceMappingURL=recommendationitem.form.component.d.ts.map
|
package/dist/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recommendationitem.form.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAMa,+BAAgC,SAAQ,iBAAiB;IAC3D,MAAM,EAAG,wBAAwB,CAAC;yCADhC,+BAA+B;2CAA/B,+BAA+B;CAE3C;AAED,wBAAgB,mCAAmC,SAElD"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { LoadRecommendationItemDetailsComponent } 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-base-forms";
|
|
15
|
+
import * as i4 from "@memberjunction/ng-form-toolbar";
|
|
16
|
+
import * as i5 from "@memberjunction/ng-tabstrip";
|
|
17
|
+
import * as i6 from "@memberjunction/ng-container-directives";
|
|
18
|
+
function RecommendationItemFormComponent_form_1_Template(rf, ctx) { if (rf & 1) {
|
|
19
|
+
const _r1 = i0.ɵɵgetCurrentView();
|
|
20
|
+
i0.ɵɵelementStart(0, "form", 4, 0);
|
|
21
|
+
i0.ɵɵelement(2, "mj-form-toolbar", 5)(3, "div", 6, 1);
|
|
22
|
+
i0.ɵɵelementStart(5, "mj-tabstrip", 7);
|
|
23
|
+
i0.ɵɵlistener("TabSelected", function RecommendationItemFormComponent_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)); });
|
|
24
|
+
i0.ɵɵelementStart(6, "mj-tab", 8);
|
|
25
|
+
i0.ɵɵtext(7, " Details ");
|
|
26
|
+
i0.ɵɵelementEnd();
|
|
27
|
+
i0.ɵɵelementStart(8, "mj-tab-body");
|
|
28
|
+
i0.ɵɵelement(9, "mj-form-section", 9);
|
|
29
|
+
i0.ɵɵelementEnd()()();
|
|
30
|
+
} if (rf & 2) {
|
|
31
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
32
|
+
i0.ɵɵadvance(2);
|
|
33
|
+
i0.ɵɵproperty("form", ctx_r1);
|
|
34
|
+
i0.ɵɵadvance(7);
|
|
35
|
+
i0.ɵɵproperty("record", ctx_r1.record)("EditMode", ctx_r1.EditMode);
|
|
36
|
+
} }
|
|
37
|
+
let RecommendationItemFormComponent = class RecommendationItemFormComponent extends BaseFormComponent {
|
|
38
|
+
};
|
|
39
|
+
RecommendationItemFormComponent.ɵfac = /*@__PURE__*/ (() => { let ɵRecommendationItemFormComponent_BaseFactory; return function RecommendationItemFormComponent_Factory(t) { return (ɵRecommendationItemFormComponent_BaseFactory || (ɵRecommendationItemFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(RecommendationItemFormComponent)))(t || RecommendationItemFormComponent); }; })();
|
|
40
|
+
RecommendationItemFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: RecommendationItemFormComponent, selectors: [["gen-recommendationitem-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 Items", "Section", "details", 3, "record", "EditMode"]], template: function RecommendationItemFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
41
|
+
i0.ɵɵelementStart(0, "div", 2);
|
|
42
|
+
i0.ɵɵtemplate(1, RecommendationItemFormComponent_form_1_Template, 10, 3, "form", 3);
|
|
43
|
+
i0.ɵɵelementEnd();
|
|
44
|
+
} if (rf & 2) {
|
|
45
|
+
i0.ɵɵproperty("bottomMargin", 20)("rightMargin", 5);
|
|
46
|
+
i0.ɵɵadvance();
|
|
47
|
+
i0.ɵɵproperty("ngIf", ctx.record);
|
|
48
|
+
} }, dependencies: [i1.NgIf, i2.ɵNgNoValidate, i2.NgControlStatusGroup, i2.NgForm, i3.SectionLoaderComponent, i4.FormToolbarComponent, i5.MJTabStripComponent, i5.MJTabBodyComponent, i5.MJTabComponent, i6.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}"] });
|
|
49
|
+
RecommendationItemFormComponent = __decorate([
|
|
50
|
+
RegisterClass(BaseFormComponent, 'Recommendation Items') // Tell MemberJunction about this class
|
|
51
|
+
], RecommendationItemFormComponent);
|
|
52
|
+
export { RecommendationItemFormComponent };
|
|
53
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(RecommendationItemFormComponent, [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'gen-recommendationitem-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 Items\" \n Section=\"details\" \n [record]=\"record\" \n [EditMode]=\"this.EditMode\">\n </mj-form-section>\n </mj-tab-body>\n \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"] }]
|
|
56
|
+
}], null, null); })();
|
|
57
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(RecommendationItemFormComponent, { className: "RecommendationItemFormComponent", filePath: "src/lib/generated/Entities/RecommendationItem/recommendationitem.form.component.ts", lineNumber: 12 }); })();
|
|
58
|
+
export function LoadRecommendationItemFormComponent() {
|
|
59
|
+
LoadRecommendationItemDetailsComponent();
|
|
60
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseFormSectionComponent } from '@memberjunction/ng-base-forms';
|
|
2
|
+
import { RecommendationItemEntity } from '@memberjunction/core-entities';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RecommendationItemDetailsComponent extends BaseFormSectionComponent {
|
|
5
|
+
record: RecommendationItemEntity;
|
|
6
|
+
EditMode: boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RecommendationItemDetailsComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RecommendationItemDetailsComponent, "gen-recommendationitem-form-details", never, { "record": { "alias": "record"; "required": false; }; "EditMode": { "alias": "EditMode"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
10
|
+
export declare function LoadRecommendationItemDetailsComponent(): 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/RecommendationItem/sections/details.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;;AAEzE,qBA8Da,kCAAmC,SAAQ,wBAAwB;IAC1D,MAAM,EAAG,wBAAwB,CAAC;IAClC,QAAQ,EAAE,OAAO,CAAS;yCAFnC,kCAAkC;2CAAlC,kCAAkC;CAG9C;AAED,wBAAgB,sCAAsC,SAErD"}
|